[Users] Some basic startup related issues
Nirmal Guhan
vavatutu at gmail.com
Fri Jun 25 21:02:52 EDT 2010
Am following http://wiki.openvz.org/Physical_to_container and facing a
couple of issues. Hope someone can help.
Am running CentOS 5.5 and trying to create a CentOS 5 container.
1) /proc does not get mounted. I have to manually mount it everytime.
I have following entries in /etc/fstab
none /dev/pts devpts defaults 0 0
none /proc proc defaults 0 0
none //sys sysfs defaults 0 0
none /dev/shm tmpfs defaults 0 0
[root at localhost /]# vzctl enter 50
entered into CT 50
Unable to get tty name: Bad file descriptor
-bash-3.2# mount
warning: can't open /etc/mtab: No such file or directory
--bash-3.2# mount -t proc none /proc
-bash-3.2# mount
/dev/simfs on / type simfs (rw)
none on /proc type proc (rw)
-bash-3.2#
2) Not able to assign IP address to venet0. Here are the lines from
/etc/vz/conf/50.conf
IP_ADDRESS="10.33.11.55"
BROADCAST="255.255.255.255"
NETMASK="255.255.255.192"
I have set onboot=NO in vz/private/50/etc/sysconfig/network-scripts/ifcfg-eth0
--Nirmal
More information about the Users
mailing list