Unable to start VM [message #37035] |
Thu, 13 August 2009 16:34 |
whatever
Messages: 142 Registered: September 2006
|
Senior Member |
|
|
we tried restoring the vps from backup. All the files were restored without any problem but we getting error.
vzctl start 190
Starting container ...
Initializing quota ...
Container is mounted
Setting CPU limit: 400
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: localhost
Unable to start init, probably incorrect template
Container start failed
Stopping container ...
Container was stopped
Container is unmounted
Thanks
|
|
|
|
Re: Unable to start VM [message #37037 is a reply to message #37035] |
Thu, 13 August 2009 17:32 |
whatever
Messages: 142 Registered: September 2006
|
Senior Member |
|
|
/vz/private/190 and /etc/sysconfig/vz-scripts were backed and restored to the same location.
Backup/restore done on the same machine.
Below is the output
[root@localhost private]# ls /vz/private/190/sbin/init
/vz/private/190/sbin/init
[root@localhost private]# file /sbin/init
/sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
[root@localhost private]# file /vz/private/190/sbin/init
/vz/private/190/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
[root@localhost private]# grep OSTEMPLATE /etc/vz/conf/190.conf
OSTEMPLATE="centos-5-i386-afull"
[root@localhost private]#
Thanks
|
|
|
Re: Unable to start VM [message #38816 is a reply to message #37037] |
Wed, 03 February 2010 19:32 |
dajoker
Messages: 1 Registered: February 2010
|
Junior Member |
|
|
Just to provide another alternative to this issue in case others come across it....
I requested a box, asked for x86_64, received x86_32 without realizing it. x86_32 VEs worked but x86_64 did not obviously. The error looked the same; after creation was complete the `vzctl start <VEID>` failed:
lab1:/srv/vz # vzctl start 104
Starting container ...
Container is mounted
Adding IP address(es): 123.45.67.89
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: vebox204
Unable to start init, probably incorrect template
Container start failed
Stopping container ...
Container was stopped
Container is unmounted
lab1:/srv/vz # echo $?
47
lab1:/srv/vz #
Hopefully this saves some confusion in the future.
-dajoker
|
|
|