Olivier Mueller
2007-Sep-14 00:01 UTC
net-snmpd/ucd-snmp: issues under FreeBSD 6.2 amd64 ? (physmem: Cannot allocate memory)
Hello, I'm trying to start net-snmpd or ucd-snmp on a brand new amd64-system (hp dl360g5, 4GB ram, dual xeon), and all I get is the message: Sep 14 08:11:02 db3 snmpd[64634]: sysctl: physmem: Cannot allocate memory on start with net-snmpd, and this with ucd-snmpd: [root@db3 ~]# /usr/local/etc/rc.d/snmpd start Starting snmpd. nlist err: neither nproc nor _nproc found. sysctl: physmem: Cannot allocate memory nlist err: neither total nor _total found. nlist err: neither proc nor _proc found. improper port specification /var/run/snmpd.pid Server Exiting with code 1 [root@db3 ~]# sysctl -a |grep physmem hw.physmem: 4281905152 I have no problems like that with snmpd on other servers, but they are all running an i386-version of Freebsd: problem seems related to amd64 ? There are some posts, all still without answers, about this problem on the same platform: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/ 2004-11/2994.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/ 2004-11/1375.html etc. Any suggestion? I'd be glad to help solving this problem, if possible... regards, Olivier