Upgrade from xi 2011r2.1 to 2.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Upgrade from xi 2011r2.1 to 2.2

Post 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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade from xi 2011r2.1 to 2.2

Post by lmiltchev »

Run the following command in terminal and show us the output:

Code: Select all

ll /usr/local/nagiosxi
Be sure to check out our Knowledgebase for helpful articles and solutions!
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: Upgrade from xi 2011r2.1 to 2.2

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade from xi 2011r2.1 to 2.2

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: Upgrade from xi 2011r2.1 to 2.2

Post by dworthcsl »

That worked and was able to complete the upgrade. Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from xi 2011r2.1 to 2.2

Post by scottwilkerson »

Excellent.

We have modified the install script so in versions beyond 2011R2.2 this should no linger be an issue.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked