On 11 January 2011 13:31, sanjay kumar <fromsan...@gmail.com> wrote:
> I have problem to generate the code using mib2c:
>
> snmptranslate  1.3.6.1.4.1.388.11.2.2.11.10
> SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
>
> sym...@debian-build01:~/Sanjay$ mib2c -c mib2c.iterate.conf
> SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
> you didn't give me a valid OID to start with at /usr/local/bin/mib2c line 115.


If snmptranslate can find the MIB, but mib2c cannot, then my suspicion
is that you may be using two different versions of the software.
(e.g. one supplied by Debian, and one that you compiled yourself).

Particularly since mib2c talks about '/usr/local/bin' - which typically
indicates a user-configured installation, rather than a vendor-provided one.


Where is the SYMBOL-CC-WS2000-MIB file installed?

Try copying it to a MIB directory somewhere under /usr/local
(probably /usr/local/share/snmp/mibs)
   See if mib2c can find it there...

Dave

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to