Nagios Update not working
Nagios Update not working
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios Update not working
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
Yes, sir. When I re-login it just goes to the normal page. There is no button to complete upgrade.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Update not working
Can I have you do the following and return the output
Code: Select all
cd /tmp
ls -l xi*Re: Nagios Update not working
-rw-r--r-- 1 root root 33064784 Jan 17 10:56 xi-latest.tar.gz
Re: Nagios Update not working
Did you expand the tarball to some other location other than /tmp?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios Update not working
It expanded to /nagiosxi
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Update not working
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
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'
*** 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
Run the following commands and post the "upgrade.txt" file that was generated:
Code: Select all
cd /tmp/nagiosxi
./upgrade 2>&1 | tee upgrade.txtBe sure to check out our Knowledgebase for helpful articles and solutions!