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.
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
unable to connect to the database
unable to restart the databases either, what could be the issue here?