[icinga-users] Antw: Upgrading from 1.6.1 to 1.8.4

weales at xmission.com weales at xmission.com
Tue Feb 26 20:48:55 CET 2013


I see that in my 1.6.1 config.log that the configure is:

./configure --with-command-group=icinga-cmd --enable-idoutils


So I ran that from the 1.8.4 directory, then:
make all
make install
service icinga restart

It still shows as 1.6.1.


Here is the output from the make install.
Perhaps someone will see something:


[root at icingabox icinga-1.8.4]# make install
cd ./base && make install
make[1]: Entering directory `/opt/icinga-1.8.4/base'
make install-basic
make[2]: Entering directory `/opt/icinga-1.8.4/base'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/bin
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/lib
/usr/bin/install -c -m 774 -o icinga -g icinga icinga /usr/local/icinga/bin
/usr/bin/install -c -m 774 -o icinga -g icinga icingastats  
/usr/local/icinga/bin
make[2]: Leaving directory `/opt/icinga-1.8.4/base'
make strip-post-install
make[2]: Entering directory `/opt/icinga-1.8.4/base'
/usr/bin/strip /usr/local/icinga/bin/icinga
/usr/bin/strip /usr/local/icinga/bin/icingastats
make[2]: Leaving directory `/opt/icinga-1.8.4/base'
make[1]: Leaving directory `/opt/icinga-1.8.4/base'
cd ./cgi && make install
make[1]: Entering directory `/opt/icinga-1.8.4/cgi'
make install-basic
make[2]: Entering directory `/opt/icinga-1.8.4/cgi'
/usr/bin/install -c -m 775 -o apache -g apache -d /usr/local/icinga/share/log
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/sbin
for file in *.cgi; do \
                 /usr/bin/install -c -m 775 -o icinga -g icinga $file  
/usr/local/icinga/sbin; \
         done
make[2]: Leaving directory `/opt/icinga-1.8.4/cgi'
make strip-post-install
make[2]: Entering directory `/opt/icinga-1.8.4/cgi'
for file in *.cgi; do \
                 /usr/bin/strip /usr/local/icinga/sbin/$file; \
         done
make[2]: Leaving directory `/opt/icinga-1.8.4/cgi'
make[1]: Leaving directory `/opt/icinga-1.8.4/cgi'
cd ./html && make install
make[1]: Entering directory `/opt/icinga-1.8.4/html'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/share
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/media
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/stylesheets
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/share/docs
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/stylesheets
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/js
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/en
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/de
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/images
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/docs/images/flags
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/images
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/images/logos
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/jquery-ui
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/jquery-ui/theme
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/share/jquery-ui/theme/images
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/share/js
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/share/ssi
/usr/bin/install -c -m 444 -o icinga -g icinga log/.htaccess  
/usr/local/icinga/share/log
/usr/bin/install -c -m 644 -o icinga -g icinga log/index.htm  
/usr/local/icinga/share/log
/usr/bin/install -c -m 664 -o icinga -g icinga robots.txt  
/usr/local/icinga/share
/usr/bin/install -c -m 664 -o icinga -g icinga docs/robots.txt  
/usr/local/icinga/share/docs
for file in *.html; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share; done
for file in stylesheets/*.css; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/stylesheets; done
for file in docs/*.html; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs; done
for file in docs/js/*.js; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/js; done
for file in docs/stylesheets/*.css; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/stylesheets; done
for file in docs/en/*.html; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/en; done
for file in docs/de/*.html; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/de; done
for file in docs/images/*.*; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/images; done
for file in docs/images/flags/*.*; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/docs/images/flags; done
for file in images/*.png; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/images; done
for file in images/*.jpg; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/images; done
for file in images/*.gif; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/images; done
for file in images/*.ico; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/images; done
for file in images/logos/*.*; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/images/logos; done
for file in jquery-ui/*.js; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/jquery-ui; done
for file in jquery-ui/theme/*.css; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/jquery-ui/theme; done
for file in jquery-ui/theme/images/*.png; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/jquery-ui/theme/images; done
for file in js/*.js; \
         do /usr/bin/install -c -m 664 -o icinga -g icinga $file  
/usr/local/icinga/share/js; done
make[1]: Leaving directory `/opt/icinga-1.8.4/html'
make install-basic
make[1]: Entering directory `/opt/icinga-1.8.4'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/libexec
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/var
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/var/archives
/usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/var/spool/checkresults
if [ no = yes ]; then \
                 /usr/bin/install -c -m 775 -o icinga -g icinga -d  
/usr/local/icinga/lib; \
                 /usr/bin/install -c -m 664 -o icinga -g icinga p1.pl  
/usr/local/icinga/lib; \
         fi;

*** Main program, CGIs and HTML files installed ***

You can continue with installing Icinga 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-eventhandlers
      - This installs the sample eventhandlers in  
/usr/local/icinga/libexec/eventhandlers

   make install-idoutils
      - This installs the database addon IDOUtils into the
        destination directory

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

   make install-webconf
      - This installs the Apache config file for the web interface


*** Make sure to check Changelog for introduced changes! ***
*** In case of an upgrade, don't forget to read the upgrade guides! ***
     http://docs.icinga.org/latest/en/upgrading.html

make[1]: Leaving directory `/opt/icinga-1.8.4'
[root at icingabox icinga-1.8.4]# service icinga restart
Running configuration check...OK
Stopping icinga: Stopping icinga done.
Starting icinga: Starting icinga done.
[root at icingabox icinga-1.8.4]#



thanks
Ron


Quoting Wiltmut Gerdes <Wiltmut.Gerdes at stadt-oldenburg.de>:

> Hello Ron,
>
> it seems you install Icinga in a different Directory.
>
> When you install icinga with .configure. You will install it with all
> default parameters.
>
> Did you install icinga 1.6.1 in the same way?
>
>
> Look in your old icinga 1.6.1 directory ond look what you have done
> before.
>
> With
>
> head config.log
>
> you see the old parameters from while executing configure
>
>
> Greetings Willi
>
>
>>>> <weales at xmission.com> 21.02.2013 23:54 >>>
> I am trying to upgrade to icinga-1.8.4 from icinga-1.6.1.
>
> I downloaded and untarred it, backed up my /etc/icinga, then:
> ./configure
> make all
> make install
> service icinga restart
>
> I received no error messages and everything appeared normal.
>
> However when I log back into Icinga it still shows the 1.6.1 version.
>
> I have looked in the Event Log and don't see that anything happened,
> except for restarting the service.
>
> What is the recommended way to upgrade Icinga?
> What am I missing?
>
> TIA!
> ~Ron
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>






More information about the icinga-users mailing list