Activated NFS and now the ve won't bring up network [message #15233] |
Mon, 23 July 2007 15:02 |
|
JimL
Messages: 116 Registered: February 2007
|
Senior Member |
|
|
I followed the steps in http://wiki.openvz.org/NFS to enable the NFS client. When I rebooted the ve after setting the features, it no longer has a network connection:
[root@50dom0 ~]# vzctl enter 1002
entered into VE 1002
root@walnut:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:110 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30826 (30.1 KiB) TX bytes:0 (0.0 b)
dmesg | head
Linux version 2.6.18-ovz028stab035.1-smp (root@centos-32-build) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Sat Jun 9 12:15:32 MSD 2007
There are no errors reported by /proc/user_beancounters.
There are no error messages in /var/log/vz
2007-07-23T10:53:47-0400 vzctl : VE 1002 : Starting VE ...
2007-07-23T10:53:47-0400 vzctl : VE 1002 : VE is mounted
2007-07-23T10:53:47-0400 vzctl : VE 1002 : Adding IP address(es): 192.168.2.50
2007-07-23T10:53:48-0400 vzctl : VE 1002 : Setting CPU units: 1000
2007-07-23T10:53:48-0400 vzctl : VE 1002 : Set hostname: walnut
2007-07-23T10:53:48-0400 vzctl : VE 1002 : VE start in progress...
I commented out the features line in the /etc/vz/conf/1002.conf file but it still doesn't work.
Any suggestions?
Thanks,
Jim.
I did a little more testing. If I reboot ve0 and leave nsf off in the config file 1002 comes back up almost OK with networking. The only catch is that ssh daemon didn't start. No errors in any log I could find.
I then re enabled the nfs features line and stopped and started the ve 1002. No network. I commented out the features and restarted and no network. So the only way i can get the network back again is to reboot the system.
[Updated on: Mon, 23 July 2007 15:23] Report message to a moderator
|
|
|