Failed upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Failed upgrade

Post by cwscribner »

Hi all.

I just attempted to upgrade to R7 and encountered some errors regarding permissions and NagiosQL not applying configuration. Here's the errors output during the upgrade

Code: Select all

NAGIOSQL WRITE CONFIGS FAILED!\n
/tmp/nagiosxi
/tmp/nagiosxi/subcomponents/nagiosql/nagiosql3-modified /tmp/nagiosxi/subcomponents/nagiosql
/tmp/nagiosxi/subcomponents/nagiosql
NAGIOSQL-POST
chown: changing ownership of `/etc/nagiosql/backup/hosts/172.24.105.1.cfg_old_20110919172008': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/qcy-rtr-1.cfg_old_20110921124040': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamim10a09d.healthone.org.cfg_old_20110919125448': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmawrxped0032d.healthone.org.cfg_old_20110919164408': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.24.105.45.cfg_old_20110921182241': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamim20a18d.healthone.org.cfg_old_20110921144539': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.77.77.cfg_old_20110921171212': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/b_lb_12.healthone.org.cfg_old_20110919165217': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmachemnrc07r.healthone.org.cfg_old_20110921144000': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/wkenlyncedgep01.healthone.org.cfg_old_20110921171305': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamim20b03d.healthone.org.cfg_old_20110921144039': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmachepha0002d.healthone.org.cfg_old_20110919124249': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.20.21.7.cfg_old_20110921122044': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.92.43.cfg_old_20110921171128': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamder0003d.healthone.org.cfg_old_20110921161236': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.61.246.cfg_old_20110919170409': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmaburbh00002d.healthone.org.cfg_old_20110919165250': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/npic5fc20.healthone.org.cfg_old_20110921121437': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/wkenpaloxpp01.healthone.org.cfg_old_20110919124339': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.20.23.17.cfg_old_20110919172807': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.60.50.cfg_old_20110921145019': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.92.49.cfg_old_20110921163034': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamsma0002d.healthone.org.cfg_old_20110921170958': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacheped0010d.healthone.org.cfg_old_20110919170011': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/vkenmossd01.cfg_old_20110921124211': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmawatvs00001d.healthone.org.cfg_old_20110919171010': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.251.91.cfg_old_20110921124034': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/hvmacamped0a04d.healthone.org.cfg_old_20110919124319': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.20.23.71.cfg_old_20110919171853': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.57.247.cfg_old_20110919164524': No such file or directory
chmod: changing permissions of `/etc/nagiosql/backup/hosts/172.22.51.10.cfg_old_20110921160737': No such file or directory
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Last edited by cwscribner on Wed Sep 28, 2011 12:57 pm, edited 1 time in total.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Failed upgrade

Post by nscott »

Those just look like backup folders. Are you able to successfully login to the web interface? And does it say 1.7?
Nicholas Scott
Former Nagios employee
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Failed upgrade

Post by cwscribner »

I'm able to log in, but it doesn't say 1.7...yet. Last time I upgraded I had to click "Check for Updates" before it showed the current version. I just restarted the server so I'll post shortly.

Site note: It said I don't have permission to restart nagios via the CCM>Write Config Files
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Failed upgrade

Post by mguthrie »

This issue appears to be related to problems identified in the following thread:
http://support.nagios.com/forum/viewtop ... 7&start=10
Locked