[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Which version of openldap is "rock solid"!

Andreas Grabner wrote:

i had (have) some troubles with my openldap-sever using version 2.3.[11|
13|17 now] on linux 2.6-smp. Slowly users get angry (my fault i should
have tested more). I read about "stable" in this Mailinglist and
thinking of swtiching back to openldap-2.2.30.

Which is the most stable version known???

Running (at this site) source-code-compiled OL 2.2.17 on a Red Hat RHAS3 2.4 kernel server; it's been running absolutely rock solidly (24x7 uptimes, month after month for more than 18 months).

It, in turn slurpd replicates to 2 rpm-installed OL 2.3.17 RHAS4 2.6 kernel servers, just installed, so I don't know if it's rock solid. However, before the 2.3.17 were 2.3.11, 14 and 16, and they've also been rock solid, up since November last, running 24x7.

BTW my problem:
Samba panics. The guys from  the Samba-Team point to "libldap and
libnss_ldap". Here the samba logs:

We run Samba 3.0.20b (rpm installed) on a dedicated RHAS4 2.6 kernel server with ldapsam going to the RHAS3 OL 2.2.17 server. The Samba server is also rock solid (uptime 81 days).

The whole site (1150+ users) is utterly dependent op the 3 OL servers noted above for LTSP, Samba, mail and much more.

[2006/01/14 11:24:15, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
  init_sam_from_ldap: Entry found for user: karls
smbd: io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)'
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(36)
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 12304 (3.0.21a)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(39)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(40)
[2006/01/14 11:24:15, 0] lib/util.c:smb_panic2(1554)
  PANIC: internal error
[2006/01/14 11:24:15, 0] lib/util.c:smb_panic2(1562)
  BACKTRACE: 47 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic2+0x1b6) [0x8201d3b]
   #1 /usr/local/samba/sbin/smbd(smb_panic+0x19) [0x8201b81]
   #2 /usr/local/samba/sbin/smbd [0x81ef6af]
   #3 /usr/local/samba/sbin/smbd [0x81ef724]
   #4 [0xffffe420]
   #5 /lib/tls/libc.so.6(abort+0x1d2) [0xb7cb7fa2]
   #6 /lib/tls/libc.so.6(__assert_fail+0x10f) [0xb7cb02df]
   #7 /usr/local/lib/liblber-2.3.so.0(ber_get_next+0xfd) [0xb7ee726d]
   #8 /usr/local/lib/libldap-2.3.so.0 [0xb7ef79e4]
   #9 /usr/local/lib/libldap-2.3.so.0 [0xb7ef76d5]
   #10 /usr/local/lib/libldap-2.3.so.0(ldap_result+0x90) [0xb7ef71c0]
   #11 /lib/libnss_ldap.so.2 [0xb78fdf8a]
   #12 /lib/libnss_ldap.so.2 [0xb78fdb7a]
   #13 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x170)
   #14 /lib/tls/libc.so.6 [0xb7d34b54]
   #15 /lib/tls/libc.so.6(initgroups+0x6b) [0xb7d34a4b]
   #16 /usr/local/samba/sbin/smbd [0x81e1bb3]
   #17 /usr/local/samba/sbin/smbd [0x81e1e7c]
   #18 /usr/local/samba/sbin/smbd(getgroups_user+0x4d) [0x81e1edd]
   #19 /usr/local/samba/sbin/smbd(pdb_default_enum_group_memberships
+0x29) [0x81e202f]
   #20 /usr/local/samba/sbin/smbd [0x81d3d7f]
   #21 /usr/local/samba/sbin/smbd [0x81c6ebe]
   #22 /usr/local/samba/sbin/smbd(pdb_enum_group_memberships+0x56)
   #23 /usr/local/samba/sbin/smbd [0x823cb40]
   #24 /usr/local/samba/sbin/smbd [0x823ced0]
   #25 /usr/local/samba/sbin/smbd(make_server_info_sam+0x12b)
   #26 /usr/local/samba/sbin/smbd [0x82387c7]
   #27 /usr/local/samba/sbin/smbd [0x8238a5b]
   #28 /usr/local/samba/sbin/smbd [0x8236324]
   #29 /usr/local/samba/sbin/smbd(_net_sam_logon+0x6eb) [0x8133db8]
   #30 /usr/local/samba/sbin/smbd [0x8131b2b]
   #31 /usr/local/samba/sbin/smbd(api_rpcTNP+0x232) [0x81719fb]
   #32 /usr/local/samba/sbin/smbd(api_pipe_request+0xff) [0x8171742]
   #33 /usr/local/samba/sbin/smbd [0x816b0f2]
   #34 /usr/local/samba/sbin/smbd [0x816b2c0]
   #35 /usr/local/samba/sbin/smbd [0x816b8a5]
   #36 /usr/local/samba/sbin/smbd [0x816baa6]
   #37 /usr/local/samba/sbin/smbd(write_to_pipe+0x105) [0x816ba1a]
   #38 /usr/local/samba/sbin/smbd(reply_pipe_write_and_X+0x13b)
   #39 /usr/local/samba/sbin/smbd(reply_write_and_X+0xa8) [0x80ad585]
   #40 /usr/local/samba/sbin/smbd [0x80de9d6]
   #41 /usr/local/samba/sbin/smbd [0x80dea86]
   #42 /usr/local/samba/sbin/smbd(process_smb+0x1eb) [0x80dedd2]
   #43 /usr/local/samba/sbin/smbd(smbd_process+0x153) [0x80dfb2d]
   #44 /usr/local/samba/sbin/smbd(main+0x854) [0x828b3cb]
   #45 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7ca3974]
   #46 /usr/local/samba/sbin/smbd [0x807e871]

I think it's far more likely to be a Linux vendor/distro problem than an OL or Samba problem. The last really unstable OL version I used was 2.2.8 on Red Hat 7.2, years ago. 2.2 became stable for me under load at around 2.2.12 - since then I've *never ever* had instability problems on Red Hat - which is the only Linux vendor/distro version I've ever used.


Tony Earnshaw
Email: tonni@barlaeus.nl