From owner-freebsd-stable@FreeBSD.ORG Fri Sep 14 07:01:40 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B41C16A41A for ; Fri, 14 Sep 2007 07:01:40 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: from omega.omnis.ch (omega.omnis.ch [195.134.143.43]) by mx1.freebsd.org (Postfix) with SMTP id E1B6B13C48D for ; Fri, 14 Sep 2007 07:01:39 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 8961 invoked from network); 14 Sep 2007 06:34:58 -0000 Received: from 195.134.148.35 ([195.134.148.35]) by omega.omnis.ch ([195.134.143.43]) with ESMTP via TCP; 14 Sep 2007 06:34:58 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <66290519-F221-4AF5-BA05-2EC92CC746D6@omx.ch> Content-Transfer-Encoding: 7bit From: Olivier Mueller Date: Fri, 14 Sep 2007 08:34:58 +0200 To: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.752.2) Cc: kuriyama@FreeBSD.org Subject: net-snmpd/ucd-snmp: issues under FreeBSD 6.2 amd64 ? (physmem: Cannot allocate memory) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 07:01:40 -0000 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