OpenVZ Forum


Home » General » Support » Creating /reboot file in container when running reboot
Creating /reboot file in container when running reboot [message #37461] Mon, 14 September 2009 10:23 Go to next message
p1rj1s is currently offline  p1rj1s
Messages: 2
Registered: September 2009
Junior Member
CentOS 5.3 minimal with vzkernel up and running. Containers are working fine, and I can reboot from hostnode with vzctl restart.

My problem is that the virtual machine does not come up when executing reboot command inside container.

I understand that there should be placed a reboot file in the container root directory when reboot command is run, and a cron job on the node should loook after this every five minutes or so, and then start the ve.

My question is how to set up the creation of this file, since I apparently have a "buggy" template where this isn't already set up.

In the documentation (http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf) page 71 the issue is adressed, but simply adding ALLOWREBOOT="yes" doesn't help me.

Kind regards
Re: Creating /reboot file in container when running reboot [message #38760 is a reply to message #37461] Sun, 24 January 2010 20:27 Go to previous messageGo to next message
deafboy is currently offline  deafboy
Messages: 1
Registered: January 2010
Junior Member

Having same problem.
Host OS - Proxmox
Guest - Arch

On other virtual system like debian, reboot in container wirks fine
Re: Creating /reboot file in container when running reboot [message #38796 is a reply to message #38760] Fri, 29 January 2010 17:25 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Please, examine /etc/cron.d/vpsreboot on the HN.
This file is mentioned in User's Guide
Previous Topic: livemigration fails with unknown inode
Next Topic: VFS: Busy inodes after unmount of sysfs
Goto Forum:
  


Current Time: Sat Jun 28 18:36:18 GMT 2025

Total time taken to generate the page: 0.02179 seconds