Discussion:
Significant logging change(regression?) between 2.4.21 and 2.4.22?
Buchan Milne
2010-05-06 20:41:58 UTC
Permalink
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
Quanah Gibson-Mount
2010-05-07 03:37:48 UTC
Permalink
--On Thursday, May 06, 2010 9:41 PM +0100 Buchan Milne
Post by Buchan Milne
It looks pretty clear that 2.4.21 was working, 2.4.22 isn't.
File an ITS?

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount
2010-05-07 05:16:31 UTC
Permalink
--On Thursday, May 06, 2010 8:37 PM -0700 Quanah Gibson-Mount
Post by Quanah Gibson-Mount
--On Thursday, May 06, 2010 9:41 PM +0100 Buchan Milne
Post by Buchan Milne
It looks pretty clear that 2.4.21 was working, 2.4.22 isn't.
File an ITS?
I cannot duplicate this behavior with my 2.4.22 build. I had logging of
"None Sync", changed it to "stats sync" and it is logging correctly.

--Quanah



--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Buchan Milne
2010-05-07 08:22:24 UTC
Permalink
Post by Quanah Gibson-Mount
--On Thursday, May 06, 2010 8:37 PM -0700 Quanah Gibson-Mount
Post by Quanah Gibson-Mount
--On Thursday, May 06, 2010 9:41 PM +0100 Buchan Milne
Post by Buchan Milne
It looks pretty clear that 2.4.21 was working, 2.4.22 isn't.
File an ITS?
I cannot duplicate this behavior with my 2.4.22 build. I had logging of
"None Sync", changed it to "stats sync" and it is logging correctly.
It looks like a non-obvious syslog configuration change caused this, which I
still haven't found. However, the weird part is the slapd startup message
makes it, but the "stats" logs don't ...

Thanks for confirming that it's not looking like an OpenLDAP bug ...

Regards,
Buchan

Loading...