Page 1 of 1

fail to log in after restore from backup

Posted: Tue Jun 06, 2023 9:25 am
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.

Re: fail to log in after restore from backup

Posted: Thu Jun 15, 2023 9:45 am
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.