Page 1 of 2

Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 2:40 pm
by SavaSC
Hello,

I can not get NagiosXI to upgrade to 5.2.3 through the web interface. (I have not tried manually.) Here is what it says:

Code: Select all

---- Starting Nagios XI Backup ----
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
 
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1450898112.tar.gz

---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
Archive:  sourceguardian/ixed4.lin.x86-32.zip
  inflating: /usr/lib/php/modules/ixed.5.1.lin  
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]
Checking required prereqs... 
Please wait... 

OLD VERSION: 513
Loaded plugins: fastestmirror
Determining fastest mirrors
 * addons: mirror.team-cymru.org
 * base: centos.host-engine.com
 * epel: linux.mirrors.es.net
 * extras: mirrors.cmich.edu
 * updates: mirrors.arsc.edu
Setting up Install Process
Package automake-1.9.6-3.el5.noarch already installed and latest version
Package autoconf-2.59-12.noarch already installed and latest version
Package php-mbstring-5.1.6-45.el5_11.i386 already installed and latest version
Package 2:nmap-6.47-1.i386 already installed and latest version
Package subversion-1.6.11-12.el5_10.i386 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror


Error getting repository data for rpmforge, repository not found
Just at a glance, it looks like it's telling me it's already at the latest version, but it continues to say a new version is available.

Any suggestions on what to try?

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 2:44 pm
by rkennedy
Can you please post the result of the following command?

Code: Select all

yum repolist
Also, please attach a screenshot of Nagios telling you that a new version is available for us to take a look at.

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 2:44 pm
by Box293
Does your XI server need to use a proxy to get internet access?

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 2:53 pm
by SavaSC
rkennedy wrote:Can you please post the result of the following command?

Code: Select all

yum repolist
Also, please attach a screenshot of Nagios telling you that a new version is available for us to take a look at.
I have attached screen shots.

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 2:58 pm
by SavaSC
Box293 wrote:Does your XI server need to use a proxy to get internet access?
No, it does not.

However, our network engineers have been trying to close up as many ports as they can for security reasons. What port(s) does Nagios use to update?

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 3:07 pm
by Box293
It uses port 80 to get yum updates.

Can you try a manual upgrade and post the full log here please:
https://assets.nagios.com/downloads/nag ... nstall.pdf

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 3:17 pm
by SavaSC
Box293 wrote:It uses port 80 to get yum updates.

Can you try a manual upgrade and post the full log here please:
https://assets.nagios.com/downloads/nag ... nstall.pdf
I can do the manual upgrade, no problem. What log do you want me to give you?

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 3:19 pm
by Box293
It should be upgrade.log in the directory you run the upgrade from.

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 3:25 pm
by SavaSC
Got the same message. Attached is the log.

Re: Error trying to update Nagios to 5.2.3

Posted: Wed Dec 23, 2015 3:33 pm
by Box293
Can you try installing rpmforge as outlined in this link and let us know if it fixes your problem:

http://www.tecmint.com/enable-rpmforge-repository/