Undefined subroutine &SNMP::initMib called

This is a discussion on Undefined subroutine &SNMP::initMib called within the SNMP Coders forums, part of the Networking and Network Related category; Hello everyone, :Can anyone help me with this problem. I've spent several days on it and it almost drive ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2006
chen jacky
 
Posts: n/a
Default Undefined subroutine &SNMP::initMib called

Hello everyone,

:Can anyone help me with this problem. I've spent several days on it and it

almost drive me mad.

:I am using RedHat ES 4, and I've installed net-snmp 5.12. When I try to
run a
program, it got the following error message:

[root@hosta libexec]# ./check_snap_disk_snmp -H 10.3.16.110 -C 1 -c 80 -w
90
Undefined subroutine &SNMP::initMib called at ./check_snap_disk_snmp line
98.

:I have no idea where is initMib, then I search at cpan.org, it seems that
only
SNMP-4.2.0 has this function. When I try to install SNMP 4.2.0, I also
failed
to install it. Following are my procedure and the error message:

[root@hosta SNMP-4.2.0]# perl Makefile.PL
Where are the ucd-snmp include files? [/usr/local/include]
Unable to open /usr/local/include/ucd-snmp/ucd-snmp-config.h, assuming no
SSL
WARNING: MAN3PODS takes a hash reference not a string/number.
Please inform the author.
Checking if your kit is complete...
Looks good
Can't use string ("SNMP") as a HASH ref while "strict refs" in use at
/usr/lib/perl5/5.8.5/ExtUtils/MM_Unix.pm line 510.


:I have no idea now. How come the new version of SNMP doesn't support old
version's function? Can anyone tell me how to solve the problem?

Many thanks!

Jacky

__________________________________________________ _______________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0