Hi guys
I decided to upgrade nagios to latest version and then upgrade Ubuntu to 14.04.3. Nagios upgraded perfectly but Ubuntu has screwed everything up. If i try and browse to nagios i get
"Not Found
The requested URL /nagios/ was not found on this server"
if i browse to just the ip of the ubuntu server it displays default Apache page but /nagios is as above. I am really unsure what to check now. I did run:
sudo ls -l /etc/apache2/sites-enabled/
total 0
lrwxrwxrwx 1 root root 35 Sep 28 19:42 000-default.conf -> ../sites-available/00 0-default.conf
Any help would be greatly appreciated.
thanks
Ubuntu 14.04.3 has broken Nagios
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Ubuntu 14.04.3 has broken Nagios
I've got these instructions for a fresh install from Source:
http://sites.box293.com/nagios/guides/i ... untu-14-04
You may need to re-compile Nagios with this command:
And then:
And:
These are just some broad stabs in the dark!
http://sites.box293.com/nagios/guides/i ... untu-14-04
You may need to re-compile Nagios with this command:
Code: Select all
./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-mail=/usr/bin/sendmail --with-httpd-conf=/etc/apache2/sites-enabledCode: Select all
make install-webconf Code: Select all
a2enmod rewrite
a2enmod cgi
service apache2 restart aAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Ubuntu 14.04.3 has broken Nagios
Well that worked an absolute treat. Thank you so much!
Re: Ubuntu 14.04.3 has broken Nagios
One thing I have noticed is the Maps (Legacy) page does not display:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Is this related to something different do you think?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Is this related to something different do you think?
Re: Ubuntu 14.04.3 has broken Nagios
Can you post the apache error log?
Be sure to check out our Knowledgebase for helpful articles and solutions!