OpenVZ Forum


Home » General » Support » server restarting after syslod restart
server restarting after syslod restart [message #39241] Thu, 01 April 2010 17:20 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
We updated the kernel in three server and now server node restarting after syslod restart.

[root@localhost ~]# uname -a
Linux localhost.localdomain.com 2.6.18-164.11.1.el5.028stab068.5 #1 SMP Mon Mar 15 19:26:36 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux


Thanks
Re: server restarting after syslod restart [message #39242 is a reply to message #39241] Thu, 01 April 2010 18:31 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Can you please emphasize?

Do you mean that executing /etc/init.d/syslogd restart leads to a node reboot? Or do you mean that the message about syslog restart appears just before kernel booting text in /var/log/messages? Or do you mean something else?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: server restarting after syslod restart [message #39243 is a reply to message #39242] Thu, 01 April 2010 18:54 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Yes, server node restart. I asked same in centos forum but they asked to check openvz
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2 5537&forum=41

Thanks
Re: server restarting after syslod restart [message #39244 is a reply to message #39241] Thu, 01 April 2010 18:56 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
It always give kernel panic when we reboot server after the crash.

I have upgraded today to the latest kernel assuming it could be buggy kernel.
In server with more than 4gig ram when install
#yum install ovzkernel-PAE
or
#yum install ovzkernel-ent
it don't boot the server.
But when install the simple
#yum install ovzkernel
it work's just fine.

Thanks
Re: server restarting after syslod restart [message #39245 is a reply to message #39243] Thu, 01 April 2010 19:12 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It looks like you made a guess that it's syslogd that leads to server restart. In fact, "syslogd: restart" message is the last message that is written to the /var/log/messages before the actual restart, so I see nothing wrong with it.

And your problem now is spontaneous server restart, right?

To investigate it, we need serial console log; see http://wiki.openvz.org/Remote_console_setup


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: server restarting after syslod restart [message #39356 is a reply to message #39241] Thu, 08 April 2010 21:26 Go to previous messageGo to next message
cmrhine is currently offline  cmrhine
Messages: 2
Registered: April 2010
Junior Member
I believe I have the same issue. I suppose it could be a random occurrence, but the reboots only happen directly after syslogd restarting -- here is my log:

Apr 4 18:40:56 densvrt31 syslogd 1.4.1: restart.
Apr 4 18:40:56 densvrt31 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Apr 4 18:40:56 densvrt31 kernel: Linux version 2.6.18-164.11.1.el5.028stab068.5 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Mon Mar 15 19:26:36 MSK 2010

Apr 7 02:55:01 densvrt31 syslogd 1.4.1: restart.
Apr 7 02:55:01 densvrt31 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Apr 7 02:55:01 densvrt31 kernel: Linux version 2.6.18-164.11.1.el5.028stab068.5 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Mon Mar 15 19:26:36 MSK 2010

Apr 7 12:37:48 densvrt31 syslogd 1.4.1: restart.
Apr 7 12:37:48 densvrt31 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Apr 7 12:37:48 densvrt31 kernel: Linux version 2.6.18-164.11.1.el5.028stab068.5 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Mon Mar 15 19:26:36 MSK 2010


---Etcetera---

Anyone have any ideas? Did the kernel update fix the issue?


Christy
Re: server restarting after syslod restart [message #39357 is a reply to message #39356] Fri, 09 April 2010 02:23 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Update to the latest kernel.
2.6.18-164.15.1.el5.028stab068.9 is the latest one..

Thanks
Re: server restarting after syslod restart [message #39360 is a reply to message #39241] Fri, 09 April 2010 15:43 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
One server which was running old kernel gave same issue of restart. Now I have updated with latest kernel so lets see.

Below are the logs.


Apr 8 21:57:35 localhost5 ntpd[7153]: synchronized to 149.20.68.17, stratum 2
Apr 8 22:31:48 localhost5 kernel: printk: 3 messages suppressed.
Apr 8 22:31:48 localhost5 kernel: ip_conntrack: CT 0: table full, dropping packet.
Apr 8 22:31:56 localhost5 last message repeated 7 times
Apr 9 08:13:57 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 08:44:18 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 09:15:01 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 09:44:56 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 09:59:26 localhost5 ntpd[7153]: time reset +0.146660 s
Apr 9 10:02:53 localhost5 ntpd[7153]: synchronized to LOCAL(0), stratum 10
Apr 9 10:03:57 localhost5 ntpd[7153]: synchronized to 149.20.68.17, stratum 2
Apr 9 10:14:45 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 10:44:34 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 11:14:40 localhost5 auditd[6705]: Audit daemon rotating log files
Apr 9 11:33:04 localhost5 syslogd 1.4.1: restart.
Apr 9 11:33:04 localhost5 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Apr 9 11:33:04 localhost5 kernel: Linux version 2.6.18-164.2.1.el5.028stab066.10 (root@rhel5-64-build) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP $
Apr 9 11:33:04 localhost5 kernel: Command line: ro root=LABEL=/
Re: server restarting after syslod restart [message #39362 is a reply to message #39360] Fri, 09 April 2010 20:29 Go to previous message
cmrhine is currently offline  cmrhine
Messages: 2
Registered: April 2010
Junior Member
Kernel update didn't fix it for me, which makes sense. I have a second OpenVZ HN with identical hardware and the old kernel that does not reboot itself. It's a setting somewhere.

Very annoying.
Previous Topic: chkpnt works, resume fails, same hardware - big ram image, ideas?
Next Topic: network issue - vps stop responding intermittently
Goto Forum:
  


Current Time: Fri Nov 15 11:09:32 GMT 2024

Total time taken to generate the page: 0.03234 seconds