SNMP broken just for NetMRG


05-05-2005 17:40:34

I have a NetMRG installation that was working fine for months, then one day everything broke. When the gatherer runs, every SNMP packet it sends out has an empty community string, even though I've verified that the DB holds the correct values. snmpget on the same machines works fine, so I don't think it's a library issue. I'm on version 0.18.2. Has anyone else seen anything like this?



05-05-2005 19:10:52

Are you using FC3? Have you upgraded net-snmp recently? If yes to both of these, then downgrade your net-snmp for now; they updated to a new version of net-snmp that our RPM isn't compiled against and it will be broken now.
If not any of the above, can you post what your net-snmp version is and an 'ldd netmrg-gatherer'?



06-05-2005 13:18:26

Well, I [ie76d47393a]am[/ie76d47393a] on FC3 and I [ie76d47393a]did[/ie76d47393a] upgrade net-snmp. I tried downgrading it to 5.1.2 (the base that comes with FC3) but that didn't fix the problem.

Here's the output from LDD

[dbecker@lxdb1 ~]$ ldd /usr/bin/netmrg-gatherer => /usr/lib/ (0x00101000) => /lib/ (0x00ce5000) => /usr/lib/ (0x006d1000) => /usr/lib/ (0x0044b000) => /usr/lib/ (0x009af000) => /lib/tls/ (0x007d6000) => /usr/lib/ (0x007aa000) => /lib/ (0x006cb000) => /lib/tls/ (0x006a6000) => /lib/ (0x00a7c000) => /lib/tls/ (0x0057a000) => /usr/lib/ (0x00dcf000) => /usr/lib/ (0x00c06000) => /lib/ (0x00bde000) => /usr/lib/ (0x00be3000) => /lib/ (0x008d9000) => /lib/ (0x064ed000) => /lib/ (0x00ca5000) => /lib/ (0x00542000) => /lib/ (0x0054f000)
/lib/ (0x00560000)


06-05-2005 13:30:00

Did you get both net-snmp and net-snmp-libs? You can check everything by doing
[code143a1e0d563]rpm -qa | grep net-snmp[/code143a1e0d563]



06-05-2005 13:32:13

BTW, your topic notification emails are bouncing. You might want to check your email address in your preferences.



06-05-2005 13:44:22

OK, I just did it again (removed RPMs, re-added them) and this time it's working. I have no idea what I did wrong, but it caps off a really stellar week here at work (

I don't know why my email would bounce, I verified it and it should be fine (.

I was thinking that it had to be a library issue, but when it didn't work after the first downgrade I thought I must have hosed something else.

Thanks for the help!



10-04-2006 11:31:41

I have a similar problem with my install
i have compiled the last net-snmp on my ubuntu

on the netmrg tmp directory i do a ./configure --with-snmp-include-dir=/usr/local/include/net-snmp

make and make install ok

and when i launch netmrg-gatherer i have this error
netmrg-gatherer error while loading shared libraries cannot open shared object file No such file or directory

when i do a ldd on the netmrg-gatherer, i have a not found, and with the /sbin/ldconfig -p | grep libnetsnmp command i have a (libc6) => /usr/lib/

i don't know what mine the .# (hardcore technic consist to rename the .8 file to .5 shock )

[i29ef1002e8][b29ef1002e8]EDIT[/b29ef1002e8] I have resolved the problem, i have added the /usr/local/lib in the /etc/ file and run the ldconfig program and now the netmrg-gatherer run fine[/i29ef1002e8]