OpenVZ Forum


Home » General » Support » Can't start new VPS
Can't start new VPS [message #41629] Fri, 11 February 2011 09:50 Go to next message
Brain89 is currently offline  Brain89
Messages: 17
Registered: February 2011
Location: Russia
Junior Member

Hi all.

I have the following problem. I can't start new VPS:

root@ubuntu-server-openvz:~# vzctl create 101 --ostemplate centos-5-x86_64 --config vps.basic && vzctl set 101 --hostname centos_virtual --save && vzctl set 101 --ipadd 100.100.16.101 --save && vzctl set 101 --nameserver 77.232.128.1 --save && vzctl set 101 --onboot yes --save
Creating VE private area (centos-5-x86_64)
Performing postcreate actions
VE private area was created
Saved parameters for VE 101
Saved parameters for VE 101
Saved parameters for VE 101
Saved parameters for VE 101
root@ubuntu-server-openvz:~# vzctl start 101
Starting VE ...
VE is mounted
Adding IP address(es): 100.100.16.101
Setting CPU limit: 13
Setting CPU units: 1000
Setting CPUs: 1
Configure meminfo: 24576
Set hostname: centos_virtual
Unable to start init, probably incorrect template
VE start failed
Stopping VE ...
VE was stopped
VE is unmounted


What should I do to fix this problem? I'm sure, the template is correct
Re: Can't start new VPS [message #41646 is a reply to message #41629] Sun, 13 February 2011 04:39 Go to previous message
pyite is currently offline  pyite
Messages: 20
Registered: January 2007
Junior Member
It is possible that the location of the private area in your config file doesn't match with where your scripts are looking; see this thread: http://forum.openvz.org/index.php?t=msg&goto=10540&

For example, Red Hat/Centos uses /vz/private but Ubuntu/Debian uses /var/lib/vz/private - similar changes for the quota & dump areas.

Cut & paste the error into google with quotes around it, and you should get some helpful answers.
Previous Topic: Problems migrating
Next Topic: Strange networking issue
Goto Forum:
  


Current Time: Mon Nov 18 18:32:15 GMT 2024

Total time taken to generate the page: 0.02934 seconds