Page 1 of 2

RESOLVED - Stuck at Apply Configuration Waiting for Config Verification

Posted: Tue Aug 13, 2024 4:19 pm
by jkleinbard
Selected Apply Configuration

Sitting at Waiting for Configuration Verification .. Have tried using previous configuration with same result

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Tue Aug 13, 2024 4:55 pm
by ajcoil
Hello @jkleinbard,

Thank you for reaching out, and sorry to hear you are running into an issue with applying configurations.

What distribution and version of Nagios XI are you using?

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Tue Aug 13, 2024 8:47 pm
by jkleinbard
5.8.5

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Wed Aug 14, 2024 11:28 am
by jsimon
Can you post the Command Output from a recent config snapshot that is in error state? I would also suggest taking a look at your php logs. The location for these can vary by Linux distro. Possible candidates for this would be:

Code: Select all

/var/log/httpd/error_log

Code: Select all

/var/log/apache2/error.log

Code: Select all

/var/log/php-fpm/www-error.log
If you could post the contents of these logs from around the timestamp on the error-stated config snapshot along with the Command Output, that would be helpful in narrowing down the issue. In addition, letting us know your Linux distro/release would be helpful for future troubleshooting.

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Wed Aug 14, 2024 2:42 pm
by jkleinbard
3.10.0-1160.119.1.el7.x86_64

from error_log
[Sun Aug 11 03:46:01.603837 2024] [lbmethod_heartbeat:notice] [pid 79782] AH02282: No slotmem from mod_heartmonitor
[Sun Aug 11 03:46:01.630241 2024] [mpm_prefork:notice] [pid 79782] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) O
penSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Sun Aug 11 03:46:01.630253 2024] [core:notice] [pid 79782] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

The other two logs do not exist.
All configurations are tagged OK

Thanks

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Wed Aug 14, 2024 8:19 pm
by kg2857
Try doing an apply from the shell as nagios.
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Thu Aug 15, 2024 9:43 am
by jsimon
Only one of those error log locations should exist, so that makes sense! Are you able to provide the Config Command output as well? I'm not seeing anything in your log snippet that clue me into what the issue might be. The prompt to show the Config Command should be on the Config Status column if you go to Configure > Core Config Manager > Quick Tools > Configuration Snapshots.

This is in addition to @kg2857's response which I would also definitely try.

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Thu Aug 15, 2024 10:35 am
by jkleinbard
attached is reconfigure output

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Fri Aug 16, 2024 1:41 pm
by sgardil
jkleinbard wrote: Thu Aug 15, 2024 10:35 am attached is reconfigure output
Have you tried restoring to a snapshot that says the response was working? If not and want to try it, make sure to take a snapshot of your vm right before so you wont lose much information if you need to revert.

Re: Stuck at Apply Configuration Waiting for Config Verification

Posted: Fri Aug 16, 2024 1:42 pm
by jkleinbard
Yes I have