Page 1 of 2

The Account is disabled. Please contact your administrator

Posted: Wed Jul 22, 2020 6:01 am
by tfrazz
Hello,

I have run into a recurring problem with Fusion. After X time (probably about a week), No one is able to login. The error is in the subject. I have found posts about using /usr/local/nagiosfusion/scripts/truncate_polled.php. This does fix the issue and accounts are able to login. The problem is that this keeps happening. Under system settings, i have changed log data retention to 1 day... does not help.

How can i stop this from happening?

Fusion version 4.1.8

Thanks

Re: The Account is disabled. Please contact your administra

Posted: Wed Jul 22, 2020 4:50 pm
by jbrunkow
I wonder if the passwords are getting mangled in the database for some reason.

Is the server running out of space?

Code: Select all

df -h
Please also let us know if you see anything in your Apache or database log.

Code: Select all

/var/log/httpd/error_log
/var/log/mysqld.log

Re: The Account is disabled. Please contact your administra

Posted: Fri Jul 24, 2020 5:49 am
by tfrazz
Hello,

Yes the / partition slowly fills up. I do not see any error in those logs since the lastime i rebooted the server. I could not find mysqld.log, I assume you meant mariadb.log?

You mentioned mangled passwords.. not sure if this is part of the overall problem, but the automatic passthrough from fusion to xi is not working either.

Thanks

Re: The Account is disabled. Please contact your administra

Posted: Fri Jul 24, 2020 2:50 pm
by jbrunkow
Yes! Forgive me, I shouldn't have assumed you had a MySQL database.

If you see that the database is broken, you will probably want to run a repair.

Code: Select all

/usr/local/nagiosfusion/scripts/repair_databases.sh
What do you see in your subsystem logs? You could tail them and then perform a test, or just send us all of the logs in that folder. They may tell us what's going on.

Code: Select all

tail /usr/local/nagiosfusion/var/log/*_subsys.log
FUSION SUBSYSTEMS

Can you also please check to make sure cron is running on that system?

Re: The Account is disabled. Please contact your administra

Posted: Mon Jul 27, 2020 5:08 am
by tfrazz
Hello,
The / partition was full again this morning causing the issue again. I attempted to run a repair and teh following was the result.
fusion_error.PNG
Also: ps -ef | grep cron brings back entries.

I am working on my setup of a prod environment. I had this issue while testing and now that i am adding more to the environment it is crashing every couple of days.

What should be cleaning this up?

I downloaded fusion as a vm.

Looking at the subsys log directory the one that stands out is the dbmaint_subsys.log which had a different owner and a zero size file....
fusion_logs.PNG

Re: The Account is disabled. Please contact your administra

Posted: Mon Jul 27, 2020 3:55 pm
by jbrunkow
Okay, you will probably want to start up MySQL again and restart the cron service just to be safe.

Code: Select all

service mysqld start
service crond restart
Can you please share ( PM ) your subsystem logs with us so we can try to determine what went wrong?

Code: Select all

/usr/local/nagiosfusion/var/log/*_subsys.log

Re: The Account is disabled. Please contact your administra

Posted: Mon Jul 27, 2020 4:07 pm
by ssax
In addition to what @jbrunkow posted (please follow it), go to Admin > System Settings > Data & Polling tab and check the box next to "Only poll data for mapped users when a user is logged in" and see if that helps.

Re: The Account is disabled. Please contact your administra

Posted: Mon Jul 27, 2020 5:26 pm
by tfrazz
jbrunkow wrote:Okay, you will probably want to start up MySQL again and restart the cron service just to be safe.

Code: Select all

service mysqld start
Service crond restart
Can you please share ( PM ) your subsystem logs with us so we can try to determine what went wrong?

Code: Select all

/usr/local/nagiosfusion/var/log/*_subsys.log

Error starting mysqld

service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Failed to start mysqld.service: Unit not found.

I will pm the logs shortly.

Thanks

Re: The Account is disabled. Please contact your administra

Posted: Mon Jul 27, 2020 5:38 pm
by tfrazz
ssax wrote:In addition to what @jbrunkow posted (please follow it), go to Admin > System Settings > Data & Polling tab and check the box next to "Only poll data for mapped users when a user is logged in" and see if that helps.
Thanks for the suggestion, I will try it in the morning.

Re: The Account is disabled. Please contact your administra

Posted: Tue Jul 28, 2020 9:15 am
by tfrazz
ssax wrote:In addition to what @jbrunkow posted (please follow it), go to Admin > System Settings > Data & Polling tab and check the box next to "Only poll data for mapped users when a user is logged in" and see if that helps.
This morning, i enabled the only poll data for mapped users. ..

The "Log Server Alert History" dashlet stops updating with this setting on...

Had to turn it back off..