Page 1 of 1

NagiosXI update to latest version fails everytime

Posted: Tue Feb 19, 2019 12:11 pm
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]#

Re: NagiosXI update to latest version fails everytime

Posted: Tue Feb 19, 2019 12:23 pm
by scottwilkerson
Can I have you attempt a Manual Upgrade

https://assets.nagios.com/downloads/nag ... ctions.pdf

Re: NagiosXI update to latest version fails everytime

Posted: Tue Feb 19, 2019 12:43 pm
by thanigaivel.a
Thanks now able to upgrade. however, why every time facing issue with the upgrade?

Re: NagiosXI update to latest version fails everytime

Posted: Tue Feb 19, 2019 1:52 pm
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.

Re: NagiosXI update to latest version fails everytime

Posted: Thu Feb 21, 2019 10:10 am
by thanigaivel.a
Ok thanks, close the issue.

Re: NagiosXI update to latest version fails everytime

Posted: Thu Feb 21, 2019 10:31 am
by scottwilkerson
thanigaivel.a wrote:Ok thanks, close the issue.
Locking thread