I have a Unix server that has started rebooting every few minutes. I tried to trace the source of the problem by logging the process tree at the time reboot is called, as described by this question's answer.
However, I don't understand where to look next.
The log contains these lines (among many others):
root 1 0 0 16:49 ? 00:00:00 /sbin/init root 2894 1 0 16:53 ? 00:00:00 /bin/bash /sbin/shutdown -r now Control-Alt-Delete pressed
To me, it looks like the server's startup process is calling a reboot with
shutdown -r. In the system log, all I see is this line:
sshd: Received signal 15; terminating.
Also, this is an Amazon Web Service Unix instance that only allows connections from my IP address. It's also protected by a private key.
What are the next steps I can take to find the source of the problem?