Page 3 of 3

Re: Backup & Maintenance not working automatically

Posted: Thu Apr 06, 2017 7:53 am
by TEWLS
Before it would say something along the lines of "Running command create_backup with args ' ' for job id: AVs_k0f-cJMl7DjS3OF1" then the jsonselect error would occur. I tried it with permissions of 744 and it still had the error so I used 755 and the error went away. I was selecting 'Now' then 'Update' and waiting until it said success in the GUI. I have tried to select 'Now' a few times (pretty much once an hour or so) to see if it would create or change anything. I also set it to close past 1 day just to see if something was happening.

Re: Backup & Maintenance not working automatically

Posted: Thu Apr 06, 2017 1:59 pm
by mcapra
The "backups" job isn't responsible for the closing/deleting/optimizing of indices. The "backup_maintenance" job is. Can you try modifying the "Next Run Time" on the "backup_maintenance" job and see if it's closing indices?

Re: Backup & Maintenance not working automatically

Posted: Thu Apr 06, 2017 3:40 pm
by TEWLS
mcapra wrote:The "backups" job isn't responsible for the closing/deleting/optimizing of indices. The "backup_maintenance" job is. Can you try modifying the "Next Run Time" on the "backup_maintenance" job and see if it's closing indices?
I probably should've been more clear and said I was doing it for everything on that page.

Re: Backup & Maintenance not working automatically

Posted: Thu Apr 06, 2017 4:16 pm
by mcapra
Can you pm me your /etc/php.ini from any of the machines as well as the output of php -r 'phpinfo();' (assuming they have the same php settings)? The SourceGuardian warning isn't usually a problem, but I just want to be super duper sure that's not the culprit.

Re: Backup & Maintenance not working automatically

Posted: Fri Apr 07, 2017 9:48 am
by mcapra
Can you turn display_errors on in your php.ini and restart httpd:

Code: Select all

display_errors = On
Can you also change the following definition in /var/www/html/nagioslogserver/www/index.php to set your environment to "development":

Code: Select all

define('ENVIRONMENT', 'development');
That should give the most verbose debug output available in the httpd logs. Do that, try resetting the jobs again as you have been via the GUI a few times, and PM me the resulting httpd logs (error, access, all of them).

Re: Backup & Maintenance not working automatically

Posted: Fri Apr 07, 2017 10:34 am
by TEWLS
I will do this, but it will have to wait until Monday. I am using the cluster to test with right now.

Re: Backup & Maintenance not working automatically

Posted: Fri Apr 07, 2017 12:13 pm
by mcapra
Sure thing, you're welcome to open a ticket via email as well if you'd like to schedule a remote session with screen-share. Just put this thread's URL in the email.