OpenVZ Forum


Home » Mailing lists » Users » problem with snmpd on veth
problem with snmpd on veth [message #27128] Sun, 10 February 2008 13:51 Go to previous message
Alex Prinsier is currently offline  Alex Prinsier
Messages: 16
Registered: January 2007
Junior Member
Hello,

I'm seeing these error messages appear in my error log:

Feb 10 14:37:04 h01 snmpd[18514]: ioctl 35123 returned -1

I tried to get the cause of this error message:

strace /usr/sbin/snmpd -Le -f -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1 > /root/snmpd.log 2>&1

I could find this in the strace.log:

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10
ioctl(10, SIOCGIFINDEX, {ifr_name="eth0", ifr_index=6}) = 0
close(10)                               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10
ioctl(10, SIOCGIFINDEX, {ifr_name="veth3003", ???}) = -1 ENODEV (No such
device)
write(2, "ioctl 35123 returned -1\n", 24ioctl 35123 returned -1
) = 24
close(10)                               = 0

veth3003 is associated with VE 3003, in which runs openvpn (don't think
that's relevant though).

Anyone knows what this ioctl is for, and why it fails for veth3003?

Thanks,

Alexander
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: virtual machine not able to ping out side netwrok
Next Topic: openvz in domu (xen)
Goto Forum:
  


Current Time: Mon Aug 04 11:53:27 GMT 2025

Total time taken to generate the page: 0.96718 seconds