OpenVZ Forum


Home » General » Support » Container won't start
Container won't start [message #43208] Mon, 08 August 2011 01:33 Go to next message
xxxbobsta is currently offline  xxxbobsta
Messages: 1
Registered: August 2011
Junior Member
[root]# vzctl --version
vzctl version 3.0.26.2


[root]# uname -a
Linux hostname 2.6.18-238.5.1.el5.028stab085.3 #1 SMP Mon Mar 21 20:05:12 MSK 2011 x86_64 x86_64 x86_64 GNU/Linux

[root]# vzctl start 112
Starting container ...
Container is mounted
Adding IP address(es): 67.220.78.184 67.220.78.185
Setting CPU limit: 400
Setting CPU units: 48744
Setting CPUs: 6
Set hostname: reason.atheistfoundation.org.au
File resolv.conf was modified
Setting quota ugidlimit: 10000
Container start in progress...

[root]# vzctl status 112
CTID 112 exist unmounted down

[root] cat /var/log/vzctl.log
2011-08-07T18:29:20-0700 vzctl : CT 112 : Starting contain
2011-08-07T18:29:20-0700 vzctl : CT 112 : Container is mou
2011-08-07T18:29:20-0700 vzctl : CT 112 : Adding IP addres67.220.78.184 67.220.78.185
2011-08-07T18:29:23-0700 vzctl : CT 112 : Setting CPU limi
2011-08-07T18:29:23-0700 vzctl : CT 112 : Setting CPU unit4
2011-08-07T18:29:23-0700 vzctl : CT 112 : Setting CPUs: 6
2011-08-07T18:29:23-0700 vzctl : CT 112 : Set hostname: reheistfoundation.org.au
2011-08-07T18:29:23-0700 vzctl : CT 112 : File resolv.confdified
2011-08-07T18:29:23-0700 vzctl : CT 112 : Setting quota ug: 10000
2011-08-07T18:29:23-0700 vzctl : CT 112 : Container start ress...
2011-08-07T18:29:24-0700 vzctl : CT 112 : Container is unmounted


The container's OS is CentOS 5 32bit w/ cPanel. If it is reformatted, it boots up without issue. What is the issue here? The logs are not showing anything.

Re: Container won't start [message #43222 is a reply to message #43208] Tue, 09 August 2011 21:51 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

can you start the ct with --verbose option:

% vzclt --verbose start 112

Bye,
Thorsten
Re: Container won't start [message #49100 is a reply to message #43208] Thu, 21 March 2013 10:02 Go to previous messageGo to next message
normanu is currently offline  normanu
Messages: 5
Registered: January 2011
Junior Member
same problem here,

vzctl version 4.0-4.git.162dded

Linux nod11 2.6.32-18-pve

~ # vzctl --verbose start 119                                                                                                                                                                                                     root@nod11
Starting container ...
Container is mounted
Adding IP address(es): 193.47.79.78 193.47.79.208
Running container script: /etc/vz/dists/scripts/redhat-add_ip.sh
Setting CPU units: 1000
Setting CPUs: 1
Running container script: /etc/vz/dists/scripts/redhat-set_hostname.sh
Running container script: /etc/vz/dists/scripts/set_dns.sh
Running container script: /etc/vz/dists/scripts/set_ugid_quota.sh
Container start in progress...


what can this be ?
No errors to be found anywhere .....
Re: Container won't start [message #49103 is a reply to message #43208] Fri, 22 March 2013 08:34 Go to previous message
amissus is currently offline  amissus
Messages: 21
Registered: November 2011
Location: Czech Republic - Ostrava
Junior Member
Try set greater verbosity of output with:
vzctl --verbose --verbose --verbose start 7777

If you use kernel RHEL6 042stab048.1 and up and vzctl utility 3.0.31 and up, you can try use container console to show, what container OS is doing during boot process.
On one terminal attach console to container
vzctl console 7777
And in other terminal run this container
vzctl start 7777

Have you some container, which started successfully on this HN?

Where did you get container template, which you try to start? It may be misconfigured or corrupt in any way.

[Updated on: Fri, 22 March 2013 08:41]

Report message to a moderator

Previous Topic: Status of O_DIRECT option support inside container
Next Topic: Fileserver for a small cluster
Goto Forum:
  


Current Time: Thu May 16 01:35:36 GMT 2024

Total time taken to generate the page: 0.01704 seconds