[SOLVED] Spine - SNMP Library Version Mismatch
Moderators: Developers, Moderators
[SOLVED] Spine - SNMP Library Version Mismatch
Hello,
Having trouble getting Spine 0.8.7 running with Cacti 0.8.7a on Ubuntu Server 7.04:
#uname -a
#Linux Cacti-U 2.6.20-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 i686 GNU/Linux
When I issue the cmd:
#/usr/local/spine/spine --conf=/usr/local/spine/spine.conf --verbosity=5 4 4
I receive this error:
11/20/2007 03:47:15 PM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.4.1
11/20/2007 03:47:15 PM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.2.3
SPINE: Poller[0] ERROR: SNMP Library Version Mismatch (5.4.1 vs 5.2.3) (Spine parent)
I had to compile using:
aclocal
libtoolize --force
autoconf
autoheader
automake
./configure
(make)
And have adjusted the BUFSIZE from 1024 to 2048 in spine.h.
I have come across info on the web about rebuilding the SNMP package, but not being a linux guru don't know what to do and can't find any more info. Ideas anyone? Any help would be very much appreciated. If you need version info on anything or commands run, please post syntax. Thank you very much.
Having trouble getting Spine 0.8.7 running with Cacti 0.8.7a on Ubuntu Server 7.04:
#uname -a
#Linux Cacti-U 2.6.20-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 i686 GNU/Linux
When I issue the cmd:
#/usr/local/spine/spine --conf=/usr/local/spine/spine.conf --verbosity=5 4 4
I receive this error:
11/20/2007 03:47:15 PM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.4.1
11/20/2007 03:47:15 PM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.2.3
SPINE: Poller[0] ERROR: SNMP Library Version Mismatch (5.4.1 vs 5.2.3) (Spine parent)
I had to compile using:
aclocal
libtoolize --force
autoconf
autoheader
automake
./configure
(make)
And have adjusted the BUFSIZE from 1024 to 2048 in spine.h.
I have come across info on the web about rebuilding the SNMP package, but not being a linux guru don't know what to do and can't find any more info. Ideas anyone? Any help would be very much appreciated. If you need version info on anything or commands run, please post syntax. Thank you very much.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's not the problem, you have one version of the dev package installed and another of the lib packages.
You should run the following:
rpm -qa | grep -i snmp
Make sure you only have one version installed.
TheWitness
You should run the following:
rpm -qa | grep -i snmp
Make sure you only have one version installed.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
HiTheWitness wrote:rpm -qa | grep -i snmp
IMHO (I don't use Debian / Ubuntu), this command sould do the trick :
Code: Select all
$ dpkg --get-selections | grep -i snmp
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Thank you for your responses. I ran dpkg --get-selections | grep -i snmp
and received the following:
libsnmp-base.................install
libsnmp-perl...................install
libsnmp-session-perl......install
libsnmp9........................install
libsnmp9-dev.................install
snmp.............................install
I searched for snmp via Synaptic Package Manager and all of the above packages show as version 5.2.3 (with the exception of libsnmp-session-perl which is v1.08 ). According to the description of the libsnmp9-dev pkg this contains the snmp headers, but I don't know how accurate that is. I uninstalled & re-installed the libsnmp9 pkg and re-compiled spine, still receiving the same error.
I see in the spine snmp.c file that PACKAGE_VERSION and netsnmp_get_version() are returning the different version values (SNMP Header Version is 5.4.1 and SNMP Library Version is 5.2.3) which are responsible for the SNMP library mismatch shown in initial post, but that's as far as I got in determining what path and file(s) they're looking at.
Any further help would be greatly appreciated. Thank you.
and received the following:
libsnmp-base.................install
libsnmp-perl...................install
libsnmp-session-perl......install
libsnmp9........................install
libsnmp9-dev.................install
snmp.............................install
I searched for snmp via Synaptic Package Manager and all of the above packages show as version 5.2.3 (with the exception of libsnmp-session-perl which is v1.08 ). According to the description of the libsnmp9-dev pkg this contains the snmp headers, but I don't know how accurate that is. I uninstalled & re-installed the libsnmp9 pkg and re-compiled spine, still receiving the same error.
I see in the spine snmp.c file that PACKAGE_VERSION and netsnmp_get_version() are returning the different version values (SNMP Header Version is 5.4.1 and SNMP Library Version is 5.2.3) which are responsible for the SNMP library mismatch shown in initial post, but that's as far as I got in determining what path and file(s) they're looking at.
Any further help would be greatly appreciated. Thank you.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok, what about:
Then once you find the name of the net-snmp library shared object
Then, look at the location during the make and see if they are in line. You more than likely have two different library versions install and simply have to uninstall one or the other.
You should also submit a bug to the OS Maintainer.
TheWitness
Code: Select all
ldd spine
Code: Select all
locate <netsnmp_shared_library>
You should also submit a bug to the OS Maintainer.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Thanks for your response and I apologize in advance for my newb-ness. When I do ldd spine I get:
linux-gate.so.1 => (0xffffe000)
libnetsnmp.so.9 => /usr/lib/libnetsnmp.so.9 (0xb7e85000)
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7ca2000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7b5f000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b4b000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7b34000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b0d000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7af6000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb79b5000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7986000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7982000)
/lib/ld-linux.so.2 (0xb7f3a000)
Not sure from here. If I look in /usr/lib I see:
lrwxrwxrwx 1 root root 24 2007-11-21 10:32 libnetsnmpagent.so -> libnetsnmpagent.so.9.0.1
lrwxrwxrwx 1 root root 24 2007-11-21 09:32 libnetsnmpagent.so.9 -> libnetsnmpagent.so.9.0.1
-rw-r--r-- 1 root root 266728 2007-02-07 03:36 libnetsnmpagent.so.9.0.1
Here's the results of make:
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c
mv -f .deps/sql.Tpo .deps/sql.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT spine.o -MD -MP -MF .deps/spine.Tpo -c -o spine.o spine.c
mv -f .deps/spine.Tpo .deps/spine.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
mv -f .deps/snmp.Tpo .deps/snmp.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c
mv -f .deps/locks.Tpo .deps/locks.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT poller.o -MD -MP -MF .deps/poller.Tpo -c -o poller.o poller.c
mv -f .deps/poller.Tpo .deps/poller.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT nft_popen.o -MD -MP -MF .deps/nft_popen.Tpo -c -o nft_popen.o nft_popen.c
mv -f .deps/nft_popen.Tpo .deps/nft_popen.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c
mv -f .deps/php.Tpo .deps/php.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c
mv -f .deps/ping.Tpo .deps/ping.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o keywords.c
mv -f .deps/keywords.Tpo .deps/keywords.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/error.Tpo .deps/error.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/lib -L/usr/lib -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm -lnsl
mkdir .libs
gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/lib /usr/lib/libnetsnmp.so /usr/lib/libmysqlclient_r.so -lcrypto -lz -lpthread -lm -lnsl
Am I correct in seeing that the spine executable is using sym link libnetsnmp.so.9, but the make is using symlink libnetsnmp.so? They both point to the same file in the same dir:
-rw-r--r-- 1 root root 266728 2007-02-07 03:36 libnetsnmpagent.so.9.0.1
Or am I WAY off? Again, thanks very much for your time.
linux-gate.so.1 => (0xffffe000)
libnetsnmp.so.9 => /usr/lib/libnetsnmp.so.9 (0xb7e85000)
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7ca2000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7b5f000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b4b000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7b34000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b0d000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7af6000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb79b5000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7986000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7982000)
/lib/ld-linux.so.2 (0xb7f3a000)
Not sure from here. If I look in /usr/lib I see:
lrwxrwxrwx 1 root root 24 2007-11-21 10:32 libnetsnmpagent.so -> libnetsnmpagent.so.9.0.1
lrwxrwxrwx 1 root root 24 2007-11-21 09:32 libnetsnmpagent.so.9 -> libnetsnmpagent.so.9.0.1
-rw-r--r-- 1 root root 266728 2007-02-07 03:36 libnetsnmpagent.so.9.0.1
Here's the results of make:
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c
mv -f .deps/sql.Tpo .deps/sql.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT spine.o -MD -MP -MF .deps/spine.Tpo -c -o spine.o spine.c
mv -f .deps/spine.Tpo .deps/spine.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
mv -f .deps/snmp.Tpo .deps/snmp.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c
mv -f .deps/locks.Tpo .deps/locks.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT poller.o -MD -MP -MF .deps/poller.Tpo -c -o poller.o poller.c
mv -f .deps/poller.Tpo .deps/poller.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT nft_popen.o -MD -MP -MF .deps/nft_popen.Tpo -c -o nft_popen.o nft_popen.c
mv -f .deps/nft_popen.Tpo .deps/nft_popen.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c
mv -f .deps/php.Tpo .deps/php.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c
mv -f .deps/ping.Tpo .deps/ping.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o keywords.c
mv -f .deps/keywords.Tpo .deps/keywords.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/error.Tpo .deps/error.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/lib -L/usr/lib -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm -lnsl
mkdir .libs
gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/lib /usr/lib/libnetsnmp.so /usr/lib/libmysqlclient_r.so -lcrypto -lz -lpthread -lm -lnsl
Am I correct in seeing that the spine executable is using sym link libnetsnmp.so.9, but the make is using symlink libnetsnmp.so? They both point to the same file in the same dir:
-rw-r--r-- 1 root root 266728 2007-02-07 03:36 libnetsnmpagent.so.9.0.1
Or am I WAY off? Again, thanks very much for your time.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What about that locate command? If it's not available on your platform, do the following:
Maybe something in /usr/lib/netsnmp or something like that.
TheWitness
Code: Select all
find / -name libnet\* -print
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Sorry...here's "locate libnet*" results:
/var/lib/dpkg/info/libnet-daemon-perl.md5sums
/var/lib/dpkg/info/libnet-daemon-perl.list
/var/lib/dpkg/info/libnet-dbus-perl.list
/var/lib/dpkg/info/libnet-dbus-perl.md5sums
/var/cache/apt/archives/libnet-snmp-perl_5.2.0-1_all.deb
/usr/bin/libnetcfg
/usr/share/perl/5.8.8/Net/libnetFAQ.pod
/usr/share/doc/libnet-daemon-perl
/usr/share/doc/libnet-daemon-perl/MANIFEST
/usr/share/doc/libnet-daemon-perl/changelog.gz
/usr/share/doc/libnet-daemon-perl/copyright
/usr/share/doc/libnet-daemon-perl/changelog.Debian.gz
/usr/share/doc/libnet-daemon-perl/README.gz
/usr/share/doc/libnet-dbus-perl
/usr/share/doc/libnet-dbus-perl/changelog.gz
/usr/share/doc/libnet-dbus-perl/examples
/usr/share/doc/libnet-dbus-perl/examples/example-service-no-introspect.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client-async.pl
/usr/share/doc/libnet-dbus-perl/examples/notification.pl
/usr/share/doc/libnet-dbus-perl/examples/example-service-async.pl
/usr/share/doc/libnet-dbus-perl/examples/example-signal-emitter.pl
/usr/share/doc/libnet-dbus-perl/examples/example-signal-receiver.pl
/usr/share/doc/libnet-dbus-perl/examples/lshal.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client.pl
/usr/share/doc/libnet-dbus-perl/examples/dump-object.pl
/usr/share/doc/libnet-dbus-perl/examples/example-service.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client-no-introspect.pl
/usr/share/doc/libnet-dbus-perl/README
/usr/share/doc/libnet-dbus-perl/copyright
/usr/share/doc/libnet-dbus-perl/changelog.Debian.gz
/usr/share/man/man1/libnetcfg.1.gz
/usr/share/man/man3/libnetlink.3.gz
/usr/local/lib/libnetsnmptrapd.so.15
/usr/local/lib/libnetsnmp.la
/usr/local/lib/libnetsnmptrapd.la
/usr/local/lib/libnetsnmptrapd.a
/usr/local/lib/libnetsnmpmibs.so
/usr/local/lib/libnetsnmpagent.so.15
/usr/local/lib/libnetsnmpmibs.la
/usr/local/lib/libnetsnmp.so.15.1.0
/usr/local/lib/libnetsnmp.a
/usr/local/lib/libnetsnmphelpers.la
/usr/local/lib/libnetsnmptrapd.so.15.1.0
/usr/local/lib/libnetsnmp.so.15
/usr/local/lib/libnetsnmphelpers.so.15
/usr/local/lib/libnetsnmpagent.so.15.1.0
/usr/local/lib/libnetsnmpmibs.a
/usr/local/lib/libnetsnmpagent.la
/usr/local/lib/libnetsnmpmibs.so.15
/usr/local/lib/libnetsnmphelpers.so
/usr/local/lib/libnetsnmptrapd.so
/usr/local/lib/libnetsnmp.so
/usr/local/lib/libnetsnmpmibs.so.15.1.0
/usr/local/lib/libnetsnmphelpers.so.15.1.0
/usr/local/lib/libnetsnmpagent.so
/usr/local/lib/libnetsnmphelpers.a
/usr/local/lib/libnetsnmpagent.a
/usr/lib/libnetsnmphelpers.so.9
/usr/lib/libnetsnmp.la
/usr/lib/libnetsnmptrapd.la
/usr/lib/libnetsnmptrapd.a
/usr/lib/libnetsnmpmibs.so
/usr/lib/libnetsnmpmibs.la
/usr/lib/libnetsnmptrapd.so.9
/usr/lib/libnetsnmptrapd.so.9.0.1
/usr/lib/libnetsnmp.a
/usr/lib/libnetsnmphelpers.la
/usr/lib/libnetsnmphelpers.so.9.0.1
/usr/lib/libnetsnmp.so.15
/usr/lib/libnetsnmp.so.9.0.1
/usr/lib/libnetsnmpmibs.a
/usr/lib/libnetsnmpagent.la
/usr/lib/libnetsnmphelpers.so
/usr/lib/libnetsnmptrapd.so
/usr/lib/libnetsnmp.so
/usr/lib/libnetsnmpmibs.so.9
/usr/lib/libnetsnmpagent.so
/usr/lib/libnetsnmp.so.9
/usr/lib/libnetsnmpagent.so.9.0.1
/usr/lib/libnetsnmpagent.so.9
/usr/lib/gnome-vfs-2.0/modules/libnetwork.so
/usr/lib/libnetsnmphelpers.a
/usr/lib/libnetsnmpagent.a
/usr/lib/libnetsnmpmibs.so.9.0.1
/var/lib/dpkg/info/libnet-daemon-perl.md5sums
/var/lib/dpkg/info/libnet-daemon-perl.list
/var/lib/dpkg/info/libnet-dbus-perl.list
/var/lib/dpkg/info/libnet-dbus-perl.md5sums
/var/cache/apt/archives/libnet-snmp-perl_5.2.0-1_all.deb
/usr/bin/libnetcfg
/usr/share/perl/5.8.8/Net/libnetFAQ.pod
/usr/share/doc/libnet-daemon-perl
/usr/share/doc/libnet-daemon-perl/MANIFEST
/usr/share/doc/libnet-daemon-perl/changelog.gz
/usr/share/doc/libnet-daemon-perl/copyright
/usr/share/doc/libnet-daemon-perl/changelog.Debian.gz
/usr/share/doc/libnet-daemon-perl/README.gz
/usr/share/doc/libnet-dbus-perl
/usr/share/doc/libnet-dbus-perl/changelog.gz
/usr/share/doc/libnet-dbus-perl/examples
/usr/share/doc/libnet-dbus-perl/examples/example-service-no-introspect.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client-async.pl
/usr/share/doc/libnet-dbus-perl/examples/notification.pl
/usr/share/doc/libnet-dbus-perl/examples/example-service-async.pl
/usr/share/doc/libnet-dbus-perl/examples/example-signal-emitter.pl
/usr/share/doc/libnet-dbus-perl/examples/example-signal-receiver.pl
/usr/share/doc/libnet-dbus-perl/examples/lshal.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client.pl
/usr/share/doc/libnet-dbus-perl/examples/dump-object.pl
/usr/share/doc/libnet-dbus-perl/examples/example-service.pl
/usr/share/doc/libnet-dbus-perl/examples/example-client-no-introspect.pl
/usr/share/doc/libnet-dbus-perl/README
/usr/share/doc/libnet-dbus-perl/copyright
/usr/share/doc/libnet-dbus-perl/changelog.Debian.gz
/usr/share/man/man1/libnetcfg.1.gz
/usr/share/man/man3/libnetlink.3.gz
/usr/local/lib/libnetsnmptrapd.so.15
/usr/local/lib/libnetsnmp.la
/usr/local/lib/libnetsnmptrapd.la
/usr/local/lib/libnetsnmptrapd.a
/usr/local/lib/libnetsnmpmibs.so
/usr/local/lib/libnetsnmpagent.so.15
/usr/local/lib/libnetsnmpmibs.la
/usr/local/lib/libnetsnmp.so.15.1.0
/usr/local/lib/libnetsnmp.a
/usr/local/lib/libnetsnmphelpers.la
/usr/local/lib/libnetsnmptrapd.so.15.1.0
/usr/local/lib/libnetsnmp.so.15
/usr/local/lib/libnetsnmphelpers.so.15
/usr/local/lib/libnetsnmpagent.so.15.1.0
/usr/local/lib/libnetsnmpmibs.a
/usr/local/lib/libnetsnmpagent.la
/usr/local/lib/libnetsnmpmibs.so.15
/usr/local/lib/libnetsnmphelpers.so
/usr/local/lib/libnetsnmptrapd.so
/usr/local/lib/libnetsnmp.so
/usr/local/lib/libnetsnmpmibs.so.15.1.0
/usr/local/lib/libnetsnmphelpers.so.15.1.0
/usr/local/lib/libnetsnmpagent.so
/usr/local/lib/libnetsnmphelpers.a
/usr/local/lib/libnetsnmpagent.a
/usr/lib/libnetsnmphelpers.so.9
/usr/lib/libnetsnmp.la
/usr/lib/libnetsnmptrapd.la
/usr/lib/libnetsnmptrapd.a
/usr/lib/libnetsnmpmibs.so
/usr/lib/libnetsnmpmibs.la
/usr/lib/libnetsnmptrapd.so.9
/usr/lib/libnetsnmptrapd.so.9.0.1
/usr/lib/libnetsnmp.a
/usr/lib/libnetsnmphelpers.la
/usr/lib/libnetsnmphelpers.so.9.0.1
/usr/lib/libnetsnmp.so.15
/usr/lib/libnetsnmp.so.9.0.1
/usr/lib/libnetsnmpmibs.a
/usr/lib/libnetsnmpagent.la
/usr/lib/libnetsnmphelpers.so
/usr/lib/libnetsnmptrapd.so
/usr/lib/libnetsnmp.so
/usr/lib/libnetsnmpmibs.so.9
/usr/lib/libnetsnmpagent.so
/usr/lib/libnetsnmp.so.9
/usr/lib/libnetsnmpagent.so.9.0.1
/usr/lib/libnetsnmpagent.so.9
/usr/lib/gnome-vfs-2.0/modules/libnetwork.so
/usr/lib/libnetsnmphelpers.a
/usr/lib/libnetsnmpagent.a
/usr/lib/libnetsnmpmibs.so.9.0.1
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Did you install Net-SNMP 5.4.1 at any time ?Cedrick wrote:I see in the spine snmp.c file that PACKAGE_VERSION and netsnmp_get_version() are returning the different version values (SNMP Header Version is 5.4.1 and SNMP Library Version is 5.2.3) which are responsible for the SNMP library mismatch shown in initial post, but that's as far as I got in determining what path and file(s) they're looking at.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your issue is that you have two versions of Net-SNMP libraries installed. Once is in /usr/local/lib and the other in /usr/lib. My guess is that the package responsible for the ones added to /usr/lib is the culprit.
I don't know the package command to track that down. Maybe the french connection can help here. That package will have to be uninstalled, or alternatively the other one moved? I'd say it's a bug on the part of the OS maintainer and needs to be logged.
TheWitness
I don't know the package command to track that down. Maybe the french connection can help here. That package will have to be uninstalled, or alternatively the other one moved? I'd say it's a bug on the part of the OS maintainer and needs to be logged.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
TheWitness - Thank you very much for taking your valuable time to work with me, I greatly appreciate it. Probably won't be until later this evening before I can look at it with family/Thanksgiving.
fmangeant - Net-SNMP 5.4.1 may have been installed at one time. I inherited this box a little while ago. Are there other files/locations I need to address? Thank you very much for your help.
fmangeant - Net-SNMP 5.4.1 may have been installed at one time. I inherited this box a little while ago. Are there other files/locations I need to address? Thank you very much for your help.
Well I couldn't resist...Thinking that Net-SNMP 5.4.1 may have been installed at one time and was not properly uninstalled, I reinstalled it, etc., and then uninstalled it. That got rid of the libnet* files it installed in /usr/local/lib. I then recompiled spine and things are running great.
Thank you very much for all your help!
Thank you very much for all your help!
Who is online
Users browsing this forum: No registered users and 6 guests