The Account is disabled. Please contact your administrator

This support forum board is for questions relating to Nagios Fusion.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: The Account is disabled. Please contact your administra

Post by ssax »

You don't see any errors in /var/log/cron?

Thanks for posting the file permissions as that's the file we need to see data from as it's the dbmaint process is supposed to clean them up.

Please run this command to correct them:

Code: Select all

chown nagios.nagios /usr/local/nagiosfusion/var/log/dbmaint_subsys.log
chmod 664 /usr/local/nagiosfusion/var/log/dbmaint_subsys.log
How many total users do you have in the XI system? How many total users in the Fusion system?

Please attach this file:

Code: Select all

/etc/php.ini
What do you have set in Admin > System Settings > Data & Polling? (please send a screenshot)

Go to Admin > System Settings
- Set log level to Trace
- Check Enable writing log data to the specified file
- Check Enable writing debug data to the specified file

Now wait 10 minutes and zip up and send us these files:

Code: Select all

/usr/local/nagiosfusion/var/log/fusion.log
/usr/local/nagiosfusion/var/log/fusion.debug
/usr/local/nagiosfusion/var/log/dbmaint_subsys.log
Go back and set the log level to info or disabled (the default) and uncheck the other boxes you checked earlier so your disk doesn't fill up with debug data.
tfrazz
Posts: 16
Joined: Wed Apr 29, 2020 5:47 am

Re: The Account is disabled. Please contact your administra

Post by tfrazz »

ssax wrote:You don't see any errors in /var/log/cron?

Thanks for posting the file permissions as that's the file we need to see data from as it's the dbmaint process is supposed to clean them up.

Please run this command to correct them:

Code: Select all

chown nagios.nagios /usr/local/nagiosfusion/var/log/dbmaint_subsys.log
chmod 664 /usr/local/nagiosfusion/var/log/dbmaint_subsys.log
How many total users do you have in the XI system? How many total users in the Fusion system?

Please attach this file:

Code: Select all

/etc/php.ini
What do you have set in Admin > System Settings > Data & Polling? (please send a screenshot)

Go to Admin > System Settings
- Set log level to Trace
- Check Enable writing log data to the specified file
- Check Enable writing debug data to the specified file

Now wait 10 minutes and zip up and send us these files:

Code: Select all

/usr/local/nagiosfusion/var/log/fusion.log
/usr/local/nagiosfusion/var/log/fusion.debug
/usr/local/nagiosfusion/var/log/dbmaint_subsys.log
Go back and set the log level to info or disabled (the default) and uncheck the other boxes you checked earlier so your disk doesn't fill up with debug data.
The commands have been run. the dbmaint log now has entries.
Both fusion and XI have 10 users each (1 for 1).
php.ini and the requested logs were zipped and PM'd to you.

Was busy and did not shut off the logging after 10 mins, there should be 20 mins or so of data.

Screen Capture
Capture.PNG
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: The Account is disabled. Please contact your administra

Post by ssax »

Please edit your /etc/php.ini and adjust these:

Code: Select all

max_execution_time = 30
memory_limit = 128M
To these:

Code: Select all

max_execution_time = 900
memory_limit = 1024M
Then restart apache:

Code: Select all

service httpd restart
Then go to Admin > System Settings > Data & Polling:
- Set your Polling Subsystem Memory Limit to -1 (that's minus 1)
- Set your Live Data Timeout to 120
- Click the Update Settings button

See if that fixes the issue, the dbmaint_subsys.log does look like it's doing what it's supposed to be doing now, I'm wondering if the permissions on the file were stopping the job from running entirely.
tfrazz
Posts: 16
Joined: Wed Apr 29, 2020 5:47 am

Re: The Account is disabled. Please contact your administra

Post by tfrazz »

I have made all the changes requested. The size of the root partition has not changed since yesterday, so I believe this to be resolved. You can close the case, I will start a new one if needed.

Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: The Account is disabled. Please contact your administra

Post by ssax »

That's great to hear! Locking it up.
Locked