Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 15:03:30 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        freebsd-questions@freebsd.org
Subject:   net-snmp kvm_read: Bad address
Message-ID:  <200402131503.30712.ajacoutot@lphp.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402131503.30712.ajacoutot>