lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

SNMP broken just for NetMRG

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
dbeckercpi
Beginner


Joined: 22 Nov 2004
Posts: 4
Location: Denver, CO

PostPosted: Thu May 05, 2005 9:40 pm    Post subject: SNMP broken just for NetMRG Reply with quote

Hi,
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?

Derek
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Thu May 05, 2005 11:10 pm    Post subject: Reply with quote

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'?

-Doug
Back to top
dbeckercpi
Beginner


Joined: 22 Nov 2004
Posts: 4
Location: Denver, CO

PostPosted: Fri May 06, 2005 5:18 pm    Post subject: Tried downgrading Reply with quote

Well, I am on FC3 and I did 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
libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x00101000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x00ce5000)
libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x006d1000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0044b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x009af000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x007d6000)
libz.so.1 => /usr/lib/libz.so.1 (0x007aa000)
libdl.so.2 => /lib/libdl.so.2 (0x006cb000)
libm.so.6 => /lib/tls/libm.so.6 (0x006a6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a7c000)
libc.so.6 => /lib/tls/libc.so.6 (0x0057a000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00dcf000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00c06000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00bde000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00be3000)
libresolv.so.2 => /lib/libresolv.so.2 (0x008d9000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x064ed000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00ca5000)
libnss_files.so.2 => /lib/libnss_files.so.2 (0x00542000)
libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x0054f000)
/lib/ld-linux.so.2 (0x00560000)
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri May 06, 2005 5:30 pm    Post subject: Reply with quote

Did you get both net-snmp and net-snmp-libs? You can check everything by doing:
Code:
rpm -qa | grep net-snmp


-Doug
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri May 06, 2005 5:32 pm    Post subject: Reply with quote

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

-Doug
Back to top
dbeckercpi
Beginner


Joined: 22 Nov 2004
Posts: 4
Location: Denver, CO

PostPosted: Fri May 06, 2005 5:44 pm    Post subject: Darnit Reply with quote

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 Sad

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

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!

Derek
Back to top
iggy78
Beginner


Joined: 06 Apr 2006
Posts: 7

PostPosted: Mon Apr 10, 2006 3:31 pm    Post subject: Reply with quote

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:
Quote:

netmrg-gatherer: error while loading shared libraries: libnetsnmp.so.8: cannot open shared object file: No such file or directory


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

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

EDIT: I have resolved the problem, i have added the /usr/local/lib in the /etc/ld.so.conf file and run the ldconfig program and now the netmrg-gatherer run fine[/b]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group