No librenms.log

root@asetmon1:/opt/librenms# /opt/librenms/daily.sh
Re-running /opt/librenms/daily.sh as librenms user
Could not connect to database, check logs/librenms.log.
Updating SQL-Schema OK
Cleaning up DB OK
Could not connect to database, check logs/librenms.log.
root@asetmon1:/opt/librenms# cat /opt/librenms/logs/librenms.log
cat: /opt/librenms/logs/librenms.log: No such file or directory
root@asetmon1:/opt/librenms# cd logs
root@asetmon1:/opt/librenms/logs# ls
daily.log
root@asetmon1:/opt/librenms/logs#

I think you have to create that file that it’s looking for
just do a touch librenms.log and then let it run again
also, with that error sometimes restarting the mariadb will work

Since your running as root my guess is that you have now a lot of files owned by root so the librenms user can’t write to them

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