Page 1 of 2
Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Mon Jun 11, 2012 5:14 pm
by ecarrasq
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!
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Mon Jun 11, 2012 6:05 pm
by ecarrasq
Attached is the "httpd error log"
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Mon Jun 11, 2012 6:23 pm
by ecarrasq
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
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Mon Jun 11, 2012 6:37 pm
by ecarrasq
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
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Tue Jun 12, 2012 8:56 am
by scottwilkerson
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Tue Jun 12, 2012 9:47 am
by ecarrasq
It's still showing status of " ! ".
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Tue Jun 12, 2012 10:17 am
by mguthrie
Access the /tmp/nagiosxi directory where you extracted the latest tarball, and then run:
Code: Select all
install -m 644 nagiosxi/nagiosxi.cron.d /etc/cron.d/nagiosxi
service crond restart
Lets also make sure the permissions are ok for the PHP web scripts.
Code: Select all
chmod -R +x /usr/local/nagiosxi/html
chown -R nagios.nagios /usr/local/nagiosxi/html
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Tue Jun 12, 2012 2:48 pm
by ecarrasq
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
Posted: Tue Jun 12, 2012 2:54 pm
by mguthrie
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.
Re: Upgrade failure NagiosXi 2011R2.4 to 2011R3.1
Posted: Tue Jun 12, 2012 3:13 pm
by ecarrasq
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