Re: Cannot start snmpd plus "snmp dead but subsys locked" msg

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 29/09/2007, Lee, John (Sydney) <[email protected]> wrote:
> > The problem lies somewhere in the config file processing.
> > Try running:
> >     snmpd -f -Le -Dread_config
> > What does that display?
> >
>
> Hi Dave, please see attached.

------
   :
read_config: /etc/snmp/snmpd.conf:459 examining: smuxpeer
.1.3.6.1.4.1.674.10892.1
read_config: /etc/snmp/snmpd.conf:460 examining: trapsink
172.28.18.142 compuware
   :
read_config: /etc/snmp/snmpd.conf:459 examining: smuxpeer
.1.3.6.1.4.1.674.10892.1
read_config: Found a parser.  Calling it: smuxpeer / .1.3.6.1.4.1.674.10892.1
Segmentation fault

------

So it's falling over when parsing the file /etc/snmp/snmpd.conf.
somewhere between line 459:
    smuxpeer .1.3.6.1.4.1.674.10892.1
and line 460:
    trapsink 172.28.18.142 compuware

Try commenting out both of these lines, and run the agent ("snmpd -f -Le").
Does it start up OK?
Then try activating one of these two lines, and re-start the agent.
Then try with the other one.

Can you isolate the problem to one of these two snmpd.conf directives?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.