Antwort: Re: Re: Error mibII/system_mib.c:68: error: `NETSNMP_SYS_CONTACT' undeclared here (not in a function)

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OFC414D118.F1054E23-ONC1257425.004D593B-C1257425.004D71D5@Buecher-Balmer.ch>
Thanks. Now i can start the Agent. But in the logfile e get these errors:

netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 
netsnmp_subtree_load()
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file 
for this agent.
NET-SNMP version 5.4.1






"Dave Shield" <[email protected]> 
Gesendet von: [email protected]
08.04.2008 12:59

An
"Pranesh Kulkarni" <[email protected]>
Kopie
[email protected], [email protected]
Thema
Re: Re: Error mibII/system_mib.c:68: error: `NETSNMP_SYS_CONTACT' 
undeclared here (not in a function)






On 08/04/2008, Pranesh Kulkarni <[email protected]> wrote:
>         Give a symbolic link to that library ,
>          ln -s libelf.so.15 /usr/lib/libelf.so
>
>     and also check this link
>   http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Compiling_02

No.
That FAQ entry (and the command you give) are concerned with
problems when *compiling* the agent - typically when missing
some required development packages.

The error that David is reporting relates to *running* the agent.
And the library that it's complaining about is part of the Net-SNMP
suite itself - not a separate (missing) package.

David - have a look in the location where the rest of the Net-SNMP
libraries have been installed.  (Typically /usr/local/lib).
   Can you see libnetsnmpagent.{anything}?   What?

It might be worth running "ldconfig"
(or possibly "ldconfig /usr/local/lib")

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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.