[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP power failure crash
On Thu, 2005-06-30 at 23:18 +0200, Enric Font wrote:
> > > Hi!
> > >
> > > I've my OpenLDAP running on my debian sarge server
> > and
> > > I've a little problem.
> > >
> > > I can modify the database, but when openldap
> > crashes
> > > (for example due to a power failure), when it
> > > restarts, the database is the same that some
> > months
> > > ago!
> > >
> > > Anyone know what happens? How can I fix it?
> > >
> >
> > Please could you provide more information on the
> > OpenLDAP version and
> > backend type? Also send relevant configuration
> > parameters from your
> > slapd.conf file.
>
>
> Sorry
>
> the version is: Version: 2.1.30-3
> what's backend type?
>
> Here is my sldap.conf file:
> ################3
> allow bind_v2
>
> include /etc/ldap/schema/core.schema
> include /etc/ldap/schema/cosine.schema
> include /etc/ldap/schema/nis.schema
> include /etc/ldap/schema/inetorgperson.schema
> include /etc/ldap/schema/pureftpd.schema
> include /etc/ldap/schema/postfix.schema
>
> schemacheck on
>
> pidfile /var/run/slapd/slapd.pid
>
> argsfile /var/run/slapd.args
>
> loglevel 0
>
> modulepath /usr/lib/ldap
> moduleload back_bdb
>
> backend bdb
>
> database bdb
>
>
> suffix "dc=xarxa3,dc=org"
>
>
> rootdn "cn=admin,dc=xarxa3,dc=org"
> rootpw XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> directory "/var/lib/ldap"
>
> index objectClass eq
>
> lastmod on
>
> access to attribute=userPassword
> by dn="cn=admin,dc=xarxa3,dc=org" write
> by anonymous auth
> by self write
> by * none
>
> access to dn.base="" by * read
>
> access to *
> by dn="cn=admin,dc=xarxa3,dc=org" write
> by * read
>
> ##############3
>
What version of Berkeley DB are you using?
Your version of OpenLDAP is pretty old; you should definitely upgrade to
at least 2.2.26.
If you intentionaly stop OpenLDAP after some modifications, do you loose
these changed as well?
Sam