production.ERROR: Could not connect to database! SQLSTATE[HY000] [2002]

Hi Guys,

I just launched Librenms, finally got the passwords changed and the database running. Decided to add the SNMP community string and subnets allowed for network scanning, after running Snmp-Scan.py the server just crashed. :cry:

checked the Logs and saw the error below

#1 /opt/librenms/syslog.php(20): process_syslog()
#2 {main}
[2021-06-01 20:10:47] production.ERROR: Could not connect to database! SQLSTATE[HY000] [2002] Connection refused (SQL: INSERT IGNORE INTO syslog (device_id,program,facility,priority,level,tag,msg,timestamp) VALUES (1,LIBRENMS-SERVICE.PY,daemon,info,info,1e,librenms(WARNING):Too many DB failures (26053), attempting to release master,2021-06-01 20:10:47)) (SQL: INSERT IGNORE INTO syslog (device_id,program,facility,priority,level,tag,msg,timestamp) VALUES (1,LIBRENMS-SERVICE.PY,daemon,info,info,1e,librenms(WARNING):Too many DB failures (26053), attempting to release master,2021-06-01 20:10:47))#0 /opt/librenms/includes/syslog.php(163): dbInsert()

said hey, lets check the database

image

unable to connect to the database

image

unable to restart the databases either, what could be the issue here?

whats the possibility of this being a diskspace issue ?

image

i tried increasing the space from 8 gbs to 50 but the OS doesn’t seem to allow is

This topic was automatically closed 186 days after the last reply. New replies are no longer allowed.