Buchan Milne
2010-05-06 20:41:58 UTC
I was playing with back-config on my laptop, and trying to get something
working that required some investigation of what was happening server-side. I
noticed that my usual logging (of "stats sync") seemed to have stopped
working.
After changing olcLogLevel a few times, I couldn't get behaviour consistent
with the slapd-config man page. So, I switched back to my previous slapd.conf,
and had the same problem.
Investigating, it looks like my last logging of "stats" was around:
Apr 27 14:36:42 tiger slapd[13031]: conn=185639 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
....
Apr 27 14:37:03 tiger slapd[13031]: conn=81471 fd=79 closed (slapd shutdown)
Apr 27 14:37:04 tiger slapd[13031]: slapd shutdown: waiting for 0
operations/tasks to finish
Apr 27 14:37:05 tiger slapd[13031]: slapd stopped.
Apr 27 14:37:23 tiger slapd[30234]: @(#) $OpenLDAP: slapd 2.4.22 (Apr 27 2010
13:36:26) $
^***@tiger.ranger.dnsalias.com:/home/bgmilne/rpm/BUILD/openldap-2.4.22/servers/slapd
Apr 27 14:37:24 tiger slapd[30236]: slapd starting
May 6 21:01:01 tiger slapd[15103]: slapd starting
[***@tiger ~]# date -d@`rpm -q --qf "%{INSTALLTIME}\n" openldap-servers`
Tue Apr 27 14:37:15 WAT 2010
[***@tiger ~]# zgrep openldap-servers /var/log/rpmpkgs*
/var/log/rpmpkgs:openldap-servers-2.4.22-0mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.1.gz:openldap-servers-2.4.22-0mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.2.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.3.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.4.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
[***@tiger ~]# ls -lrt /var/log/rpmpkgs*
-rw-r--r-- 1 root root 29461 2010-04-11 04:02 /var/log/rpmpkgs.4.gz
-rw-r--r-- 1 root root 29443 2010-04-18 04:02 /var/log/rpmpkgs.3.gz
-rw-r--r-- 1 root root 29507 2010-04-25 07:24 /var/log/rpmpkgs.2.gz
-rw-r--r-- 1 root root 29512 2010-05-03 20:18 /var/log/rpmpkgs.1.gz
-rw-r--r-- 1 root root 148518 2010-05-06 04:06 /var/log/rpmpkgs
[***@tiger ~]#
It looks pretty clear that 2.4.21 was working, 2.4.22 isn't.
Regards,
Buchan
working that required some investigation of what was happening server-side. I
noticed that my usual logging (of "stats sync") seemed to have stopped
working.
After changing olcLogLevel a few times, I couldn't get behaviour consistent
with the slapd-config man page. So, I switched back to my previous slapd.conf,
and had the same problem.
Investigating, it looks like my last logging of "stats" was around:
Apr 27 14:36:42 tiger slapd[13031]: conn=185639 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
....
Apr 27 14:37:03 tiger slapd[13031]: conn=81471 fd=79 closed (slapd shutdown)
Apr 27 14:37:04 tiger slapd[13031]: slapd shutdown: waiting for 0
operations/tasks to finish
Apr 27 14:37:05 tiger slapd[13031]: slapd stopped.
Apr 27 14:37:23 tiger slapd[30234]: @(#) $OpenLDAP: slapd 2.4.22 (Apr 27 2010
13:36:26) $
^***@tiger.ranger.dnsalias.com:/home/bgmilne/rpm/BUILD/openldap-2.4.22/servers/slapd
Apr 27 14:37:24 tiger slapd[30236]: slapd starting
May 6 21:01:01 tiger slapd[15103]: slapd starting
[***@tiger ~]# date -d@`rpm -q --qf "%{INSTALLTIME}\n" openldap-servers`
Tue Apr 27 14:37:15 WAT 2010
[***@tiger ~]# zgrep openldap-servers /var/log/rpmpkgs*
/var/log/rpmpkgs:openldap-servers-2.4.22-0mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.1.gz:openldap-servers-2.4.22-0mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.2.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.3.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
/var/log/rpmpkgs.4.gz:openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm
[***@tiger ~]# ls -lrt /var/log/rpmpkgs*
-rw-r--r-- 1 root root 29461 2010-04-11 04:02 /var/log/rpmpkgs.4.gz
-rw-r--r-- 1 root root 29443 2010-04-18 04:02 /var/log/rpmpkgs.3.gz
-rw-r--r-- 1 root root 29507 2010-04-25 07:24 /var/log/rpmpkgs.2.gz
-rw-r--r-- 1 root root 29512 2010-05-03 20:18 /var/log/rpmpkgs.1.gz
-rw-r--r-- 1 root root 148518 2010-05-06 04:06 /var/log/rpmpkgs
[***@tiger ~]#
It looks pretty clear that 2.4.21 was working, 2.4.22 isn't.
Regards,
Buchan