NagiosXI update to latest version fails everytime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

NagiosXI update to latest version fails everytime

Post by thanigaivel.a »

Hi team,

NagiosXI update to latest version fails every time. kindly find the upgrade logs(below) and profile. (PFA).
kindly help us to fix it.

[root@usa0300lv6348 upgrades]# cat failed.1550588834.log
---- Starting Nagios XI Backup ----
Backing up 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/share/perfdata/merlin1.eng.mc.xerox.com: file changed as we read it
tar: /usr/local/nagios/share/perfdata/bluebird.opdu-dev.net: file changed as we read it
tar: /usr/local/nagios/share/perfdata/gbrwgc01uz6101.opdu-dev.net: file changed as we read it
tar: /usr/local/nagios/share/perfdata/usa0300lv6661.sdsp.mc.xerox.com: file changed as we read it
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Copying ramdisk configuration...
Backing up Nagios XI...
tar: Removing leading `/' from member names
tar: /usr/local/nagiosxi/var/eventman.log: file changed as we read it
tar: /usr/local/nagiosxi/var/cmdsubsys.log: file changed as we read it
tar: /usr/local/nagiosxi/var/event_handler.log: file changed as we read it
tar: /usr/local/nagiosxi/var/sysstat.log: file changed as we read it
tar: /usr/local/nagiosxi/var: file changed as we read it
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up the SNMP trap interface configuration files...
cp: cannot stat ‘/etc/snmp/snmptt.conf.nxti’: No such file or directory
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...

===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1550588834.tar.gz

---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
upgrade_to_latest.sh: line 77: ./upgrade: No such file or directory
[root@usa0300lv6348 upgrades]#
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI update to latest version fails everytime

Post by scottwilkerson »

Can I have you attempt a Manual Upgrade

https://assets.nagios.com/downloads/nag ... ctions.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: NagiosXI update to latest version fails everytime

Post by thanigaivel.a »

Thanks now able to upgrade. however, why every time facing issue with the upgrade?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI update to latest version fails everytime

Post by scottwilkerson »

thanigaivel.a wrote:Thanks now able to upgrade. however, why every time facing issue with the upgrade?
It could be because of permissions on the server, that aren't allowing the upgrade to do everything needed when running as the nagios user.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: NagiosXI update to latest version fails everytime

Post by thanigaivel.a »

Ok thanks, close the issue.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI update to latest version fails everytime

Post by scottwilkerson »

thanigaivel.a wrote:Ok thanks, close the issue.
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked