[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#659667: debian-edu-config: ldapdump.sh stops slapd at night and fail to start it



severity 659667 important
thanks

Lowering severity to allow d-e-config to propage to testing as most of
the other features should be working already.

Looking in /var/log/slbackup/run_scripts.log I see entries like this:

feb. 03 07:35:29 - Start running executables in /etc/slbackup/pre.d.
feb. 03 07:35:41 - Successfully run /etc/slbackup/pre.d/ldapdump.sh: 
Stopping OpenLDAP: slapd failed!
Starting OpenLDAP: slapd.
Successfully dumped the LDAP-database to /var/backups/slapd/ldapdump.ldif.

feb. 03 07:35:41 - Finished running executables in /etc/slbackup/pre.d.
feb. 03 07:37:03 - Start running executables in /etc/slbackup/post.d.
feb. 03 07:37:03 - Finished running executables in /etc/slbackup/post.d.
feb. 04 06:48:42 - Start running executables in /etc/slbackup/pre.d.
feb. 04 06:49:01 - Successfully run /etc/slbackup/pre.d/ldapdump.sh: 
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
Successfully dumped the LDAP-database to /var/backups/slapd/ldapdump.ldif.

feb. 04 06:49:01 - Finished running executables in /etc/slbackup/pre.d.
feb. 04 06:49:15 - Start running executables in /etc/slbackup/post.d.
feb. 04 06:49:15 - Finished running executables in /etc/slbackup/post.d.
feb. 05 07:17:04 - Start running executables in /etc/slbackup/pre.d.
feb. 05 07:17:31 - Successfully run /etc/slbackup/pre.d/ldapdump.sh: 
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
Successfully dumped the LDAP-database to /var/backups/slapd/ldapdump.ldif.

feb. 05 07:17:31 - Finished running executables in /etc/slbackup/pre.d.
feb. 05 07:17:44 - Start running executables in /etc/slbackup/post.d.
feb. 05 07:17:44 - Finished running executables in /etc/slbackup/post.d.
feb. 06 07:24:31 - Start running executables in /etc/slbackup/pre.d.
feb. 06 07:24:45 - Successfully run /etc/slbackup/pre.d/ldapdump.sh: 
Stopping OpenLDAP: slapd failed!
Starting OpenLDAP: slapd.
Successfully dumped the LDAP-database to /var/backups/slapd/ldapdump.ldif.

I suspect slapd fail to restart only when stopping it failed, but have
not yet verified it.  If this is true, the problem only happen some
nights, which match what I am seeing.  Some race issue?
-- 
Happy hacking
Petter Reinholdtsen



Reply to: