Hi,
Find the answers as follows,
$ rpm -q -f `which snmpd`
file /usr/local/sbin/snmpd is not owned by any package
$ ps -ef | grep snmp
root 17139 1 0 16:44 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf
/dev/null -p /var/run/snmpd -a
root 17639 18176 0 16:57 pts/0 00:00:00 grep snmp
root 21648 1 0 15:41 ? 00:00:00 /usr/sbin/snmptrapd -Lsd
-p /var/run/snmptrapd.pid
Thanks & Regards,
ElayaRaja
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, April 22, 2008 8:24 PM
To: Sathasivam, Elayaraja
Cc: [email protected]
Subject: Re: Timeout: No Response from localhost
On 22/04/2008, Sathasivam, Elayaraja
<[EMAIL PROTECTED]> wrote:
> I installed net-snmp-5.3.1-14.el5.x86_64.rpm,
> net-snmp-libs-5.3.1-14.el5.x86_64.rpm,
> net-snmp-utils-5.3.1-14.el5.x86_64.rpm.
>
> And I updated the /etc/snmp/snmpd.conf as "rocommunity public". But I
am
> getting the error as follows, could you please help me for the same.
> # snmpd -f -Le
>
> 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()
You can ignore those three messages. They're harmless.
> Warning: no access control information configured.
> It's unlikely this agent can serve any useful purpose in this state.
That one, however, is more worrying.
That sounds as if the agent isn't picking up your snmpd.conf file.
What is the output from
which snmpd
rpm -q -f `which snmpd`
?
> Error opening specified endpoint ""
> Server Exiting with code 1
This seems to show that the agent isn't even getting started correctly.
What does /etc/init.d/snmpd look like?
What about /etc/default/snmpd and/or /etc/sysconfig/snmpd
and/or /etc/snmpd/snmpd.options?
What does
ps -ef | grep snmp
report?
Dave
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this
message.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
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