Unable to start init, probably incorrect template error [message #50663] |
Fri, 04 October 2013 06:30 |
blacksnow
Messages: 2 Registered: October 2013 Location: SysOp
|
Junior Member |
|
|
Hi all,
CentOS 6 x64 host with an Ubuntu 13.04 x64 VM.
Kernel: 2.6.32-042stab081.3
Out of the blue one day a VM crashed on me. So, I login to go start it back up and get this:
[root@REMOVED]# vzctl start 102
Starting container...
Container is mounted
Adding IP address(es): REMOVED
Setting CPU limit: 100
Setting CPU units: 1000
Setting CPUs: 1
Unable to start init, probably incorrect template
Container start failed
Killing container ...
Container was stopped
Container is unmounted
So, I go check /etc/vz/conf/102.conf and it says
OSTEMPLATE="ubuntu-13.04-x86_64"
So, I go to /vz/template/cache and extract said template, then copy /usr/sbin/init over in an attempt to fix. No go. Any thoughts?
|
|
|
|
|
|
Re: Unable to start init, probably incorrect template error [message #51604 is a reply to message #50663] |
Wed, 13 August 2014 21:17 |
vztester
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
I helped someone with this same issue who was trying to use a 64-bit template on a 32-bit kernel (impossible of course). They didn't realize that 32-bit on 64-bit isn't the same setup and incompatible.
If you're using a confirmed working template from the OpenVZ website the issue is probably architecture (eg. using 64-bit templates on a 32-bit kernel).
rtt
|
|
|
|