Upgrade from 2014R2.0 to 2014R2.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
chriscamm
Posts: 72
Joined: Thu Aug 22, 2013 6:12 am

Upgrade from 2014R2.0 to 2014R2.2

Post by chriscamm »

/extraplugins/check_mysql_health-2.1/plugins-scripts'
Making all in t
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
Extra Plugins upgraded OK
Updating NRDP..
sed: can't read /root/scripts/automysqlbackup: No such file or directory
Tried several times and stops at the same place. Tried to do it manually too with the same issue.

I am running the MySQL on another server and not the local NagiosXI server could this be the issue?
Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2014R2.0
nagios.local.xxxxx.net 2.6.32-431.11.2.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:34.0) Gecko/20100101 Firefox/34.0
Server Name: xxxxx.xxxxx.co.uk
Server Address: xxx.xxx.xxx.xxx
Server Port: 443
Date/Time
PHP Timezone: Europe/London
PHP Time: Sat, 27 Dec 2014 13:02:09 +0000
System Time: Sat, 27 Dec 2014 13:02:09 +0000
Nagios XI Data
License ends in: XXXXXXXX

nagios is not running
NPCD running (pid 23877).
ndo2db (pid 55907) is running...
CPU Load 15: 1.67
Total Hosts: 204
Total Services: 3910
Function 'get_base_uri' returns: https://xxxxx.xxxxx.co.uk/nagiosxi/
Function 'get_base_url' returns: https://xxxxx.xxxxx.co.uk/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://xxxxx.xxxxx.co.uk/nagiosxi/incl ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost/nagiosxi/backend/
Ping Test localhost
Running:

/bin/ping -c 3 localhost 2>&1

PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.029 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.026 ms

--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.026/0.035/0.052/0.013 ms
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Upgrade from 2014R2.0 to 2014R2.2

Post by Box293 »

This is the command from the upgrade file (line 755):

Code: Select all

# Fix the auto-backup scripts
sed -i 's/eval rm -fv "$BACKUPDIR\/weekly\/$DB_week.$REMW.*"/eval rm -fv "$BACKUPDIR\/weekly\/$DB\/${DB}_week.$REMW.*"/' /root/scripts/automysqlbackup
I'll need to confirm if having MySQL offloaded is the cause of this issue.

For the time being, to get past this stage in the upgrade, you could comment out line 755 in the upgrade script to continue past this point. You *may* also have to do the same for line 756.

Let us know how you go.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
chriscamm
Posts: 72
Joined: Thu Aug 22, 2013 6:12 am

Re: Upgrade from 2014R2.0 to 2014R2.2

Post by chriscamm »

Thanks the commenting out worked,

Can you confirm if I need to run anything on the remote MySQL server?

Regards

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

Re: Upgrade from 2014R2.0 to 2014R2.2

Post by scottwilkerson »

chriscamm wrote:Thanks the commenting out worked,

Can you confirm if I need to run anything on the remote MySQL server?

Regards

Chris
Not necessary, the base install had a redundant daily backup of mysql & postgres DB's that weren't rotating properly, this wouldn't be installed on an offloaded DB server.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
chriscamm
Posts: 72
Joined: Thu Aug 22, 2013 6:12 am

Re: Upgrade from 2014R2.0 to 2014R2.2

Post by chriscamm »

Thanks you
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Upgrade from 2014R2.0 to 2014R2.2

Post by cmerchant »

Good. We'll go ahead and close this thread, thanks.
Locked