Unable to apply configuration and upgrade
Posted: Fri May 22, 2015 6:38 am
Hi Team,
1. When i cilck on apply configuration, Process is spinning at "Waiting for configuration.........".
Command submitted for processing...
Waiting for configuration verification........................................................................................................................................................................................................................................................................................................................................................................................
2. When i manually upgrade version i am getting below error.
[root@swnagios nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 416
Saving old crontab to /tmp/nagios.crontab.orig.5...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig.5...
Removing XI cron jobs...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Copying over new XI directory...
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Nagios XI Postgres Database Sequence Information
OLD VALUES
--------------
xi_commands_command_id_seq = 3105
xi_events_event_id_seq = 530208
xi_meta_meta_id_seq = 530574
xi_options_option_id_seq = 156
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 873
xi_users_user_id_seq = 60
NEW VALUES
--------------
xi_commands_command_id_seq = 3105
xi_events_event_id_seq = 530208
xi_meta_meta_id_seq = 530574
xi_options_option_id_seq = 156
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 873
xi_users_user_id_seq = 60
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-05-22 04:27:01-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.
NAGIOSQL LOGIN FAILED!
We have implemented kerbros for dual authentication by integrating nagios with Active Directory.
I found below message in apache error log.
[root@swnagios nagiosxi]# tail -f /etc/httpd/logs/error_log
[Wed May 20 17:29:49 2015] [notice] Digest: done
[Wed May 20 17:29:49 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu May 21 03:20:04 2015] [notice] SIGHUP received. Attempting to restart
[Thu May 21 03:20:04 2015] [notice] Digest: generating secret for digest authentication ...
[Thu May 21 03:20:04 2015] [notice] Digest: done
[Thu May 21 03:20:04 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu May 21 13:18:24 2015] [notice] Graceful restart requested, doing restart
[Thu May 21 13:18:24 2015] [notice] Digest: generating secret for digest authentication ...
[Thu May 21 13:18:24 2015] [notice] Digest: done
[Thu May 21 13:18:24 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
We don't have find any issue in manual configuration verification
Checked 1506 services.
Checked 237 hosts.
Checked 178 host groups.
Checked 8 service groups.
Checked 12 contacts.
Checked 13 contact groups.
Checked 127 commands.
Checked 19 time periods.
Checked 94 host escalations.
Checked 46 service escalations.
Checking for circular paths...
Checked 237 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 19 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 109
Total Errors: 0
i check grep https /usr/local/nagiosxi/html/config.inc.php fil and found that https is already enabled.
// force http/https
$cfg['use_https'] = true; // determines whether cron jobs and other scripts will force the use of HTTPS instead of HTTP
I checked that https selected as server port in config manager settings.
Configure --> Core Config Manager --> Config Manager Admin --> Config Manager Settings.
Host name is swnagios.mgmt.steelwedge.com
[root@swnagios nagiosxi]# hostname
swnagios.mgmt.steelwedge.com
Please help us to get rid of this issue. as soon as possible
1. When i cilck on apply configuration, Process is spinning at "Waiting for configuration.........".
Command submitted for processing...
Waiting for configuration verification........................................................................................................................................................................................................................................................................................................................................................................................
2. When i manually upgrade version i am getting below error.
[root@swnagios nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 416
Saving old crontab to /tmp/nagios.crontab.orig.5...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig.5...
Removing XI cron jobs...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Copying over new XI directory...
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Nagios XI Postgres Database Sequence Information
OLD VALUES
--------------
xi_commands_command_id_seq = 3105
xi_events_event_id_seq = 530208
xi_meta_meta_id_seq = 530574
xi_options_option_id_seq = 156
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 873
xi_users_user_id_seq = 60
NEW VALUES
--------------
xi_commands_command_id_seq = 3105
xi_events_event_id_seq = 530208
xi_meta_meta_id_seq = 530574
xi_options_option_id_seq = 156
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 873
xi_users_user_id_seq = 60
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2015-05-22 04:27:01-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.
NAGIOSQL LOGIN FAILED!
We have implemented kerbros for dual authentication by integrating nagios with Active Directory.
I found below message in apache error log.
[root@swnagios nagiosxi]# tail -f /etc/httpd/logs/error_log
[Wed May 20 17:29:49 2015] [notice] Digest: done
[Wed May 20 17:29:49 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu May 21 03:20:04 2015] [notice] SIGHUP received. Attempting to restart
[Thu May 21 03:20:04 2015] [notice] Digest: generating secret for digest authentication ...
[Thu May 21 03:20:04 2015] [notice] Digest: done
[Thu May 21 03:20:04 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu May 21 13:18:24 2015] [notice] Graceful restart requested, doing restart
[Thu May 21 13:18:24 2015] [notice] Digest: generating secret for digest authentication ...
[Thu May 21 13:18:24 2015] [notice] Digest: done
[Thu May 21 13:18:24 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
We don't have find any issue in manual configuration verification
Checked 1506 services.
Checked 237 hosts.
Checked 178 host groups.
Checked 8 service groups.
Checked 12 contacts.
Checked 13 contact groups.
Checked 127 commands.
Checked 19 time periods.
Checked 94 host escalations.
Checked 46 service escalations.
Checking for circular paths...
Checked 237 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 19 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 109
Total Errors: 0
i check grep https /usr/local/nagiosxi/html/config.inc.php fil and found that https is already enabled.
// force http/https
$cfg['use_https'] = true; // determines whether cron jobs and other scripts will force the use of HTTPS instead of HTTP
I checked that https selected as server port in config manager settings.
Configure --> Core Config Manager --> Config Manager Admin --> Config Manager Settings.
Host name is swnagios.mgmt.steelwedge.com
[root@swnagios nagiosxi]# hostname
swnagios.mgmt.steelwedge.com
Please help us to get rid of this issue. as soon as possible