Error trying to update Nagios to 5.2.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Error trying to update Nagios to 5.2.3

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Error trying to update Nagios to 5.2.3

Post 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.
Former Nagios Employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error trying to update Nagios to 5.2.3

Post by Box293 »

Does your XI server need to use a proxy to get internet access?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Error trying to update Nagios to 5.2.3

Post 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.
You do not have the required permissions to view the files attached to this post.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Error trying to update Nagios to 5.2.3

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error trying to update Nagios to 5.2.3

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Error trying to update Nagios to 5.2.3

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error trying to update Nagios to 5.2.3

Post by Box293 »

It should be upgrade.log in the directory you run the upgrade from.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Error trying to update Nagios to 5.2.3

Post by SavaSC »

Got the same message. Attached is the log.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error trying to update Nagios to 5.2.3

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked