Previous page

Next page

Locate page in Contents

Print this page

Failure to Log In to a Container

The Container starts successfully, but you cannot log in.

Solution 1

You are trying to connect via SSH, but access is denied. Probably you have not set the password of the root user yet or there is no such user. In this case, use the prlctl set --userpasswd command. For example, for Container 101 you might issue the following command:

# prlctl set 101 --userpasswd root:secret

Solution 2

Check forwarding settings by issuing the following command:

# cat /proc/sys/ipv4/conf/venet0/forwarding

If it is 0 then change it to 1 by issuing the following command:

# echo 1 > /proc/sys/ipv4/conf/venet0/forwarding