Re: net-snmp Sub-Agent Demon tutorial problen
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On Wed, 2005-10-05 at 17:04 +0800, Earnest Pan wrote:
> I already created the new snmpd file.
>
> When I execute /usr/local/sbin/snmpd
> I check the file I created was read.
Which file is this?
> But /usr/local/sbin/snmpd -f -Le -Dagentx
> shows following
>
> agentx/subagent: init_subagent sess 0809b340
> Turning on AgentX master support.
> agentx/master: initializing...
> agentx/master: initializing... DONE
> Error opening specified endpoint "161"
> Server Exiting with code 1
>
> executing netstat -an|grep 161
> shows
> udp 0 0 0.0.0.0:161 0.0.0.0:*
>
> Why can't I start snmp master agent?
Because there's already an SNMP agent running.
Probably one provided by default as part of the O/S.
(As I've suggested at least twice already)
> What can I do ?
Shut it down, before trying to start your version.
You've never actually said what O/S you are working
with, so we can't tell you exactly how to do this.
But on a Linux box, it would be something like
/etc/rc.d/init.d/snmpd stop
And for safety, I suggest you remove this version
altogether ("rpm -e net-snmp"), so that you *know*
you'll always be working with the new version.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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