Forum
SNMPD does not work. - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: SNMPD does not work. (/thread-3258.html)



SNMPD does not work. - gt11 - 23rd Dec, 2015 03:12 PM

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.


RE: SNMPD does not work. - gt11 - 24th Dec, 2015 03:05 AM

(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#



RE: SNMPD does not work. - jjrowan - 6th Jun, 2018 02:36 AM

(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.