net-snmp kvm_read: Bad address

Antoine Jacoutot ajacoutot at lphp.org
Fri Feb 13 06:03:36 PST 2004


Hi :)

I'm running 5.2.1-RC2 and I have problem with the net/net-snmp port.
I use mrtg to collect stats from localhost snmp and I get those strange logs 
in /var/log/snmpd.log:

Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1

I cvsup, rebuilt my world+kernel and the snmpd port, but I still get the same 
problem.
Any idea what could cause this ?

Note that I launch snmpd like this:
/usr/local/sbin/snmpd -p /var/run/snmpd.pid -Lsd 127.0.0.1

Thanks in advance.
Regards,

Antoine


More information about the freebsd-questions mailing list