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@cjntech.co.nz
---------------------------------------------------------
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@cjntech.co.nz > ---------------------------------------------------------
Gerald (Jerry) Carter
2003-Jun-06 13:16 UTC
[Samba] Panic action ignored by winbind during crash
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 28 May 2003, Paul Eggleton wrote:> 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.This is probably a bug then, but for the meantime just run 'winwbindd -i' in gdb. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+4JQ/IR7qMdg1EfYRAsDGAKC5MO0j1DUBfror/7vWDdn5trUK5wCggt8z DBhmqMqWWT2eVIrsHlEbPkI=f+We -----END PGP SIGNATURE-----