problem update to 3.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
b.vandijk
Posts: 2
Joined: Mon Jul 16, 2012 2:04 am

problem update to 3.2

Post by b.vandijk »

Hi,

I want to update our current Nagios XI 3.1 install.
we followed this document

after i run the ./upgrade command the process stops with the following message

Code: Select all

*** Exfoliation theme installed ***
NOTE: Use 'make install-classicui' to revert to classic Nagios theme

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios'
make install-basic
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nagioscore/nagios'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/archives
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var/spool/checkresults
if [ no = yes ]; then \
                /usr/bin/install -c -m 664 -o nagios -g nagios p1.pl /usr/local/nagios/bin; \
        fi;

*** 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.4...
no crontab for nagios
what went wrong ??
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: problem update to 3.2

Post by scottwilkerson »

You can do the following

Code: Select all

cd /tmp/nagiosxi
cat /dev/null > uninstall-crontab-nagios
cat /dev/null > uninstall-crontab-root
./upgrade
Let us know if you still don't get to the end of the upgrade script
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
b.vandijk
Posts: 2
Joined: Mon Jul 16, 2012 2:04 am

Re: problem update to 3.2

Post by b.vandijk »

awesome, that solved my problem, running on 3.2 now!
Locked