HELP! cant access the XI gui

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

HELP! cant access the XI gui

Post by benhank »

guys I just did an upgrade to xi xi-2012r1.8.tar.gz
The install went perfectly, no errors or any thing.
But when we try to log into the Nagiosxi

Code: Select all

http://blah/nagiosxi
I get a to the

Code: Select all

"welcome to nagios xi screen" 
after clicking that then I just get a blank screen or

Code: Select all

webpage not available
.
however when I tru to log into Core

Code: Select all

http://blah/nagios
I can with no problem.

During the install I made sure that the tmp dir was empty
after the install and the issue happened I ran these commands:

Code: Select all

/etc/init.d/nagios stop
/etc/init.d/nagiosxi stop
/etc/init.d/ndo2db stop
/etc/init.d/npcd stop
and then:

Code: Select all

/etc/init.d/httpd restart
/etc/init.d/npcd start
/etc/init.d/ndo2db start
/etc/init.d/nagiosxi start
/etc/init.d/nagios start
with no issues.
thanks in advance
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: HELP! cant access the XI gui

Post by tmcdonald »

Let's see some log action:

tail -20 /var/log/httpd/error_log
tail -20 /var/log/httpd/access_log

Sanitize and season with salt as necessary.
Former Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: HELP! cant access the XI gui

Post by benhank »

tail -20 /var/log/httpd/error_log:

Code: Select all

[root@LkennagiosP01 nagiosxi]# tail -20 /var/log/httpd/error_log
[Tue Mar 25 13:42:01 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:12 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:23 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:34 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:45 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:52 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/index.php
[Tue Mar 25 13:42:52 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/index.php
[Tue Mar 25 13:42:56 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:42:59 2014] [error] [client 172.22.27.159] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://nagios/nagiosxi/login.php?logout
[Tue Mar 25 13:43:00 2014] [error] [client 172.22.27.159] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://nagios/nagiosxi/login.php?logout
[Tue Mar 25 13:43:07 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:43:18 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:43:26 2014] [error] [client 172.26.68.178] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://sherlock/
[Tue Mar 25 13:43:29 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:43:40 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:43:51 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[Tue Mar 25 13:43:52 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/index.php
[Tue Mar 25 13:43:52 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/index.php
[Tue Mar 25 13:44:00 2014] [error] [client 172.22.27.159] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://nagios/nagiosxi/login.php?logout
[Tue Mar 25 13:44:02 2014] [error] [client 172.22.161.101] PHP Fatal error:  Call to undefined function use_2014_features() in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 23, referer: http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php
[root@LkennagiosP01 nagiosxi]#

Code: Select all

[root@LkennagiosP01 nagiosxi]# tail -20 /var/log/httpd/access_log
172.22.161.101 - - [25/Mar/2014:13:45:19 -0400] "GET /nagiosxi/includes/components/opscreen/merlin.php HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
172.22.161.129 - tjfoley [25/Mar/2014:13:45:20 -0400] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=0 HTTP/1.1" 200 16626 "-" "Python-urllib/2.7"
::1 - - [25/Mar/2014:13:45:22 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 810 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.22.161.129 - tjfoley [25/Mar/2014:13:45:21 -0400] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=0 HTTP/1.1" 200 179199 "-" "Python-urllib/2.7"
172.22.161.157 - gwhite [25/Mar/2014:13:45:28 -0400] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=0 HTTP/1.1" 200 16625 "-" "Python-urllib/2.7"
172.22.161.101 - - [25/Mar/2014:13:45:30 -0400] "GET /nagiosxi/includes/components/opscreen/merlin.php HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
172.22.161.157 - gwhite [25/Mar/2014:13:45:29 -0400] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=0 HTTP/1.1" 200 179198 "-" "Python-urllib/2.7"
172.22.161.101 - - [25/Mar/2014:13:45:41 -0400] "GET /nagiosxi/includes/components/opscreen/merlin.php HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
::1 - - [25/Mar/2014:13:45:42 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 810 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.22.162.144 - - [25/Mar/2014:13:45:43 -0400] "GET / HTTP/1.1" 200 2538 "-" "Xymon xymonnet/4.3.7"
172.22.161.126 - jchitarra [25/Mar/2014:13:45:44 -0400] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=262144&limit=0 HTTP/1.1" 200 16792 "-" "Python-urllib/2.7"
172.22.161.126 - jchitarra [25/Mar/2014:13:45:45 -0400] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=524288&limit=0 HTTP/1.1" 200 8680 "-" "Python-urllib/2.7"
172.22.161.126 - jchitarra [25/Mar/2014:13:45:46 -0400] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=262144&limit=0 HTTP/1.1" 200 177010 "-" "Python-urllib/2.7"
172.22.161.126 - jchitarra [25/Mar/2014:13:45:47 -0400] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=524288&limit=0 HTTP/1.1" 200 12268 "-" "Python-urllib/2.7"
172.22.161.101 - - [25/Mar/2014:13:45:52 -0400] "GET /nagiosxi/includes/components/opscreen/merlin.php HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
172.22.161.101 - - [25/Mar/2014:13:45:52 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=31ec9c765c7aa39b470885c9c95f4568 HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
172.22.161.101 - - [25/Mar/2014:13:45:52 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=31ec9c765c7aa39b470885c9c95f4568 HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
172.22.27.159 - - [25/Mar/2014:13:45:59 -0400] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=89e71961cdd4681effac8cdd2a757bb4 HTTP/1.1" 500 - "http://nagios/nagiosxi/login.php?logout" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2)"
::1 - - [25/Mar/2014:13:46:01 -0400] "POST /nagiosxi/backend/ HTTP/1.1" 200 810 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.22.161.101 - - [25/Mar/2014:13:46:03 -0400] "GET /nagiosxi/includes/components/opscreen/merlin.php HTTP/1.1" 500 - "http://172.22.2.123/nagiosxi/includes/components/opscreen/opscreen.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)"
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: HELP! cant access the XI gui

Post by benhank »

LATEST BREAKING NEWS!
I forgot to mention that I'd upgraded to 2.9 and then downgraded to 2.8.
When I did the upgrade to 2.9 from 2.6, everything worked perfectly.

But I had to downgrade to 2.8 in order to match my back up servers config.

Again the upgrade to 2.9 worked perfectly.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: HELP! cant access the XI gui

Post by benhank »

Gentlemen, should I just upgrade to 2.9?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: HELP! cant access the XI gui

Post by lmiltchev »

Is everything working fine now or you are still having issues?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: HELP! cant access the XI gui

Post by benhank »

still having issues. i have not upgraded to 2.9, I was asking if you suggest that I redo the 2.9 upgrade.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: HELP! cant access the XI gui

Post by tmcdonald »

Downgrading generally breaks things. It's fixable but I don't have the experience with this to feel comfortable leading you through it. I personally would just upgrade, but if abrist or sreinhardt (tomorrow, he's out today) are willing they might have a better idea of what's needed.
Former Nagios employee
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: HELP! cant access the XI gui

Post by benhank »

we is allright. thanks man.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked