After Upgrade to NAGIOSXI 2012v2.0 XI GUI Not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

After Upgrade to NAGIOSXI 2012v2.0 XI GUI Not working

Post by albibalu »

After i Upgraded to the Last XI Version the XI GUI will not start. All the Rest is working fine and i can access Nagios Core.

The following Error is shown:

Saving old crontab to /tmp/nagios.crontab.orig.1...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig.1...
Removing XI cron jobs...
Copying over new XI directory...
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
PHP Fatal error: SourceGuardian Incompatible loader version. This protected script has been encoded with newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/ixeds/">latest loaders</A>. Error code [19] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
Updating sequences...
Nagios XI Postgres Database Sequence Information

OLD VALUES
--------------
xi_commands_command_id_seq = 2242
xi_events_event_id_seq = 7232840
xi_meta_meta_id_seq = 7233262
xi_options_option_id_seq = 185
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 1340
xi_users_user_id_seq = 77

NEW VALUES
--------------
xi_commands_command_id_seq = 2242
xi_events_event_id_seq = 7232840
xi_meta_meta_id_seq = 7233262
xi_options_option_id_seq = 185
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 1340
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...
PHP Fatal error: SourceGuardian Incompatible loader version. This protected script has been encoded with newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/ixeds/">latest loaders</A>. Error code [19] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
NAGIOSQL LOGIN FAILED!
[root@lr5mgt02 nagiosxi]#
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: After Upgrade to NAGIOSXI 2012v2.0 XI GUI Not working

Post by abrist »

Try:

Code: Select all

cd /tmp/nagiosxi
./install-sourceguardian-extension.sh
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: After Upgrade to NAGIOSXI 2012v2.0 XI GUI Not working

Post by albibalu »

Thank you for this Tip now i can access the NagiosXI GUI again but when i made the upgrade again the Login to Nagiosql failed and i can not change
anything in the NagiosXI Gui.

Here is the Screen :

[root@lr5mgt02 nagiosxi]# ./upgrade
OLD VERSION: 309
Saving old crontab to /tmp/nagios.crontab.orig.3...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig.3...
Removing XI cron jobs...
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 = 2253
xi_events_event_id_seq = 7233233
xi_meta_meta_id_seq = 7233655
xi_options_option_id_seq = 185
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 1340
xi_users_user_id_seq = 77

NEW VALUES
--------------
xi_commands_command_id_seq = 2253
xi_events_event_id_seq = 7233233
xi_meta_meta_id_seq = 7233655
xi_options_option_id_seq = 185
xi_sysstat_sysstat_id_seq = 100
xi_usermeta_usermeta_id_seq = 1340
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: 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=5mogbq' -O nagiosql.login--2013-05-24 10:08:38-- http://localhost/nagiosql/index.php
Connecting to 10.40.249.26:8080... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://10.40.101.215 [following]
--2013-05-24 10:08:39-- http://10.40.101.215/
Connecting to 10.40.249.26:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2538 (2.5K) [text/html]
Saving to: `nagiosql.login'

100%[==============================================================================================================================>] 2,538 --.-K/s in 0s

2013-05-24 10:08:39 (341 MB/s) - `nagiosql.login' saved [2538/2538]

NAGIOSQL LOGIN FAILED!
[root@lr5mgt02 nagiosxi]#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: After Upgrade to NAGIOSXI 2012v2.0 XI GUI Not working

Post by lmiltchev »

It seems like it is a proxy issue. Did you follow the steps, outlined on our wiki page?

http://support.nagios.com/wiki/index.ph ... th_Proxies
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked