OpenVZ Forum


Home » General » Support » VE Start Fails
VE Start Fails [message #35276] Sat, 14 March 2009 21:08 Go to next message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
I have an Ubuntu 8.04 VE template that I created on an Ubuntu 8.04 host. It worked just fine on that host. Now, I have moved it to a RHEL 4 host and when I vzctl start it it claims to start but does not. It seems to fail silently.

$ sudo vzctl --verbose start 106
Starting VE ...
VE is unmounted
VE is mounted
Adding IP address(es): XX.XX.XX.XX
Running VE script: /etc/vz/dists/scripts/debian-add_ip.sh
Setting CPU units: 11430
Configure meminfo: 351282
Set hostname: xxx.xxx.com
Running VE script: /etc/vz/dists/scripts/debian-set_hostname.sh
Running VE script: /etc/vz/dists/scripts/set_dns.sh
File resolv.conf was modified
VE start in progress...


dmesg only shows:
VPS: 106: started
VPS: 106: stopped


I have been looking around for troubleshooting advice but have only come accross suggestions to check dmesg and launch with -v which haven't revealed a whole lot. Other logfiles dont appear to have much related information.

Anyone have a suggestion of what else I can check?
Re: VE Start Fails [message #35281 is a reply to message #35276] Sun, 15 March 2009 13:54 Go to previous messageGo to next message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
Comparing the Ubuntu 8.04 template I made with the official one, that does boot, I see that I don't have an inittab. Is it possible that I am using an older version of OpenVZ or vzctl that doesnt support the non init compatible boot process in recent Ubuntus?


These are the versions I am using:
vzctl-3.0.18-1
ovzkernel-enterprise-2.6.9-023stab044.4
vzquota-3.0.9-1
vzctl-lib-3.0.18-1
vzdump-1.0-2
Re: VE Start Fails [message #35299 is a reply to message #35281] Mon, 16 March 2009 14:16 Go to previous messageGo to next message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
I have additionally noticed that the stock Ubuntu 8.04 template does not fully start. It starts and shows up when I do a vzlist. However, when I enter the VE it doesn't appear to have made it through the boot process. Nothing is present in the VE logs.

When I did a 'dpkg -l' I get the following error:
dpkg-query: cannot scan updates directory `/var/lib/dpkg/updates/': Unknown error 530


Which apparently is related to an incompatability between newer glibcs (which my VEs probably have) and the kernel I am using:
Linux test 2.6.9-023stab044.4-enterprise #1 SMP Mon May 28 23:32:20 MSD 2007 i686 GNU/Linux


http://www.nabble.com/glibc-2.7-3-MIGRATED-to-testing-causes -system-to-stop-starting-new-programs-td14233678.html

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454638


There is a newer kernel which I have yet to try, though their release notes don't mention glibc or O_CLOEXEC. Does anyone know if this issue was resolved in the more recent RHEL 4 kernels?

If I can I will try the newer kernel, but I am assuming that a newer RHEL should work correctly. Has anyone experienced this?

Austin
Re: VE Start Fails [message #35302 is a reply to message #35299] Mon, 16 March 2009 15:34 Go to previous messageGo to next message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
Seems the issue mentioned above corresponded to this bug:

http://bugzilla.openvz.org/show_bug.cgi?id=762

I will have to try the latest kernel.

Austin
Re: VE Start Fails [message #35305 is a reply to message #35302] Tue, 17 March 2009 01:33 Go to previous messageGo to next message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
Since everyone was on the edge of their seats ... I figured I would report back and say that upgrading my kernel on my RHEL 4 host made the Ubuntu 8.04 template boot correctly.

The template I created still doesn't work, but now I have made some forward progress and hopefully can get that last bit worked out.

Austin
icon14.gif  Re: VE Start Fails [message #35306 is a reply to message #35305] Tue, 17 March 2009 01:40 Go to previous message
godber is currently offline  godber
Messages: 6
Registered: March 2009
Junior Member
Lastly, as I suspected, I had to install sysvinit to replace the newer ubuntu upstart init process in my template and it booted correctly.

Austin
Previous Topic: See daemon startup messages?
Next Topic: Sharing between VPS
Goto Forum:
  


Current Time: Tue Aug 20 15:12:04 GMT 2024

Total time taken to generate the page: 0.03265 seconds