Welcome to Pandora FMS Community › Forums › Community support › SNMP perl issues
-
SNMP perl issues
Posted by bluelinq on February 7, 2008 at 01:06I am having a lot of issues getting Pandora 1.3 working under Centos 4.6. I installed all the libraries as far as I know, but I am getting the error below when trying to start pandora network.
What I have installed is:
perl-URI-1.30-4
perl-handler-utils-1.3.0-11BQ9.centos4
perl-DBD-MySQL-2.9004-3.1.centos4
perl-suidperl-5.8.5-36.el4_5.2
perl-DateManip-5.42a-3
perl-NetAddr-IP-4.007-1.el4.rf
perl-Filter-1.34-1.el4.rf
perl-PlRPC-0.2020-1.el4.rf
perl-Crypt-PasswdMD5-1.3-1.2.el4.rf
perl-Date-Calc-5.3-9
perl-libwww-perl-5.79-5
perl-Time-HiRes-1.9711-1.el4.rf
perl-Compress-Raw-Zlib-2.008-1.el4.rf
perl-IO-Compress-Base-2.008-1.el4.rf
perl-Compress-Zlib-2.008-1.el4.rf
perl-HTML-Parser-3.56-1.el4.rf
perl-Net-Daemon-0.43-1.el4.rf
perl-DBI-1.601-1.el4.rf
perl-TimeDate-1.16-5.el4
perl-Digest-SHA1-2.07-5
perl-Authen-PAM-0.16-1.2.el4.rf
perl-Jcode-2.06-1.el4.rf
perl-Bit-Vector-6.3-3
perl-GDTextUtil-0.86-0BQ1
perl-5.8.5-36.el4_5.2
perl-XML-Parser-2.34-5
perl-GDGraph-1.43-0BQ1
mod_perl-1.99_16-4.5
perl-XML-Simple-2.18-1.el4.rf
net-snmp-perl-5.1.2-11.el4_6.11.2
perl-HTML-Tagset-3.10-1.el4.rf
perl-IO-Compress-Zlib-2.008-1.el4.rf
perl-Mail-Sendmail-0.79-1.2.el4.rf
perl-File-Tail-0.99.3-1.2.el4.rf
perl-Quota-1.6.2-1.el4.rf
perl-Data-Flow-0.09-1.2.el4.rf
perl-GD-2.35-1.el4.rfnet-snmp-libs-5.1.2-11.el4_6.11.2
net-snmp-devel-5.1.2-11.el4_6.11.2
net-snmp-5.1.2-11.el4_6.11.2
net-snmp-utils-5.1.2-11.el4_6.11.2
net-snmp-perl-5.1.2-11.el4_6.11.2Error when starting pandora network.
Any ideas?
NetSNMP::default_store object version 5.0401 does not match bootstrap parameter 5.1.2 at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
BEGIN failed–compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
Compilation failed in require at /usr/bin/pandora_network line 31.
BEGIN failed–compilation aborted at /usr/bin/pandora_network line 31Sancho replied 17 years ago 2 Members · 6 Replies -
6 Replies
-
::
I am having a lot of issues getting Pandora 1.3 working under Centos 4.6. I installed all the libraries as far as I know, but I am getting the error below when trying to start pandora network.
What I have installed is:
Error when starting pandora network.Any ideas?
NetSNMP::default_store object version 5.0401 does not match bootstrap parameter 5.1.2 at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
BEGIN failed–compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
Compilation failed in require at /usr/bin/pandora_network line 31.
BEGIN failed–compilation aborted at /usr/bin/pandora_network line 31Pandora FMS 1.3.1 Demo server is running over a CentOS5 and does not have any problems, this is the packages installed (all from YUM repositories, not with CPAN):
net-snmp-perl-5.3.1-14.el5
This is he only one perl SNMP package dep for Pandora Network, you also will need:
net-snmp-utils-5.3.1-14.0.1.el5
net-snmp-libs-5.3.1-14.el5
net-snmp-5.3.1-14.0.1.el5I hope this helps.
-
::
Nil, thanks. I removed the cpan packages and install the one you suggested via yum. See the error below…
If you only use yum, how do you install all the other dependencies like NetSNMP?
For this particular one, I used rpm . pbone . net and searched for libnetsnmp and cannot find a single entry for that file.
Can’t load ‘/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/NetSNMP/default_store/default_store.so’ for module NetSNMP::default_store: libnetsnmp.so.15: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
BEGIN failed–compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/SNMP.pm line 16.
Compilation failed in require at /usr/bin/pandora_network line 31.
BEGIN failed–compilation aborted at /usr/bin/pandora_network line 31. -
-
::
Something in my usr/lib/perl5 files was severly bad. I compared them with another server and now is working so lets keep the fingers crossed!!!.
-paExactly, what things do you do to fix this issue ?. This could be useful and if it’s something “usual” could be included in our official F.A.Q 🙂
-
::
Hmm, not like a real recipe. I compared the two directory structures starting from usr/lib/perl5 and searched for both snmp and SNMP. In the server with the problem I deleted all the directories with those and copy them form the other server.
I had an issue a few weeks back compiling Asterisk since apparently Centos does not properly use net-snmp and tried to use the source for it and I think that created the problem.
-
::
Hmm, not like a real recipe. I compared the two directory structures starting from usr/lib/perl5 and searched for both snmp and SNMP. In the server with the problem I deleted all the directories with those and copy them form the other server.
I had an issue a few weeks back compiling Asterisk since apparently Centos does not properly use net-snmp and tried to use the source for it and I think that created the problem.
Nasty problem 🙁
Gentoo for example uses a Perl without threads, and since Pandora FMS does an intensive usage of threads… well, the core Perl libraries are needed to recompile (all of them!), but, it’s gentoo 🙂