Forum

Full Version: SNMPD does not work.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed the snmpd service. It installed without any errors, but I can't run it:
Terminal
root@xbian:/home/xbian# service snmpd start
[....] Starting SNMP services::pcilib: Cannot open /proc/bus/pci
root@xbian:/home/xbian#
What could be the problem? I'm on RPi1, which has no PCI bus.

Thanks.
(23rd Dec, 2015 03:12 PM)gt11 Wrote: [ -> ]I installed the snmpd service. It installed without any errors, but I can't run it:
Terminal
root@xbian:/home/xbian# service snmpd start
[....] Starting SNMP services::pcilib: Cannot open /proc/bus/pci
root@xbian:/home/xbian#
What could be the problem? I'm on RPi1, which has no PCI bus.

Thanks.

Edit:
After several install/purge cycles I noticed that SNMP works immediately after the install. If I restart it, the service throws the error, but appears to work nevertheless

Terminal
root@xbian:/home/xbian# service snmpd restart
[....] Restarting SNMP services::pcilib: Cannot open /proc/bus/pci
snmpdroot@xbian:/home/service snmpd status
[ ok ] snmpd is running.

But as soon as I replace the
Code:
agentAddress  udp:127.0.0.1:161
line in snmpd.conf with
Code:
agentAddress  udp:10.0.0.11:161
SNMPD fails completely
Terminal

root@xbian:/home/xbian# nano /etc/snmp/snmpd.conf
root@xbian:/home/xbian# service snmpd restart
[....] Restarting SNMP services::pcilib: Cannot open /proc/bus/pci
root@xbian:/home/xbian# service snmpd status
[FAIL] snmpd is not running ... failed!
root@xbian:/home/xbian#
(23rd Dec, 2015 03:12 PM)gt11 Wrote: [ -> ]I installed the snmpd service. It installed without any errors, but I can't run it:
Terminal
root@xbian:/home/xbian# service snmpd start
[....] Starting SNMP services::pcilib: Cannot open /proc/bus/pci
root@xbian:/home/xbian#
What could be the problem? I'm on RPi1, which has no PCI bus.

Thanks.

I installed snmp on my PI 2 but the syntax I'm familiar with isn't working. Going to the man page to see what's changed.
Reference URL's