upgrade to 2012R2.2 failed?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

upgrade to 2012R2.2 failed?

Post by staun »

Run the usaully procedure to upgrade but during the process I get the error

Code: Select all

NAGIOSQL LOGIN FAILED
Any ideas on what to do?

Here is entire process.

Code: Select all

[root@srv-mon-nsb1 nagiosxi]# ./upgrade
OLD VERSION: 311
no crontab for nagios
no crontab for root
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
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...
/bin/chown: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or direc                                                                                                                                                             tory
chmod: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file:No such file or directory in Unknown on line 0
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Nagios XI Postgres Database Sequence Information

OLD VALUES
--------------
xi_commands_command_id_seq = 523
xi_events_event_id_seq = 13886
xi_meta_meta_id_seq = 13899
xi_options_option_id_seq = 144
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 447
xi_users_user_id_seq = 49

NEW VALUES
--------------
xi_commands_command_id_seq = 523
xi_events_event_id_seq = 13886
xi_meta_meta_id_seq = 13899
xi_options_option_id_seq = 144
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 447
xi_users_user_id_seq = 49

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...
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2013-06-24 12:12:20--  http://localhost/nagiosql/index.php
Connecting to 10.1.1.2:8081... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2013-06-24 12:12:20 ERROR 503: Service Unavailable.

NAGIOSQL LOGIN FAILED!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: upgrade to 2012R2.2 failed?

Post by slansing »

Try the following:

modify /etc/php.d/mcrypt.ini

FROM: extension=module.so

TO: extension=mcrypt.so

then save, and restart apache, now try the upgrade.
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

Re: upgrade to 2012R2.2 failed?

Post by staun »

Did not help on the upgrade. It did help on the error witht he module.so error though.

Upgrade still stops at NAGIOSQL LOGIN FAILED.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: upgrade to 2012R2.2 failed?

Post by scottwilkerson »

This is a proxy problem.

It looks like you do not have localhost in the no_proxy section of your /etc/wgetrc

http://support.nagios.com/wiki/index.ph ... th_Proxies
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

SOLVED: upgrade to 2012R2.2 failed?

Post by staun »

That did it. Thank you, Scott
Locked