Re: net-snmp application

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/18 Fernández Piñas, David <[email protected]>:
> Define environment variable MIBS=ALL.

But that won't fix the underlying problem.

The application is trying to load a list of (fairly standard) MIBs,
but the library can't find them.   Assuming that those MIBs
are indeed present on the system, then that indicates a
misconfiguration somewhere, which needs to be fixed.



jie zhong  wrote:
> Now I need to make the application into a rpm. rpm includes the exe, mib, library.

You say that the RPM includes the MIB files.
Where are these being installed?
Exactly what files are included in the RPM?


> When I install my rpm on another linux box, it said it can not find
> the default mibs, such as:
> No log handling enabled - turning on stderr logging
> Cannot find module (IP-MIB): At line 0 in (none)
> Cannot find module (IF-MIB): At line 0 in (none)
    :

Try running your application with the debug option '-Dread_config'
That will indicate which directory/ies it is looking for MIB files in.

How does that compare with where the MIB files actually are?

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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.