fail to log in after restore from backup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
mzhang
Posts: 1
Joined: Tue Jul 26, 2022 11:13 am

fail to log in after restore from backup

Post by mzhang »

The UI of nagios Log server can't log in with error as "Invalid username or password." after the restore from backup was finished. The reset_nagiosadmin_password.sh was also run but made no difference for the login.

Please advise.
bv406
Posts: 31
Joined: Tue Apr 11, 2023 11:45 am

Re: fail to log in after restore from backup

Post by bv406 »

Check if SELinux is enabled and running in enforcing mode. If it is, try disabling it or putting it in permissive mode. To check if SELinux is disabled, install the tools and run the sestatus command.

Also, check if the mysqld or postgresql service is running and the database is accepting commands. If the service is not running or the database is crashed, it can cause login issues. Restart the service or repair the database if necessary.
Post Reply