[K12OSN] Re: smbd dead but pid file exists

Krsnendu Dasa krsnendu108 at gmail.com
Thu Nov 9 16:13:21 UTC 2006


I found that I couldn't use the .gz files but if I extracted them ldif file
inside and use that it works.

On 18/10/06, John Lucas <mrjohnlucas at gmail.com> wrote:
>
> The error message (No DB_CONFIG file ...) may result from an ownership
> problem
> with /var/lib/ldap and/or the files within it. The directory or certain
> key
> files may belong to "root" when they should belong to "ldap". What happens
> is
> that slapd can't write the index files or update the db files. Try:
>
>         chown -R ldap.ldap /var/lib/ldap
>
> Then restart slapd.
>
> Are you certain that the LDIF files are corrupt? Have you manually
> inspected
> them? What form does the corruption take?
>
> On Wednesday 18 October 2006 01:38, you wrote:
> > It seems that all my automatically created ldif backup files are
> corrupted.
> > I have never been able to back up from them. I have only ever been able
> to
> > back up from the ldif file I manually created when I backed up my old
> > server before transfering to the current one. Why would that be?
> >
> > On 18/10/06, Krsnendu Dasa <krsnendu108 at gmail.com> wrote:
> > > I tried to reinstall smbldap and slapadd my backup but I got this
> error
> > > message and I can't start ldap now.
> > >
> > > [root at k12ltsp ldap]# slapadd -l /var/smbldap-backups/smbldap.ldif.4.gz
> > > bdb_db_open: Warning - No DB_CONFIG file found in directory
> > > /var/lib/ldap: (2)
> > > Expect poor performance for suffix dc=harekrishna,dc=school,dc=nz.
> > > str2entry: entry -1 has no dn
> > > slapadd: could not parse entry (line=34)
> > >
> > > On 18/10/06, Krsnendu Dasa <krsnendu108 at gmail.com> wrote:
> > > > My ldif file got corrupted again. I reinstalled it using rm /
> slapadd /
> > > > chown ldap etc.
> > > > That seemed to go okay but now smb doesn't work with the above
> message.
> > > >  My windows users can't access important files.
> > > > The smb.conf file I had before was overwritten by a generic one so I
> > > > copied my original file back in its place.
> > > > I can stop and restart smb but it always reads "smbd dead but pid
> file
> > > > exists"
> > > >
> > > > What should I do?
>
> --
>         "History doesn't repeat itself; at best it rhymes."
>                         - Mark Twain
>
> | John Lucas                          MrJohnLucas at gmail.com
> |
> | St. Thomas, VI 00802                http://mrjohnlucas.googlepages.com/|
> | 18.3°N, 65°W                        AST (UTC-4)
> |
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20061110/b5bd9fdf/attachment.htm>


More information about the K12OSN mailing list