[CentOS] My server reboots every hour! Help please!

JohnS

jses27 at gmail.com
Wed Jul 15 15:21:14 UTC 2009


On Wed, 2009-07-15 at 13:16 +0100, Marko Vojinovic wrote:

> 
> The machine is supposed to be up 24/7 and after each reset the system
> reboots again, and works normally only to reset again one hour later.
> However, the only unusual thing I am able to recognize in the logs is
> winbind daemon whining about something I don't understand:
> 
> # tail -f /var/log/messages
> Jul 15 13:47:39 sith winbindd[3353]: [2009/07/15 13:47:39, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Jul 15 13:47:39 sith winbindd[3353]:   ERROR: Initialization failed
> for alloc backend, deferred!
> Jul 15 13:47:39 sith smbd[3373]: [2009/07/15 13:47:39, 0]
> auth/auth_util.c:create_builtin_users(810)
> Jul 15 13:47:39 sith smbd[3373]:   create_builtin_users: Failed to create Users
> Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]
> nsswitch/winbindd_passdb.c:sid_to_name(126)
> Jul 15 13:47:39 sith winbindd[2927]:   Possible deadlock: Trying to
> lookup SID S-1-22-1-99 with passdb backend
> Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]
> nsswitch/winbindd_passdb.c:sid_to_name(126)
> Jul 15 13:47:39 sith winbindd[2927]:   Possible deadlock: Trying to
> lookup SID S-1-1-0 with passdb backend
> Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]
> nsswitch/winbindd_passdb.c:sid_to_name(126)
> Jul 15 13:47:39 sith winbindd[2927]:   Possible deadlock: Trying to
> lookup SID S-1-5-2 with passdb backend
> 
> Nevertheless, samba server seems to be running ok, so I am not sure
> this is related to reboots, and there is nothing else suspicious in
> the logs AFAICT.
> 
---
Almost positive the winbind and samba errors are not related to the
reboots.

Looks like you had samba configured for LDAP type auth then switched to
user auth and winbind is complaining about lookups. Thus if that is that
case turn off winbindd.

John




More information about the CentOS mailing list