OpenVZ Forum


Home » General » Support » *SOLVED* What does this meen? --> Inappropriate ioctl for device
*SOLVED* What does this meen? --> Inappropriate ioctl for device [message #9660] Tue, 16 January 2007 01:35 Go to next message
Guido64 is currently offline  Guido64
Messages: 5
Registered: January 2007
Junior Member
Hello list,

Last night I did a "apt-get update && apt-get upgrade" on my host and several vps systems.

Several security updates where downloaded and installed.
Since then no vps is starting anymore.

The error messages I receive are:
-----------------------
2007-01-16T02:37:57+0100 vzctl : Setting CPU units: 1000
2007-01-16T02:37:57+0100 vzctl : WARNING: Settings were not saved and will be resetted to original values on next start (use --save flag)
2007-01-16T02:37:57+0100 vzctl : VE 101 : Starting VE ...
2007-01-16T02:37:57+0100 vzctl : VE 101 : VE is mounted
2007-01-16T02:37:57+0100 vzctl : VE 101 : Adding IP address(es): 192.168.166.5
2007-01-16T02:37:57+0100 vzctl : VE 101 : Unable to add IP 192.168.166.5: Inappropriate ioctl for device
2007-01-16T02:37:57+0100 vzctl : VE 101 : Unable to del IP 192.168.166.5: Inappropriate ioctl for device
2007-01-16T02:37:57+0100 vzctl : VE 101 : VE start failed
2007-01-16T02:37:57+0100 vzctl : VE 101 : Stopping VE ...
2007-01-16T02:37:57+0100 vzctl : VE 101 : VE was stopped
2007-01-16T02:37:58+0100 vzctl : VE 101 : VE is unmounted
-----------------------

I did a clean (debian 3.1) installation on the host system but the problems stil the same.
Please help!

[Updated on: Tue, 16 January 2007 13:04] by Moderator

Report message to a moderator

Re: What does this meen? --> Inappropriate ioctl for device [message #9665 is a reply to message #9660] Tue, 16 January 2007 08:58 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Looks like vznetdev module is not loaded (check it with "lsmod | grep vz" command). You can load it manually ("modprobe vznetdev") and then check that /etc/init.d/vz script actually loads that module.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: What does this meen? --> Inappropriate ioctl for device [message #9668 is a reply to message #9665] Tue, 16 January 2007 12:05 Go to previous messageGo to next message
Guido64 is currently offline  Guido64
Messages: 5
Registered: January 2007
Junior Member
Hello Kir,

When I do "lsmod | grep vz" vznetdev seems not loaded.
Then I do "modprobe vznetdev" like you said.
That seems to change things but stil no vps can be started.

The error msg I get now is this:
-------------------
:~# vzctl start 101
Starting VE ...
VE is mounted
Adding IP address(es): 192.168.166.5
RTNETLINK answers: No such device
vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.166.5 dev venet0
VE start failed
Stopping VE ...
VE was stopped
VE is unmounted
-------------------

Do you have another hint?

Re: What does this meen? --> Inappropriate ioctl for device [message #9669 is a reply to message #9665] Tue, 16 January 2007 12:18 Go to previous message
Guido64 is currently offline  Guido64
Messages: 5
Registered: January 2007
Junior Member
Hello Kir,

I just did another "apt-get update && apt-get upgrade" because I just had this feeling Smile

There was a new Vzctl package, after it was installed everything works again, thank god haha

My heart rate is going down again and I stopped sweating Wink

Thank you for your help!
Previous Topic: vzsplit
Next Topic: Problem creating VPS after install.
Goto Forum:
  


Current Time: Fri Aug 01 22:42:01 GMT 2025

Total time taken to generate the page: 0.91332 seconds