Proxmox host reboots at the same time every week.

Oct 21, 2024
2
0
1
I have an issue with one of my Proxmox hosts, it will do a reboot at 17:14 every Sunday.
I can see --reboot-- in the logs, but I have no scheduled tasks setup for it to reboot.

I thought it could have been a hardware issue, but the seemingly weekly schedule for the reboot has totally thrown me.

Has anyone else had this issue?
 
Hello,

Could you please post here the 2 minutes (or 100 last lines, if 2 minutes contains less lines) before the `-- Reboot` line in the journal? Is this your entire cluster? Just one host? If this is part of a cluster, do you have HA mode enabled in any VM running on this host?
 
Hi,
Yeah, it's part of a 4 host cluster with 6 VMs running on it but no HA.

the only thing on the logs before it is this

Oct 20 15:35:52 VMH-Prox-Two postfix/qmgr[1892]: 3D606580F47: from=<>, size=2666, nrcpt=1 (queue active)
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: error: open database /etc/aliases.db: No such file or directory
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: warning: hash:/etc/aliases: lookup of 'root' failed
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: 3D606580F47: to=<root@VMH-Prox-Two.domain.local>, relay=local, delay=386960, delays=386960/0.01/0/0.02, dsn=4.3.0, status=deferred (alias database unavailable)
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: error: open database /etc/aliases.db: No such file or directory
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: warning: hash:/etc/aliases: lookup of 'root' failed
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: 2EFDF580E65: to=<root@VMH-Prox-Two.domain.local>, relay=local, delay=42545, delays=42545/0.01/0/0.02, dsn=4.3.0, status=deferred (alias database unavailable)
-- Reboot --
Oct 20 17:14:32 VMH-Prox-Two kernel: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) ()
Oct 20 17:14:32 VMH-Prox-Two kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-2-pve root=/dev/mapper/pve-root ro quiet
Oct 20 17:14:32 VMH-Prox-Two kernel: KERNEL supported cpus:
 
Have you run any script from the internet? Any installation "helper"?
 
Please note that Proxmox is trying to email you about something, but is not capable to because you don't have a forwarding address for the root user.
Oct 20 15:35:52 VMH-Prox-Two postfix/qmgr[1892]: 3D606580F47: from=<>, size=2666, nrcpt=1 (queue active)
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: error: open database /etc/aliases.db: No such file or directory
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: warning: hash:/etc/aliases: lookup of 'root' failed
Oct 20 15:35:52 VMH-Prox-Two postfix/local[3180955]: 3D606580F47: to=<root@VMH-Prox-Two.domain.local>, relay=local, delay=386960, delays=386960/0.01/0/0.02, dsn=4.3.0, status=deferred (alias database unavailable)
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: error: open database /etc/aliases.db: No such file or directory
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: warning: hash:/etc/aliases: lookup of 'root' failed
Oct 20 15:55:52 VMH-Prox-Two postfix/local[3195546]: 2EFDF580E65: to=<root@VMH-Prox-Two.domain.local>, relay=local, delay=42545, delays=42545/0.01/0/0.02, dsn=4.3.0, status=deferred (alias database unavailable)
-- Reboot --
Oct 20 17:14:32 VMH-Prox-Two kernel: Linux version 6.8.12-2-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) ()
Oct 20 17:14:32 VMH-Prox-Two kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-2-pve root=/dev/mapper/pve-root ro quiet
Oct 20 17:14:32 VMH-Prox-Two kernel: KERNEL supported cpus:
Did you remove (many) lines before --Reboot --? There is more than an hour before the restart and I find it strange that you Proxmox does not log anything for half an hour in between email attempts. Please show the actual log to determine if it is a graceful shutdown/reboot.

From what I can see here, it is indistinguishable from pressing the reset button on the computer. It could be a (wall) power issue (like another device that causes a power dip) or cleaning people bumping the reset button? Or a weekly delivery truck vibrations that cause a short disconnect? Do you start the server yourself or does is start automatically (when power comes back)? Does your server have a UPS? What kind of environment is it in (and how many nodes)?