Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2007 08:34:58 +0200
From:      Olivier Mueller <om-lists-bsd@omx.ch>
To:        freebsd-stable@freebsd.org, freebsd-ports@freebsd.org
Cc:        kuriyama@FreeBSD.org
Subject:   net-snmpd/ucd-snmp: issues under FreeBSD 6.2 amd64 ? (physmem: Cannot allocate memory)
Message-ID:  <66290519-F221-4AF5-BA05-2EC92CC746D6@omx.ch>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66290519-F221-4AF5-BA05-2EC92CC746D6>