On Wed, Jul 15, 2009 at 1:23 PM, Kwan Lowekwan.lowe@gmail.com wrote:
On Wed, Jul 15, 2009 at 8:16 AM, Marko Vojinovic vvmarko@gmail.com wrote:
I have a machine here that resets itself every one hour (without my intention, of course):
# cat /var/log/messages | grep "sith kernel: Linux version 2.6.18-128.1.16.el5" Jul 14 22:29:41 sith kernel: Linux version 2.6.18-128.1.16.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Tue Jun 30 06:10:28 EDT 2009 Jul 14 23:30:09 sith kernel: Linux version 2.6.18-128.1.16.el5
Check the root crontab and the cron.hourly directory for a scheduled job??
Nothing suspicious there:
# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly
# cd /etc/cron.hourly/ # ll -a total 40 drwxr-xr-x 2 root root 4096 Apr 1 14:04 . drwxr-xr-x 115 root root 12288 Jul 15 14:04 .. -rwxr-xr-x 1 root root 118 Feb 26 23:01 inn-cron-nntpsend -rwxr-xr-x 1 root root 118 Feb 26 23:01 inn-cron-rnews
# chkconfig innd --list innd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
I should also note that resets are abrupt, the system doesn't seem to go through shutdown phase. Thanks for the suggestion, though!
Best, :-) Marko