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

"Lee, John (Sydney)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <136A969E54082648AD45F9228A75F53C02E424F1@apac-syd-ex001.apac.cpwr.corp>
> OK - so there's nothing wrong with the agent binary itself.
> The problem lies somewhere in the config file processing.
> The next question is where.
> 
> Try running:
> 
>     snmpd -f -Le -Dread_config
> 
> What does that display?
> 

Hi Dave, please see attached.
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

-------------------------------------------------------------------------
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
snmpd -f -Le -Dread_config.txt (text/plain, 6.8 KB)
# snmpd -f -Le -Dread_config
registered debug token read_config, 1
read_config: reading premib configuration tokens
read_config:  config path used for snmpd:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)
read_config: Reading configuration /etc/snmp/snmpd.conf
read_config: /etc/snmp/snmpd.conf:41 examining: com2sec notConfigUser  default       compuware
read_config: /etc/snmp/snmpd.conf:47 examining: group   notConfigGroup v1           notConfigUser
read_config: /etc/snmp/snmpd.conf:48 examining: group   notConfigGroup v2c           notConfigUser
read_config: /etc/snmp/snmpd.conf:55 examining: view    all            included      .1
read_config: /etc/snmp/snmpd.conf:56 examining: view    systemview    included   .1.3.6.1.2.1.1
read_config: /etc/snmp/snmpd.conf:57 examining: view    systemview    included   .1.3.6.1.2.1.25.1.1
read_config: /etc/snmp/snmpd.conf:63 examining: access  notConfigGroup ""      any       noauth    exact  all    all    none
read_config: /etc/snmp/snmpd.conf:163 examining: syslocation Unknown (edit /etc/snmp/snmpd.conf)
read_config: /etc/snmp/snmpd.conf:164 examining: syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
read_config: /etc/snmp/snmpd.conf:451 examining: pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
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.local.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.local.conf: No such file or directory
read_config: /root/.snmp/snmpd.conf: No such file or directory
read_config: /root/.snmp/snmpd.local.conf: No such file or directory
read_config:  config path used for snmpd:/var/net-snmp (persistent path:/var/net-snmp)
read_config: Reading configuration /var/net-snmp/snmpd.conf
read_config: /var/net-snmp/snmpd.conf:32 examining: setserialno 144548405
read_config: /var/net-snmp/snmpd.conf:44 examining: ifXTable .1 14:0 18:0x $
read_config: /var/net-snmp/snmpd.conf:45 examining: ifXTable .2 14:0 18:0x $
read_config: /var/net-snmp/snmpd.conf:46 examining: ifXTable .3 14:0 18:0x $
read_config: /var/net-snmp/snmpd.conf:50 examining: engineBoots 1
read_config: /var/net-snmp/snmpd.conf:51 examining: oldEngineID 0x80001f8880cfd4e135b6f1fc46
read_config: Found a parser.  Calling it: oldEngineID / 0x80001f8880cfd4e135b6f1fc46
read_config: /var/net-snmp/snmpd.local.conf: No such file or directory
read_config:  config path used for agentx:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)
read_config: /etc/snmp/agentx.conf: No such file or directory
read_config: /etc/snmp/agentx.local.conf: No such file or directory
read_config: /usr/share/snmp/agentx.conf: No such file or directory
read_config: /usr/share/snmp/agentx.local.conf: No such file or directory
read_config: /usr/lib/snmp/agentx.conf: No such file or directory
read_config: /usr/lib/snmp/agentx.local.conf: No such file or directory
read_config: /root/.snmp/agentx.conf: No such file or directory
read_config: /root/.snmp/agentx.local.conf: No such file or directory
read_config:  config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp)
read_config: /var/net-snmp/agentx.conf: No such file or directory
read_config: /var/net-snmp/agentx.local.conf: No such file or directory
read_config:  config path used for snmp:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)
read_config: /etc/snmp/snmp.conf: No such file or directory
read_config: /etc/snmp/snmp.local.conf: No such file or directory
read_config: /usr/share/snmp/snmp.conf: No such file or directory
read_config: /usr/share/snmp/snmp.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.local.conf: No such file or directory
read_config: /root/.snmp/snmp.conf: No such file or directory
read_config: /root/.snmp/snmp.local.conf: No such file or directory
read_config:  config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp)
read_config: /var/net-snmp/snmp.conf: No such file or directory
read_config: /var/net-snmp/snmp.local.conf: No such file or directory
read_config: reading normal configuration tokens
read_config:  config path used for snmpd:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)
read_config: Reading configuration /etc/snmp/snmpd.conf
read_config: /etc/snmp/snmpd.conf:41 examining: com2sec notConfigUser  default       compuware
read_config: Found a parser.  Calling it: com2sec / notConfigUser  default       compuware
read_config: /etc/snmp/snmpd.conf:47 examining: group   notConfigGroup v1           notConfigUser
read_config: Found a parser.  Calling it: group / notConfigGroup v1           notConfigUser
read_config: /etc/snmp/snmpd.conf:48 examining: group   notConfigGroup v2c           notConfigUser
read_config: Found a parser.  Calling it: group / notConfigGroup v2c           notConfigUser
read_config: /etc/snmp/snmpd.conf:55 examining: view    all            included      .1
read_config: Found a parser.  Calling it: view / all            included      .1
read_config: /etc/snmp/snmpd.conf:56 examining: view    systemview    included   .1.3.6.1.2.1.1
read_config: Found a parser.  Calling it: view / systemview    included   .1.3.6.1.2.1.1
read_config: /etc/snmp/snmpd.conf:57 examining: view    systemview    included   .1.3.6.1.2.1.25.1.1
read_config: Found a parser.  Calling it: view / systemview    included   .1.3.6.1.2.1.25.1.1
read_config: /etc/snmp/snmpd.conf:63 examining: access  notConfigGroup ""      any       noauth    exact  all    all    none
read_config: Found a parser.  Calling it: access / notConfigGroup ""      any       noauth    exact  all    all    none
read_config: /etc/snmp/snmpd.conf:163 examining: syslocation Unknown (edit /etc/snmp/snmpd.conf)
read_config: Found a parser.  Calling it: syslocation / Unknown (edit /etc/snmp/snmpd.conf)
read_config: /etc/snmp/snmpd.conf:164 examining: syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
read_config: Found a parser.  Calling it: syscontact / Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
read_config: /etc/snmp/snmpd.conf:451 examining: pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
read_config: Found a parser.  Calling it: pass / .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
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
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.