Problem starting a copied container [message #51083] |
Sun, 26 January 2014 01:36 |
wk38524
Messages: 2 Registered: January 2014
|
Junior Member |
|
|
I created a simple CentOS 6 based container that I plan to use for testing a monitoring system. This container works great by itself.
I used the instructions at openvz.org/Cloning_VE to make a copy and changed the hostname and IP address in the config file. But, I can't start the new container. I get the following in vzctl.log:
2014-01-25T19:31:11-0600 vzctl : CT 201 : Starting container...
2014-01-25T19:31:12-0600 vzctl : CT 201 : Container is mounted
2014-01-25T19:31:12-0600 vzctl : CT 201 : Adding IP address(es): 192.168.0.201
2014-01-25T19:31:13-0600 vzctl : CT 201 : Setting CPU limit: 10
2014-01-25T19:31:13-0600 vzctl : CT 201 : Setting CPU units: 1000
2014-01-25T19:31:13-0600 vzctl : CT 201 : Setting CPUs: 1
2014-01-25T19:31:13-0600 vzctl : CT 201 : Container start failed (try to check kernel messages, e.g. "dmesg | tail")
2014-01-25T19:31:13-0600 vzctl : CT 201 : Killing container ...
2014-01-25T19:31:14-0600 vzctl : CT 201 : Locked by: pid 2207, cmdline vzctl start 201
2014-01-25T19:31:14-0600 vzctl : CT 201 : Container already locked
2014-01-25T19:31:15-0600 vzctl : CT 201 : Container was stopped
2014-01-25T19:31:15-0600 vzctl : CT 201 : Container is unmounted
It doesn't matter if the original container is running or not. Any clues on this? There is nothing in /vz/lock.
|
|
|