[Samba] Panic action ignored by winbind during crash

Paul Eggleton paule at cjntech.co.nz
Wed May 28 20:44:27 GMT 2003


In my problem description should probably have mentioned the
following... I am running Samba 3.0beta23 with ACL support on Red Hat
8.0 (custom 2.4.20 kernel).

Cheers,
Paul


Paul Eggleton wrote on Wednesday, 28 May 2003 3:18 p.m.:
> Hi there,
> 
> I am trying to debug a problem with winbind crashing, but the "panic 
> action" I have set in smb.conf doesn't seem to be working. First, the 
> message I get in the log.winbindd file is as follows:
> 
> ------ snip ------
> [2003/05/27 17:05:01, 1] libads/ldap_utils.c:ads_do_search_retry(76)
>   ads reopen failed after error Success
> winbindd: ../../../libraries/libldap/getvalues.c:36: ldap_get_values: 
> Assertion `entry != ((void *)0)' failed.
> ------ snip ------
> 
> I have the panic action set as follows:
> 
>         panic action = /bin/sh /usr/local/bin/cjnwbcrash.sh
> 
> (I have tried with quotes, the result is the same - the script is not 
> executed).
> 
> The reason I am using a script is that I need it to do two things when

> a crash occurs: a) Email me and then sleep (so I can get in and run 
> gdb) b) Don't run sleep outside working hours as I won't be here to 
> debug it
> 
> I also have a cron job which checks if winbind is running every 5 
> minutes and starts it if it isn't.
> 
> Any hints?
> 
> Cheers,
> Paul
> 
> ---------------------------------------------------------
> Paul Eggleton                  Ph:    +64-9-4154790
> Software Developer             Fax:   +64-9-4154791
> CJN Technologies Ltd.          DDI:   +64-9-4154795
> http://www.cjntech.co.nz       Email: paule at cjntech.co.nz
> ---------------------------------------------------------



More information about the samba mailing list