Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
System Info
Linux Distribution and version?
*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No.
ISSUE
I ran the upgrade from 2011R2.4 to 2011R3.1. Seemed to have gone ok, BUT when I go to the URL of my NagiosXi webpage, I get a blank page.
Please help!
Linux Distribution and version?
*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No.
ISSUE
I ran the upgrade from 2011R2.4 to 2011R3.1. Seemed to have gone ok, BUT when I go to the URL of my NagiosXi webpage, I get a blank page.
Please help!
Last edited by ecarrasq on Wed Jun 13, 2012 12:48 pm, edited 3 times in total.
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Attached is the "httpd error log"
You do not have the required permissions to view the files attached to this post.
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Fixed by reset Nagios permissions and ownerships:
# /usr/local/nagiosxi/scripts/fixperms.sh
# chown root.nagios /usr/local/nagiosxi/scripts/reset_config_perms
# chmod u+s /usr/local/nagiosxi/scripts/reset_config_perms
# chown root.nagios /usr/local/nagiosxi/scripts/reset_config_perms.sh
# chmod u+s /usr/local/nagiosxi/scripts/reset_config_perms.sh
And finally:
# service nagios restart
# service httpd restart
# /usr/local/nagiosxi/scripts/fixperms.sh
# chown root.nagios /usr/local/nagiosxi/scripts/reset_config_perms
# chmod u+s /usr/local/nagiosxi/scripts/reset_config_perms
# chown root.nagios /usr/local/nagiosxi/scripts/reset_config_perms.sh
# chmod u+s /usr/local/nagiosxi/scripts/reset_config_perms.sh
And finally:
# service nagios restart
# service httpd restart
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
A couple of other issues emerged. (Please see the screenshot) The following appear as Stopped in NagiosXi:
Command Subsystem
Event Manager
Feed Processor
Report Engine
Cleaner
System Statistics
Command Subsystem
Event Manager
Feed Processor
Report Engine
Cleaner
System Statistics
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Try
Code: Select all
service crond restartRe: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
It's still showing status of " ! ".
You do not have the required permissions to view the files attached to this post.
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Access the /tmp/nagiosxi directory where you extracted the latest tarball, and then run:
Lets also make sure the permissions are ok for the PHP web scripts.
Code: Select all
install -m 644 nagiosxi/nagiosxi.cron.d /etc/cron.d/nagiosxi
service crond restartCode: Select all
chmod -R +x /usr/local/nagiosxi/html
chown -R nagios.nagios /usr/local/nagiosxi/htmlRe: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
I tried those suggestions. I no longer have the problem with the main login page not showing, but I do have a problem with the "Xi Component Status" items, and "Applying Configuration" timing out. I do not have any "Unconfigured Objects".
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
For some reason the subsystem cron jobs don't seem to be installing correctly. Can you show us the permissions of those cron scripts:
and also see if any of them are running:
If we don't figure this out for you soon we'll get a remote session scheduled. Your system fairly hindered if those aren't running.
Code: Select all
ls -l /usr/local/nagiosxi/cronCode: Select all
ps aux | grep phpRe: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
total 100
-rwxr-xr-x 1 nagios nagios 2058 Jun 12 12:16 cleaner.php
-rwxr-xr-x 1 nagios nagios 16649 Jun 12 12:16 cmdsubsys.php
-rwxr-xr-x 1 nagios nagios 216 Jun 12 12:16 cookie.txt
-rwxr-xr-x 1 nagios nagios 11151 Jun 12 12:16 dbmaint.php
-rwxr-xr-x 1 nagios nagios 4046 Jun 12 12:16 eventman.php
-rwxr-xr-x 1 nagios nagios 1875 Jun 12 12:16 feedproc.php
-rwxr-xr-x 1 nagios nagios 2072 Jun 12 12:16 nom.php
-rwxr-xr-x 1 nagios nagios 11177 Jun 12 12:16 perfdataproc.php
-rwxr-xr-x 1 nagios nagios 17692 Jun 12 12:16 recurringdowntime.pl
-rwxr-xr-x 1 nagios nagios 1523 Jun 12 12:16 reportengine.php
-rwxr-xr-x 1 nagios nagios 10296 Jun 12 12:16 sysstat.php
root 8336 0.0 0.0 4016 692 pts/0 S+ 13:12 0:00 grep php
-rwxr-xr-x 1 nagios nagios 2058 Jun 12 12:16 cleaner.php
-rwxr-xr-x 1 nagios nagios 16649 Jun 12 12:16 cmdsubsys.php
-rwxr-xr-x 1 nagios nagios 216 Jun 12 12:16 cookie.txt
-rwxr-xr-x 1 nagios nagios 11151 Jun 12 12:16 dbmaint.php
-rwxr-xr-x 1 nagios nagios 4046 Jun 12 12:16 eventman.php
-rwxr-xr-x 1 nagios nagios 1875 Jun 12 12:16 feedproc.php
-rwxr-xr-x 1 nagios nagios 2072 Jun 12 12:16 nom.php
-rwxr-xr-x 1 nagios nagios 11177 Jun 12 12:16 perfdataproc.php
-rwxr-xr-x 1 nagios nagios 17692 Jun 12 12:16 recurringdowntime.pl
-rwxr-xr-x 1 nagios nagios 1523 Jun 12 12:16 reportengine.php
-rwxr-xr-x 1 nagios nagios 10296 Jun 12 12:16 sysstat.php
root 8336 0.0 0.0 4016 692 pts/0 S+ 13:12 0:00 grep php