Page 1 of 1

Ubuntu 14.04.3 has broken Nagios

Posted: Mon Sep 28, 2015 2:45 pm
by diverseft
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

Re: Ubuntu 14.04.3 has broken Nagios

Posted: Mon Sep 28, 2015 2:53 pm
by Box293
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:

Code: Select all

./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-mail=/usr/bin/sendmail --with-httpd-conf=/etc/apache2/sites-enabled
And then:

Code: Select all

make install-webconf 
And:

Code: Select all

a2enmod rewrite
a2enmod cgi
service apache2 restart a
These are just some broad stabs in the dark!

Re: Ubuntu 14.04.3 has broken Nagios

Posted: Tue Sep 29, 2015 2:25 am
by diverseft
Well that worked an absolute treat. Thank you so much!

Re: Ubuntu 14.04.3 has broken Nagios

Posted: Tue Sep 29, 2015 2:27 am
by diverseft
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?

Re: Ubuntu 14.04.3 has broken Nagios

Posted: Tue Sep 29, 2015 1:26 pm
by lmiltchev
Can you post the apache error log?