[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: snmpd: sysctl vm.bufmem failed (errno 12)
On 2 January 2013 23:21, Jean-Yves Moulin <jym%baaz.fr@localhost>
> Anyone noticed something similar?
> Jan 2 19:31:00 dns2 snmpd: sysctl vm.bufmem failed (errno 12)
Yes, same problem here. I already sent a patch to pkgsrc maintainer but no news.
You have to change one line in agent/mibgroup/hardware/memory/memory_netbsd.c, line 42:
unsigned int bufspace;
unsigned long int bufspace;
And rebuild. This was needed for all my NetBSD-6.0/amd64 (even Xen domU). I have no other hardware to test this change..
Which version of net-snmp do you use? I'm using the one from pkgsrc 2012Q3 (net-snmp-22.214.171.124) and my memory_netbsd.c file is a bit different I think. There is no bufspace variable in it. The bufspace variable is present in memory_freebsd.c
network and system administrator
Main Index |
Thread Index |