OpenVZ Forum


Home » Mailing lists » Users » vzctl start 777 -> RTNETLINK answers: No such device
vzctl start 777 -> RTNETLINK answers: No such device [message #20266] Tue, 11 September 2007 11:42 Go to next message
guenther is currently offline  guenther
Messages: 1
Registered: September 2007
Junior Member
Hello,

I'am trying to install OpenVZ. I patched the kernel and created a 
template. If I try to start the VE the following error is given:

# vzctl start 777 ...
RTNETLINK answers: No such device
vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.2.50 
dev venet0 src 192.168.2.23


Host System Kernel: Etch 2.6.18.5+openvz

etc/vz/conf/777.conf
...
OSTEMPLATE=debian-4.0
IP_ADDRESS="192.168.2.50"
NAMESERVER="192.168.2.1"

# lsmod | grep vz
vznetdev	 16704	0
vzmon		 40648	1 vznetdev
ipv6		236448	9 vzmon

- ifconfig shows no venet0

# ip link show venet0
1: venet0: <BROADCAST,POINTTOPOINT,NOARP> mtu 1500 qdisc noop
     link/void


Big thanks for Help!

greetings
	guen
Re: vzctl start 777 -> RTNETLINK answers: No such device [message #20345 is a reply to message #20266] Mon, 17 September 2007 07:18 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Christian Günther wrote:
> Hello,
> 
> I'am trying to install OpenVZ. I patched the kernel and created a 
> template. If I try to start the VE the following error is given:
> 
> # vzctl start 777 ...
> RTNETLINK answers: No such device
> vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.2.50 
> dev venet0 src 192.168.2.23
> 
> 
> Host System Kernel: Etch 2.6.18.5+openvz
> 
> etc/vz/conf/777.conf
> ...
> OSTEMPLATE=debian-4.0
> IP_ADDRESS="192.168.2.50"
> NAMESERVER="192.168.2.1"
> 
> # lsmod | grep vz
> vznetdev	 16704	0
> vzmon		 40648	1 vznetdev
> ipv6		236448	9 vzmon
> 
> - ifconfig shows no venet0
> 
> # ip link show venet0
> 1: venet0: <BROADCAST,POINTTOPOINT,NOARP> mtu 1500 qdisc noop
>      link/void

I guess you simply haven't started vz service, thus venet device is not up
and running in the host system.

try /etc/init.d/vz start
before starting VEs.
Make sure you have also configured /etc/sysctl.conf according to installation HOWTO.

Thanks,
Kirill
Previous Topic: Re: [Fwd: Problem with patch by openvz, where should I report that?]
Next Topic: Physical server to OpenVZ
Goto Forum:
  


Current Time: Sun May 05 01:21:38 GMT 2024

Total time taken to generate the page: 0.01830 seconds