Just tried a manual upgrade to 5.2.5 and hit a permission problem upgrade NRDP and upgrade
fails:
[root@lonagiosxi nagiosxi]# ./upgrade
Archive: sourceguardian/ixed4.lin.x86-32.zip
inflating: /usr/lib/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Checking required prereqs...
Please wait...
OLD VERSION: 512
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: http://www.muug.mb.ca
* base: mirror.its.sfu.ca
* epel: http://www.muug.mb.ca
* extras: http://www.muug.mb.ca
* rpmforge: mirror.cpsc.ucalgary.ca
* updates: centos.mirror.rafal.ca
Setting up Install Process
Package automake-1.9.6-3.el5.noarch already installed and latest version
Package autoconf-2.59-12.noarch already installed and latest version
Package php-mbstring-5.1.6-45.el5_11.i386 already installed and latest version
Package 2:nmap-6.47-1.i386 already installed and latest version
Package subversion-1.6.11-12.el5_10.i386 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: http://www.muug.mb.ca
* base: mirror.its.sfu.ca
* epel: mirrors.cat.pdx.edu
* extras: http://www.muug.mb.ca
* updates: mirror.netflash.net
Setting up Install Process
Package 4:perl-5.8.8-43.el5_11.i386 already installed and latest version
Package perl-Class-Accessor-0.34-1.el5.rf.noarch already installed and latest version
Package perl-Params-Validate-0.95-1.el5.rf.i386 already installed and latest version
Package perl-Config-Tiny-2.12-1.el5.rf.noarch already installed and latest version
Package perl-Math-Calc-Units-1.07-6.el5.noarch already installed and latest version
Package perl-Number-Format-1.73-1.el5.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: http://www.muug.mb.ca
* base: mirror.its.sfu.ca
* epel: mirrors.cat.pdx.edu
* extras: http://www.muug.mb.ca
* rpmforge: mirror.cpsc.ucalgary.ca
* updates: mirror.netflash.net
Setting up Install Process
Package php-pecl-ssh2-0.11.0-1.el5.rf.i386 already installed and latest version
Nothing to do
Updating NRDP..
./upgrade: line 714: /usr/local/nagiosxi/tools/install_dashlet.php: Permission denied
Here is install_dashlet.php:
[root@lonagiosxi tools]# ls -l install_dashlet.php
-rw-rw---- 1 nagios nagios 3196 Nov 10 14:46 install_dashlet.php
Are the permissions correct?
Thanks for any info on how to correct this.
Upgrade from 5.1.2 to 5.2.5
Re: Upgrade from 5.1.2 to 5.2.5
What's the output of a 'yum repolist' command?
Former Nagios Employee.
me.
me.
Re: Upgrade from 5.1.2 to 5.2.5
My permissions are 750.
Run:
then try upgrading again. If the upgrade fails again, post the entire upgrade.log.
Run:
Code: Select all
chmod 750 /usr/local/nagiosxi/tools/install_dashlet.phpBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade from 5.1.2 to 5.2.5
[root@lonagiosxi tools]# yum repolisthsmith wrote:What's the output of a 'yum repolist' command?
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: http://www.muug.mb.ca
* base: http://www.muug.mb.ca
* epel: mirrors.cat.pdx.edu
* extras: http://www.muug.mb.ca
* rpmforge: mirror.cpsc.ucalgary.ca
* updates: centos.mirror.rafal.ca
repo id repo name status
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,791
dag Dag RPM Repository for Red Hat Enterprise Linux enabled: 11,610
epel Extra Packages for Enterprise Linux 5 - i386 enabled: 5,426
extras CentOS-5 - Extras enabled: 272
nagios-base Nagios enabled: 1
nagiosxi-deps Nagios XI Dependencies enabled: 4
rpmforge RHEL 5 - RPMforge.net - dag enabled: 11,610
updates CentOS-5 - Updates enabled: 527
Re: Upgrade from 5.1.2 to 5.2.5
Thanks, that did it.lmiltchev wrote:My permissions are 750.
Run:then try upgrading again. If the upgrade fails again, post the entire upgrade.log.Code: Select all
chmod 750 /usr/local/nagiosxi/tools/install_dashlet.php
I was not sure what they should be, so I thought I'd ask before blindly changing them.
Thanks again.
Re: Upgrade from 5.1.2 to 5.2.5
So, were you able to successfully complete the upgrade? Is it safe to lock this thread, and mark it as "resolved"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade from 5.1.2 to 5.2.5
Yes I was. Thanks.lmiltchev wrote:So, were you able to successfully complete the upgrade? Is it safe to lock this thread, and mark it as "resolved"?
Re: Upgrade from 5.1.2 to 5.2.5
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!