1

I have a debian server and last week it 'magicaly' restarted, and since then it keeps restarting at certain time, usually at 00:00am or 5:00am. So I'm trying to find out what process is causing this issue.
I checked the syslog, and /var/log/messages but find nothing about PID. My crontab is ok too, it's empty. Im using the following system.

Linux -- 3.2.0-4-686-pae #1 SMP Debian 3.2.73-2+deb7u2 i686 GNU/Linux
Debian GNU/Linux 7.9 (wheezy)


The question is: How I can find if a process rebooted my system?

Any help will be appreciated ;)

  • Is a (graceful ) shutdown/reboot triggered or a hard reset ? /var/log/messages should allow you to make such distinction. .. – HBruijn May 4 '16 at 18:18
  • @HBRuijn, probably a hard reset: At 00:50am i got this: qla2xxx [0000:05:00.1]-8038:4: Cable is unplugged... And then, at the 5:24am this occurs: Initializing cgroup subsys cpuset – Kennedy Silva May 4 '16 at 18:39
  • that's a qlogic card - is the server part of a cluster? – Sum1sAdmin May 4 '16 at 21:58
  • @Rob-d, We have two of that card, but we don't use them. Our server is a poweredgeR610 running Debian. The last reboot command return this: reboot system boot 3.2.0-4-686-pae Thu May 5 06:49 - 08:50 (02:01) – Kennedy Silva May 5 '16 at 11:53
  • does the last command tell you anything? – Sum1sAdmin May 5 '16 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.