Bluehost.com Web Hosting $6.95

How to disable net-snmp "Cannot find module" errors

This is a discussion on How to disable net-snmp "Cannot find module" errors within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0378348706== content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2007
Makavy, Erez
 
Posts: n/a
Default How to disable net-snmp "Cannot find module" errors

This is a multi-part message in MIME format.

--===============0378348706==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C75B13.8ABBDDA4"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C75B13.8ABBDDA4
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Problem:
------------
=20
I'm getting net-snmp "Cannot find module" error whenever Net-SNMP is
initialized.
=20
1) For example, when I run php script (php compiled with net-snmp):
>php phptest.php=20

No log handling enabled - turning on stderr logging
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)

2) It also happens when the master agent starts.
=20
=20
Analysis:
------------
The errors indicate that the MIB definition files are missing.
These files are used for OID translation, but I don't need OID
translation, and I don't want these files on my system (taking CF space,
in embedded system).
=20
Questions:
-------------------
how can I remove these error messages?
=20
=20
Thanks,
Erez.

------_=_NextPart_001_01C75B13.8ABBDDA4
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007>Problem:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007>------------</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D196133108-28022007>I'm =
getting net-snmp=20
"Cannot find module" error whenever Net-SNMP is =
initialized.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D196133108-28022007>1) For =
example, when=20
I run php script (php compiled with net-snmp):</SPAN></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D196133108-28022007>&gt;</SPAN>php=20
phptest.php <BR>No log handling enabled - turning on stderr =
logging<BR>Cannot=20
find module (SNMPv2-MIB): At line 0 in (none)<BR>Cannot find module=20
(SNMPv2-SMI): At line 0 in (none)<BR>Cannot find module=20
(SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)<BR>Cannot find module=20
(SNMP-COMMUNITY-MIB): At line 0 in (none)<BR>Cannot find module =
(UCD-SNMP-MIB):=20
At line 0 in (none)<BR>Cannot find module (UCD-DEMO-MIB): At line 0 in=20
(none)<BR>Cannot find module (SNMP-TARGET-MIB): At line 0 in =
(none)<BR>Cannot=20
find module (IF-MIB): At line 0 in (none)<BR>Cannot find module=20
(HOST-RESOURCES-MIB): At line 0 in (none)<BR>Cannot find module=20
(HOST-RESOURCES-TYPES): At line 0 in (none)<BR>Cannot find module=20
(SNMP-FRAMEWORK-MIB): At line 0 in (none)<BR>Cannot find module =
(SNMP-MPD-MIB):=20
At line 0 in (none)<BR>Cannot find module (SNMP-USER-BASED-SM-MIB): At =
line 0 in=20
(none)<BR>Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in=20
(none)<BR>Cannot find module (UCD-DLMOD-MIB): At line 0 in =
(none)<BR>Cannot find=20
module (SNMP-NOTIFICATION-MIB): At line 0 in (none)<BR>Cannot find =
module=20
(SNMPv2-TM): At line 0 in (none)<BR></FONT></FONT></DIV>
<DIV><FONT><SPAN class=3D196133108-28022007><FONT face=3DArial =
size=3D2>2) It also=20
happens when the master agent starts.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2>Analysis:</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2>------------</FONT></SPAN></DIV></FONT>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D196133108-28022007>The =
errors indicate=20
that the MIB definition files are missing.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D196133108-28022007>These =
files are used=20
for OID translation, but I don't need OID translation, and I don't want =
these=20
files on my system (taking CF space, in embedded =
system).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007>Questions:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D196133108-28022007>-------------------</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D196133108-28022007>how =
can I remove=20
these error messages?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D196133108-28022007><FONT face=3DArial=20
size=3D2>Erez.</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C75B13.8ABBDDA4--


--===============0378348706==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============0378348706==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0378348706==--

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 06:57 AM.


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