Page 1 of 1

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

Posted: Tue Aug 07, 2012 4:25 am
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

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

Posted: Tue Aug 07, 2012 10:41 am
by yancy
thiefoumongars,

Can you post the following:

Code: Select all

 crontab -l 
Regards,

-Yancy

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

Posted: Wed Aug 08, 2012 5:23 am
by thiefoumongars
Hi yancy,
I execute your command and the result is:
--------------------------
# crontab -l
no crontab for root

Thanks

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

Posted: Wed Aug 08, 2012 9:58 am
by scottwilkerson
Run the following

Code: Select all

cd /tmp/nagiosxi
cat /dev/null > uninstall-crontab-nagios
cat /dev/null > uninstall-crontab-root
./upgrade

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

Posted: Thu Aug 09, 2012 6:03 am
by thiefoumongars
Hi all,

Perfect Issue resolved, thanks a lot

Just for information, Somebody can explain me why ?

--------------------------
Complete!
==================
UPGRADE COMPLETED!
==================

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

Posted: Thu Aug 09, 2012 7:38 am
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.