Failed Update from Nagios XI 5.4.13 to 5.5.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
armando_99
Posts: 2
Joined: Wed Feb 22, 2017 10:34 am

Failed Update from Nagios XI 5.4.13 to 5.5.3

Post by armando_99 »

Updating Nagios XI from 5.4.13 to 5.5.3 fails.

Nagios XI - System Info
System:
Nagios XI Version : 5.4.13
3.10.0-693.21.1.el7.x86_64 x86_64
CentOS Linux release 7.5.1804 (Core)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 6.1; rv:46.0) Gecko/20100101 Firefox/46.0
Server Name: localhost
Server Address: 172.20.1.185
Server Port: 8080
Date/Time
PHP Timezone: US/Central
PHP Time: Tue, 04 Sep 2018 11:19:59 -0500
System Time: Tue, 04 Sep 2018 11:19:59 -0500
Nagios XI Data
License ends in: VTNTON

nagios (pid 29720) is running...
NPCD running (pid 32049).
ndo2db (pid 28015) is running...
CPU Load 15: 13.11
Total Hosts: 98
Total Services: 9561
Function 'get_base_uri' returns: http://localhost:8080/nagiosxi/
Function 'get_base_url' returns: http://localhost:8080/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://localhost:8080/nagiosxi/includes ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/



The log data shows the following:

INSTALL: Dashlets installed/updated OK.
Updating Core, Plugins, NRPE, NRDP ...
UPGRADE: Nagios Core is upgrading...
Checking if ModGearman is in use before continuing...
ModGearman not found! Continuing...
UPGRADE: Applying Nagios XI patches to Nagios Core...
./apply-patches: line 9: patch: command not found

Last line of output ends with the error command not found and installation failure error is displayed.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Failed Update from Nagios XI 5.4.13 to 5.5.3

Post by scottwilkerson »

I think you are missing a package

Code: Select all

yum install patch -y
then try again
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
armando_99
Posts: 2
Joined: Wed Feb 22, 2017 10:34 am

Re: Failed Update from Nagios XI 5.4.13 to 5.5.3

Post by armando_99 »

Yes, that patch was missing. After installing that package, I tried installing the Nagios XI update and it generated another error - configure: error: no acceptable C compiler found in $PATH - that was resolved by executing yum install make automake gcc gcc-c++ kernel-devel

Finally, tried installing Nagios XI package again, and it installed successfully.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Failed Update from Nagios XI 5.4.13 to 5.5.3

Post by scottwilkerson »

armando_99 wrote:Yes, that patch was missing. After installing that package, I tried installing the Nagios XI update and it generated another error - configure: error: no acceptable C compiler found in $PATH - that was resolved by executing yum install make automake gcc gcc-c++ kernel-devel

Finally, tried installing Nagios XI package again, and it installed successfully.

Thanks.
Great glad to hear you got it updated successfully

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked