Page 1 of 3
Nagios Update not working
Posted: Wed Jan 30, 2013 12:03 am
by kiddbios
Hello,
I attempted to run the nagios update instructions from this document:
http://assets.nagios.com/downloads/nagi ... ctions.pdf
After running the update it still shows that we're on the same version that we were before. We are using a Hyper-V image of 2011.R1.9 on CentOS 6.0. We've restarted, reloaded the browser cache, etc.
Thanks,
Brad
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 10:03 am
by slansing
Have you re-logged into your user in the Web UI and clicked "Complete Upgrade", after you upgrade this is the only page you can view after re-logging in until you click the button.
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 3:36 pm
by kiddbios
Yes, sir. When I re-login it just goes to the normal page. There is no button to complete upgrade.
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 3:54 pm
by scottwilkerson
Can I have you do the following and return the output
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 4:15 pm
by kiddbios
-rw-r--r-- 1 root root 33064784 Jan 17 10:56 xi-latest.tar.gz
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 4:18 pm
by abrist
Did you expand the tarball to some other location other than /tmp?
Re: Nagios Update not working
Posted: Wed Jan 30, 2013 7:31 pm
by kiddbios
It expanded to /nagiosxi
Re: Nagios Update not working
Posted: Thu Jan 31, 2013 9:09 am
by scottwilkerson
Ok, when you run ./upgrade from /tmp/nagiosxi does it finish with the following?
Code: Select all
Logout of the Nagios XI interface and log back in as 'nagiosadmin' to complete the upgrade.
You can access the Nagios XI web interface by visiting:
http://xxx.xxx.xxx.xxx/nagiosxi/
Re: Nagios Update not working
Posted: Thu Jan 31, 2013 2:54 pm
by kiddbios
I do not get that message. Here are the last few lines:
*** Configuration summary for nsca 2.9.1 01-27-2012 ***:
General Options:
-------------------------
NSCA port: 5667
NSCA user: nagios
NSCA group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NSCA daemon and client.
cd ./src/; make all ; cd ..
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nsca/nsca-2.9.1/src'
gcc -g -O2 -DHAVE_LIBMCRYPT -I/usr/include -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -lmcrypt -lnsl -lwrap
gcc -g -O2 -DHAVE_LIBMCRYPT -I/usr/include -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -lmcrypt -lnsl
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nsca/nsca-2.9.1/src'
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
Traceback (most recent call last):
File "./install", line 17, in <module>
installpath = os.environ['INSTALL_PATH']
File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'INSTALL_PATH'
Re: Nagios Update not working
Posted: Thu Jan 31, 2013 5:46 pm
by lmiltchev
Run the following commands and post the "upgrade.txt" file that was generated:
Code: Select all
cd /tmp/nagiosxi
./upgrade 2>&1 | tee upgrade.txt