Page 1 of 1

Upgrade from xi 2011r2.1 to 2.2

Posted: Wed Mar 07, 2012 4:24 pm
by dworthcsl
Hi,

I just wanted to verify that the upgrade was successful. I saw this running the upgrade.

Code: Select all

./upgrade 
Patching NDOUtils...
NDOUtils already patched at level 102
Yum not configured - skipping prereqs update
Copying over new XI directory...
/bin/chown: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory

The NDOUtils update seemed ok, but saw the errors at yum an error at coping files. XI also shows I am running version R2.2. Was the only update to the NDOUtils?

I am running this on RHEL 6.2 64bit, baremetal install, gnome install, no proxy or ssl. RHEL is registered with Red Hat and able to get updates.

Thanks for your help.

Re: Upgrade from xi 2011r2.1 to 2.2

Posted: Thu Mar 08, 2012 11:34 am
by lmiltchev
Run the following command in terminal and show us the output:

Code: Select all

ll /usr/local/nagiosxi

Re: Upgrade from xi 2011r2.1 to 2.2

Posted: Thu Mar 08, 2012 3:13 pm
by dworthcsl
ll /usr/local/nagiosxi
total 32
drwxr-xr-x 2 nagios nagios 4096 Feb 15 08:05 cron
drwxr-xr-x 3 nagios nagios 4096 Feb 15 08:05 etc
drwxr-xr-x 18 nagios nagios 4096 Mar 7 15:52 html
drwxr-xr-x 3 nagios nagios 4096 Feb 15 08:05 nom
drwxr-xr-x 2 nagios nagios 4096 Mar 7 15:52 scripts
drwsrwsr-x 2 nagios nagios 4096 Mar 8 10:19 tmp
drwxr-xr-x 2 nagios nagios 4096 Feb 15 08:05 tools
drwxr-xr-x 4 nagios nagios 4096 Mar 8 15:10 var

Re: Upgrade from xi 2011r2.1 to 2.2

Posted: Thu Mar 08, 2012 3:31 pm
by lmiltchev
There is a problem with the script - we will be fixing it soon. Meanwhile, try this workaround:

Run in terminal:

Code: Select all

touch /usr/local/nagiosxi/tmp/0.zip
...then run the upgrade script again:

Code: Select all

./upgrade
Hope this helps.

Re: Upgrade from xi 2011r2.1 to 2.2

Posted: Fri Mar 09, 2012 10:33 am
by dworthcsl
That worked and was able to complete the upgrade. Thank you.

Re: Upgrade from xi 2011r2.1 to 2.2

Posted: Fri Mar 09, 2012 10:35 am
by scottwilkerson
Excellent.

We have modified the install script so in versions beyond 2011R2.2 this should no linger be an issue.