Hi<BR><BR>I am really not sure if this is related but I had a case sometime ago with a server that rebooted really reguarly and the problem was the nic that was faulty causing a kernel panic, but in these cases when there is really not much to go on from the logs <BR><BR>For your possible deadlocks you could add into smb.conf strict locking = no<BR><BR>Regards<BR>Per Qvindesland<BR>E-mail: <A class=normal-link onclick="GO.email.showAddressMenu(event, 'per@norhex.com','');" href="http://webmail.norhex.com/#">per@norhex.com</A><BR><A class=normal-link href="http://www.linkedin.com/in/perqvindesland" target=_blank>http://www.linkedin.com/in/perqvindesland</A><BR>
<BLOCKQUOTE style="BORDER-BOTTOM: 0px; BORDER-LEFT: #22437f 2px solid; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px; PADDING-TOP: 0px"><FONT size=2 face=verdana>--- Original message follows ---<BR><B>Subject: </B>[CentOS] My server reboots every hour! Help please!<BR><B>From:  </B>Marko Vojinovic <vvmarko@gmail.com><BR><B>To: </B>"CentOS mailing list" <CentOS@centos.org><BR><B>Date: </B>15-07-2009 14:16<BR></FONT><BR><BR>I have a machine here that resets itself every one hour (without my<BR>intention, of course):<BR><BR># cat /var/log/messages | grep "sith kernel: Linux version 2.6.18-128.1.16.el5"<BR>Jul 14 22:29:41 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 14 23:30:09 sith kernel: Linux version
2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 00:30:36 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 01:31:04 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 02:31:31 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 03:32:01 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 04:32:30 sith kernel: Linux version
2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 05:32:58 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 06:33:26 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 07:33:56 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 08:34:21 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 09:34:52 sith kernel: Linux version
2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 10:38:48 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 11:35:47 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 12:36:17 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR>Jul 15 13:36:46 sith kernel: Linux version 2.6.18-128.1.16.el5<BR>(mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat<BR>4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009<BR><BR>The machine is supposed to be up 24/7 and after each reset the system<BR>reboots again, and
works normally only to reset again one hour later.<BR>However, the only unusual thing I am able to recognize in the logs is<BR>winbind daemon whining about something I don't understand:<BR><BR># tail -f /var/log/messages<BR>Jul 15 13:47:39 sith winbindd[3353]: [2009/07/15 13:47:39, 0]<BR>nsswitch/idmap.c:idmap_alloc_init(820)<BR>Jul 15 13:47:39 sith winbindd[3353]: ERROR: Initialization failed<BR>for alloc backend, deferred!<BR>Jul 15 13:47:39 sith smbd[3373]: [2009/07/15 13:47:39, 0]<BR>auth/auth_util.c:create_builtin_users(810)<BR>Jul 15 13:47:39 sith smbd[3373]: create_builtin_users: Failed to create Users<BR>Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]<BR>nsswitch/winbindd_passdb.c:sid_to_name(126)<BR>Jul 15 13:47:39 sith winbindd[2927]: Possible deadlock: Trying to<BR>lookup SID S-1-22-1-99 with passdb backend<BR>Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]<BR>nsswitch/winbindd_passdb.c:sid_to_name(126)<BR>Jul 15 13:47:39 sith winbindd[2927]:
Possible deadlock: Trying to<BR>lookup SID S-1-1-0 with passdb backend<BR>Jul 15 13:47:39 sith winbindd[2927]: [2009/07/15 13:47:39, 0]<BR>nsswitch/winbindd_passdb.c:sid_to_name(126)<BR>Jul 15 13:47:39 sith winbindd[2927]: Possible deadlock: Trying to<BR>lookup SID S-1-5-2 with passdb backend<BR><BR>Nevertheless, samba server seems to be running ok, so I am not sure<BR>this is related to reboots, and there is nothing else suspicious in<BR>the logs AFAICT.<BR><BR>How do I troubleshoot these restarts? I suspected hardware failure<BR>(power supply, cooling fans, etc.) but somehow the restarts happen way<BR>too periodically, so I have second thoughts on software as well.<BR>CentOS 5.3, fully updated.<BR><BR>Btw, I don't have physical access to the machine until September, so<BR>diagnosing hardware is pretty limited atm. Only remote ssh available.<BR><BR>I would really appreciate any advice on this!<BR><BR>Best, :-)<BR>Marko<BR>_______________________________________________<BR>CentOS
mailing list<BR>CentOS@centos.org<BR>http://lists.centos.org/mailman/listinfo/centos</BLOCKQUOTE>