Date: Mon, 30 Sep 2013 23:28:49 +0800 From: Julian Elischer <julian@freebsd.org> To: Jason Hellenthal <jhellenthal@dataix.net> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, =?UTF-8?B?RW1yZSDDh2FtYWxhbg==?= <mailist@yandex.com>, FreeBSD quest <freebsd-questions@freebsd.org> Subject: Re: cause of reboot Message-ID: <524998B1.60706@freebsd.org> In-Reply-To: <97A9E80E-15D2-48BA-AD6A-B580157BECAE@dataix.net> References: <519911380551058@web20j.yandex.ru> <96AD54CD-4EA8-46A4-A0C1-36B7E6F0B52E@dataix.net> <80361380553221@web8g.yandex.ru> <21CB70DD-F2F1-43F4-9730-FB12C46317B0@dataix.net> <97A9E80E-15D2-48BA-AD6A-B580157BECAE@dataix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/30/13 11:08 PM, Jason Hellenthal wrote: > Also . . . grep -ri . . . > > > > On Sep 30, 2013, at 11:06, Jason Hellenthal <jhellenthal@dataix.net> wrote: > > And /etc/ ? > And /var/cron ? > > > > On Sep 30, 2013, at 11:00, Emre Çamalan <mailist@yandex.com> wrote: > > Yes I checked also it , such as ; > "grep -i 'reboot' /root/scripts/* -R" > "grep -i 'halt' /root/scripts/* -R" > "grep -i 'shutdown' /root/scripts/* -R" > > > 30.09.2013, 17:33, "Jason Hellenthal" <jhellenthal@dataix.net>: >> Did you check for the command reboot in all of the periodic scripts and cron jobs as well as the command shutdown ? >> >> On Sep 30, 2013, at 10:24, Emre Çamalan <mailist@yandex.com> wrote: >> >> Hi, >> my server reboots every night and same o'clock last 10 days. But this machine's uptime was 96days. >> >> Suddenly reboot this machine and now this continue every night again and again. >> >> I didn't find any reason and I didn't change anything else. >> >> I looked "last" command, >> reboot ~ ~ AM 03.15 ~ >> >> I checked "dmesg -a" , it has only generic things no other things. >> >> I checked "/var/log/messages" >> >> I wrote script and checked swapinfo , cpu and memory but all of them was normal before reboot. >> >> I checked crontab and scripts. >> >> I checked "crashinfo" but no dump from kernel. >> >> I didn't find any useful info from this commands. >> >> I checked "praudit /var/audir/20130930..CrashRecovery" >> and I didn't understand very well from this file but I think this means my machine crash and reboot isn't it?? >> >> And How can I understand what is the reason of rebooting my FreeBSD8.3 server. >> >> Please help I need to find cause of reboot.. >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" Firstly, does this machine have the kernel debugger installed? if not then a kernel page fault will look like a reboot. if you know when this is going to occur, then I suggest that you set up some logging of every new process run, to a second machine, or possibly you might just ssh int the machine and leave 'top' running when it reboots you shoud get a snapshot of what's going on. you could just rename 'reboot' and see if it still happens. If not, then replace reboot (and friends) with a script that reports who called it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?524998B1.60706>