Can't load mib file - I've read all the post I could find

This is a discussion on Can't load mib file - I've read all the post I could find within the SNMP Users forums, part of the Networking and Network Related category; Greetings! I've compiled the net-snmp 5.4.1 sources in HPUX 11 and everything worked fine. Now I'...


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-2008
vsaavedra
 
Posts: n/a
Default Can't load mib file - I've read all the post I could find

Greetings!



I've compiled the net-snmp 5.4.1 sources in HPUX 11 and everything worked
fine.



Now I'm trying to run mib2c, and it cant find the mib file. I tried a

snmptranslate -m ALL myModuleIdentityName and I'm getting :



No log handling enabled - turning on stderr logging

ptInovacao: Unknown Object Identifier (Sub-id not found: (top) ->
myModuleIdentityName)



I also tried :



MIBS=+MYMIB

export MIBS



env MIBS="+MYMIB" ./mib2c -c mib2c.create-dataset.conf MYMIB
::myModuleIdentityName





I've read lots of posts and tried everything but nothing worked.

Net-snmp-config gives me:



kapa:root> ./net-snmp-config --prefix

/usr/local



kapa:root> ./net-snmp-config --default-mibdirs

//.snmp/mibs:/usr/local/share/snmp/mibs



kapa:root> ./net-snmp-config --snmpconfpath

/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp://.snmp:/var/n
et-snmp



kapa:root> ./net-snmp-config --persistent-directory

/var/net-snmp



I've put my mib file both in $HOME/.snmp/mibs and in
/usr/local/share/snmp/mibs (all places stated by --default-mibdirs)



I've put snmp.conf with mibs +MYMIB in all the places stated by
net-snmp-config --snmpconfpath.



I've tried the following command : snmpwalk -Dparse-mibs -v 1 -c private
localhost system



And it gives (I've also put the last lines):



.......



parse-mibs: Module SNMPv2-SMI already loaded

parse-mibs: Module SNMPv2-TC already loaded

parse-mibs: #### adding Module 0 'enterprises' 5

parse-mibs: #### adding Module 0 'TestAndIncr' 6

parse-mibs: Processing IMPORTS for module 0 MYMIB

parse-mibs: Processing import: enterprises

parse-mibs: Processing import: TestAndIncr

Timeout: No Response from localhost

>From this, it looks that the agent can't import TestAndIncr so it fails

loading my mib!



Can you please help me? I've read all the post I could find and tried
everithink, but nothing worked.






-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
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 08:17 PM.


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