Ubuntu12.04 problems encountered during lxccontainer creation through virsh and solutions
Source: Internet
Author: User
Ubuntu12.04 the problem and solution encountered when lxccontainer was created through virsh was vented, and it was depressing by ubuntu. it was very smooth to create linuxcontainer through libvirt on ubuntu12.04server manually installed by iso, no problems .... Ubuntu 12.04 used virsh to create lxc container. when it encountered problems and solutions, it was frustrated by ubuntu. it was very smooth to create linux container through libvirt on the ubuntu 12.04 server manually installed by iso, you have not encountered any problems. Recently, we have deployed the ubuntu OS deployment tool MAAS, which is also a ubuntu 12.04 server, but a series of problems have occurred! What are the differences between the OS deployed on www.2cto.com and the OS manually installed on MAAS? these things disappoint developers! Libvirt version: 0.9.8-2ubuntu17. 4 Ubuntu kernel version: Linux compute-63-30 3.2.0-35-generic # 55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux Question 1: warning: lxcCapsInit: 77: Failed to get host power management capabilities this error is caused by a lack of power management packages, which can be ignored or solved by installing power management packages.
Sudo apt-get-y install pm-utils Problem 2: error: lxcContainerMountDevFS: 519: Failed to mount/dev/pts in container: no such file or directory. this problem is caused by symbol link, that is, if the rootfs path of the container specified in the container configuration file is in the directory of a symbolic link, this problem is reported, and the problem can be solved without symbolic links. Www.2cto.com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.