For some reason, I've started receiving "DB Error 2002: No such file or directory" on my Observium installation. Weird thing was that it was literally right in the middle of using the web interface when the error started popping. I've restarted the VM and checked disk space and all looks good.
root@tcgobs /opt/observium# ./discovery.php -h none MIB search path: /opt/observium/mibs Cannot find module (LM-SENSORS-MIB): At line 0 in (none) DB Error 2002: No such file or directory
Ran the above command line discovery and got this. Not sure what's going on. Any help would be appreciated. Thanks.
Tim
Why did you put /opt/observium/mibs in /etc/snmp/snmpd.conf? :)
This will have been happening for a very long time, because it's caused by debian being dumb about mibs and (usually) people putting the observium mibs dir into /etc/snmp/snmpd.conf.
It doesn't affect anything, only the snmp binary call to work out what version net-snmp is. Our 'for real' calls all have specific MIB directories set.
adam. On 2018-11-20 18:28:02, Tim Schmidt via observium observium@observium.org wrote: For some reason, I’ve started receiving “DB Error 2002: No such file or directory” on my Observium installation. Weird thing was that it was literally right in the middle of using the web interface when the error started popping. I’ve restarted the VM and checked disk space and all looks good. root@tcgobs /opt/observium# ./discovery.php -h none MIB search path: /opt/observium/mibs Cannot find module (LM-SENSORS-MIB): At line 0 in (none) DB Error 2002: No such file or directory Ran the above command line discovery and got this. Not sure what’s going on. Any help would be appreciated. Thanks. Tim
participants (2)
-
Adam Armstrong
-
Tim Schmidt