Hi,

I've just compiled net-snmp 5.3 on linux.

I'm trying to start snmpd though and it's not working, and I don't understand 
why.

At the command line I'm typing this:
/usr/sbin/snmpd -Lf /var/log/snmpd -Dmib_init -u snmp -p /var/run/snmpd.pid -I 
-lmSensors,ipv6,proxy

The contents of /var/log/snmpd shows a whole heap of mib_init lines where it's 
correctly starting and not starting modules as per the command line:
mib_init: initializing: diskio
mib_init: skipping:     lmSensors
(etc etc etc)

Running ps aux | grep snmp shows a running instance of snmpd.
root      4033  0.1  1.0   7608  4048 ?        S    11:25   
0:01 /usr/sbin/snmpd -Lf /var/log/snmpd -Dmib_init -u snmp 
-p /var/run/snmpd.pid -I -lmSensors ipv6 proxy

However. No pid file is ever being written to /var/run, and when I run 
netstat, the snmpd daemon is not listening.

I've tried with and without the -u snmp line and it makes no difference. I've 
also explicitly stated UDP:161 but that makes no difference either.

I have no idea where to go from here - does anyone know what I'm doing wrong?

Thanks.

Helen.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to