3
edits
Changes
m
<code> # vzctl enter 101345 enter into CT 101 345 failed Unable to open pty: No such file or directory</code>
<code> # vzctl exec 101 345 'dpkg --force-depends --purge udev' (Reading database ... dpkg: udev: dependency problems, but removing anyway as you request: initramfs-tools depends on udev (>= 117-5). 15227 files and directories currently installed.) Removing udev ... Purging configuration files for udev ... dpkg - warning: while removing udev, directory `/lib/udev/devices/net' not empty so not removed. dpkg - warning: while removing udev, directory `/lib/udev/devices' not empty so not removed.</code>
<code>
# vzctl restart 101
Restarting container
...
<SNIP>
...
Container start in progress...
→Ubuntu udev: formatting chages
Additionally, Ubuntu based vservers have the udev package installed which prevents access to the console in openvz. This error message is an example of the problem:
The fix is to remove the udev package from the guest:
Now restart the container, you should now be able to use the console.
# vzctl restart 345 Restarting container ... <SNIP> ... Container start in progress... # vzctl enter 101345 entered into CT 101345 root@test:/#</code>
=== /proc ===