Issue 615 - LDAP database corrupyion
Summary: LDAP database corrupyion
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-04 22:00 UTC by tajeshwar singh
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tajeshwar singh 2000-07-04 22:00:10 UTC

We are running Openldap 1.2.7.2 for authentication of users accessing our dialin
users and for the mail service.
we have a primary and secondary ldapserver with replication running between
them.
yesterday there was a problem with the slurpd.therefore to isolate the problem,
we ran the slurpd and slapd daemon in debugging mode with the following syntax:

/usr/sbin/slapd -f /etc/openldap/slapd.conf -d 68 ( on primary and secondary
servers)
/usr/sbin/slurpd -f /etc/openldap/slapd.conf -d 68 (on primary server)
the ldapsearch on both the servers yielded the result as desired.on exiting
the debugging mode for the slurpd by pressing:
cntl+c,
the slurpd replication process was stopped.similarly the slapd daemon was stopped.

we then tried to run the ldap daemon by running:
/etc/rc.d/init.d/ldap start
the slapd and the slurp daemons started and were confirmed by :
ps -ef | grep slapd
ps -ef | grep slurpd
however now the ldapsearch gave no result nor any errors.
i suspected ldap database corruption.
on checking the ldap database directory, there were only 3 files and no ldi2entry.dbb,objectclass.dbb
etc.
also the secondary server also lacked the files as mentioned.
we had to manually create the database.
however we are unable to find any plausible explanation for the above incident.

since we are running an isp with a user database of over 30,000 users, we cannot
afford to have this failure in future.
i d require any help on the above incident ASAP.
also note that the access to the servers is highly restricted and no one could
havedeleted the database.
thanks in advance to all those who can help 
and regards
tajeshwar singh
  
Free Web Mail for Notes Professionals http://www.dominomail.com
Comment 1 Kurt Zeilenga 2000-07-05 17:57:06 UTC
At 10:03 PM 7/4/00 +0000, tsingh@dominomail.com wrote:


>We are running Openldap 1.2.7.2 for authentication of users accessing our dialin
>users and for the mail service.


First, you should consider updating to 1.2.11, the latest stable release.

Next, you should check your configuration.  If database files are not being
created, it's likely you have a permissions or similar problem. 

If you have further software use questions, please take them to the software
mailing list.

        Kurt

Comment 2 Kurt Zeilenga 2000-07-06 12:38:26 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:11 UTC
redirected