default install with error 'cannot load module' but all default MIBs are on place

Leo Lagos <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAOYLpW5TLWL4n2FSUudR2uDP-B-0+r-Qr_gKTQ9AaMwS9iA7yw@mail.gmail.com>
Hi.

I've just installed net-snmp 5.7 on solaris 10... default install...

Now, for a simple snmpwalk, it shows a lot of error of mib module not
found, but they are all standard MIBs modules, which are actually in the
default directory...

For instance:
-bash-3.00$ snmpwalk -v2c -c swoet0*6 -m all 201.91.104.7 ifalias
MIB search path: /export/home/netcool/.snmp/mibs:/usr/local/share/snmp/mibs
Cannot find module (SNMPv2-SMI): At line 5 in
/usr/local/share/snmp/mibs/UDP-MIB.txt
Cannot find module (INET-ADDRESS-MIB): At line 8 in
/usr/local/share/snmp/mibs/UDP-MIB.txt
Cannot find module (UDP-MIB): At line 1 in (none)
Cannot find module (SNMPv2-TC): At line 37 in
/usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (UCD-SNMP-MIB): At line 1 in (none)
and so on...

But on the default folder:

-bash-3.00$ pwd
/usr/local/share/snmp/mibs
-bash-3.00$ ls -l SNMPv2*
-rw-r--r--   1 bin      bin         8263 Jul  2  2011 SNMPv2-CONF.txt
-rw-r--r--   1 bin      bin        29305 Jul  2  2011 SNMPv2-MIB.txt
-rw-r--r--   1 bin      bin         8924 Jul  2  2011 SNMPv2-SMI.txt
-rw-r--r--   1 bin      bin        38034 Jul  2  2011 SNMPv2-TC.txt
-rw-r--r--   1 bin      bin         5775 Jul  2  2011 SNMPv2-TM.txt
-bash-3.00$ head SNMPv2-SMI.txt
SNMPv2-SMI DEFINITIONS ::= BEGIN

-- the path to the root

org            OBJECT IDENTIFIER ::= { iso 3 }  --  "iso" = 1
dod            OBJECT IDENTIFIER ::= { org 6 }
internet       OBJECT IDENTIFIER ::= { dod 1 }

directory      OBJECT IDENTIFIER ::= { internet 1 }

-bash-3.00$

As You can see, the MIBs are there...!

so why the error then?

Any hint greatly appreciated.

Regards,

Leo

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.