8.3.1. Failure to Start a Container

An attempt to start a container fails.

Solution 1

If there is a message on the system console: IP address is already used, issue the cat /proc/vz/veinfo command. The information about the container numeric identifier, container class, number of container’s processes and container IP address shall be displayed for each running container. This shall also demonstrate that your container is up, i.e. it must be running without any IP address assigned. Set its IP address using the command:

# prlctl set <CT_name> --ipadd <IP_address>

where <CT_name> is the container name and <IP_address> is the desired IP address.

Solution 2

The container might be configured incorrectly. Try to validate the container configuration and find out what parameters have caused the error. Set appropriate values using the prlctl set command.

Solution 3

The container might have used all its disk quota (disk space). Check the quota (see Section 3.2, “Managing Disk Quotas”) and adjust its parameters if needed.

Solution 4

Run the prlctl console utility to log in and get access to the container console. The utility will provide container startup/shutdown output that may be used to pinpoint the problem. For example:

# prlctl console MyCT

where MyCT is the container name.