Migration from 2011R2.4 to 2011R3.2 issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
thiefoumongars
Posts: 3
Joined: Tue May 17, 2011 10:03 am

Migration from 2011R2.4 to 2011R3.2 issue

Post by thiefoumongars »

Hello everybody,
I'm a newbie with nagiosXI
I have an issue for upgrade from NagiosXI 2.4 to 3.2
Nagios is installed on centos 5.3 and install manually
The ./upgrade process run during 5min, it change a lot of think but the process finished with the following information
--------------------------------------------------
*** Main program, CGIs and HTML files installed ***

You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):

make install-init
- This installs the init script in /etc/rc.d/init.d

make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file

make install-config
- This installs sample config files in /usr/local/nagios/etc

#make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios'
#Running configuration check...done.
#Stopping nagios: done.
#Starting nagios: done.
#Saving old crontab to /tmp/nagios.crontab.orig.3...
#no crontab for nagios

Thanks in advance for your help
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Migration from 2011R2.4 to 2011R3.2 issue

Post by yancy »

thiefoumongars,

Can you post the following:

Code: Select all

 crontab -l 
Regards,

-Yancy
thiefoumongars
Posts: 3
Joined: Tue May 17, 2011 10:03 am

Re: Migration from 2011R2.4 to 2011R3.2 issue

Post by thiefoumongars »

Hi yancy,
I execute your command and the result is:
--------------------------
# crontab -l
no crontab for root

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Migration from 2011R2.4 to 2011R3.2 issue

Post by scottwilkerson »

Run the following

Code: Select all

cd /tmp/nagiosxi
cat /dev/null > uninstall-crontab-nagios
cat /dev/null > uninstall-crontab-root
./upgrade
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thiefoumongars
Posts: 3
Joined: Tue May 17, 2011 10:03 am

Re: Migration from 2011R2.4 to 2011R3.2 issue

Post by thiefoumongars »

Hi all,

Perfect Issue resolved, thanks a lot

Just for information, Somebody can explain me why ?

--------------------------
Complete!
==================
UPGRADE COMPLETED!
==================
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Migration from 2011R2.4 to 2011R3.2 issue

Post by scottwilkerson »

There was a bug in our upgrade script that showed its head if there was no current data in the root crontab.

It has been fixed for future releases.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked