server migration 32 to 64 bit errors
Posted: Tue Dec 23, 2014 9:54 am
Centos 6.6 64 bit OS
Xi version 2014R2.0
Following the 32 to 64 bit nagios documentation I was able to restore the 32 bit system on the 64 bit OS.
There are three issues that I see:
1) Nagios service will not start
2) httpd service will not start
3) when running through the ./upgrade i receive a NagiosQL password invalid
Before running the 64 bit restore I changed the 32 bit mysql passwords to the default for nagiosxi.
Nagios error:
[root@localhost ~]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
httpd error:
[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FAILED]
upgrade error:
[root@localhost ~]# cd /tmp/nagiosxi
[root@localhost nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 410
no crontab for nagios
no crontab for root
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 = 14454
xi_events_event_id_seq = 5125923
xi_meta_meta_id_seq = 5120138
xi_options_option_id_seq = 143
xi_sysstat_sysstat_id_seq = 99
xi_usermeta_usermeta_id_seq = 2141
xi_users_user_id_seq = 77
NEW VALUES
--------------
xi_commands_command_id_seq = 14454
xi_events_event_id_seq = 5125923
xi_meta_meta_id_seq = 5120138
xi_options_option_id_seq = 143
xi_sysstat_sysstat_id_seq = 99
xi_usermeta_usermeta_id_seq = 2141
xi_users_user_id_seq = 77
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=quh2it' -O nagiosql.login--2014-12-23 09:57:36-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... failed: Connection refused.
NAGIOSQL LOGIN FAILED!
Xi version 2014R2.0
Following the 32 to 64 bit nagios documentation I was able to restore the 32 bit system on the 64 bit OS.
There are three issues that I see:
1) Nagios service will not start
2) httpd service will not start
3) when running through the ./upgrade i receive a NagiosQL password invalid
Before running the 64 bit restore I changed the 32 bit mysql passwords to the default for nagiosxi.
Nagios error:
[root@localhost ~]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
httpd error:
[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FAILED]
upgrade error:
[root@localhost ~]# cd /tmp/nagiosxi
[root@localhost nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 410
no crontab for nagios
no crontab for root
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 = 14454
xi_events_event_id_seq = 5125923
xi_meta_meta_id_seq = 5120138
xi_options_option_id_seq = 143
xi_sysstat_sysstat_id_seq = 99
xi_usermeta_usermeta_id_seq = 2141
xi_users_user_id_seq = 77
NEW VALUES
--------------
xi_commands_command_id_seq = 14454
xi_events_event_id_seq = 5125923
xi_meta_meta_id_seq = 5120138
xi_options_option_id_seq = 143
xi_sysstat_sysstat_id_seq = 99
xi_usermeta_usermeta_id_seq = 2141
xi_users_user_id_seq = 77
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=quh2it' -O nagiosql.login--2014-12-23 09:57:36-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... failed: Connection refused.
NAGIOSQL LOGIN FAILED!