I'm having an issue with one of our Rutx09 routers. I've tried to factory default the unit, and upgrade it to the latest version, but it just won't start snmpd somehow.
In the logs I see:
Mon Jan 16 18:30:10 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:30:21 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:30:31 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:30:38 2023 kern.notice kernel: snmpd configuration has been changed
Mon Jan 16 18:30:40 2023 kern.notice kernel: snmpd configuration has been changed
Mon Jan 16 18:30:41 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:30:52 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:02 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:10 2023 user.err : Check failed at libhttp/ssl.c:829 in sslSetCertificate(): !ERR_peek_error()
Mon Jan 16 18:31:10 2023 daemon.err uhttpd[4660]: Check failed at libhttp/ssl.c:829 in sslSetCertificate(): !ERR_peek_error()
Mon Jan 16 18:31:13 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:23 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:34 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:44 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:31:54 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:32:05 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
Mon Jan 16 18:32:15 2023 user.notice /etc/snmp/generate_MIBs.sh: Waiting for ioman to appear on ubus
When I check /etc/config/snmpd all relevant settings are there, the daemon just won't start. I've tried enable/disable snmp, but still the same result. Beside messages above, I don't have any errors/clues where to look for. I don't know how to debug the service startup for snmpd.
All our routers have the same config, which have been made based on uci commands. When the default router comes online, I copy/paste the uci commands and that worked for the other 10 routers so far without issues.
Compared to other working routers, the snmpd.conf in /tmp/run is missing on this one. When I manually create that file, and restart the service, all works (until the next reboot).