Ubuntu 14.04.3 has broken Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
diverseft
Posts: 40
Joined: Wed May 23, 2012 6:13 am

Ubuntu 14.04.3 has broken Nagios

Post 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
User avatar
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

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
diverseft
Posts: 40
Joined: Wed May 23, 2012 6:13 am

Re: Ubuntu 14.04.3 has broken Nagios

Post by diverseft »

Well that worked an absolute treat. Thank you so much!
diverseft
Posts: 40
Joined: Wed May 23, 2012 6:13 am

Re: Ubuntu 14.04.3 has broken Nagios

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ubuntu 14.04.3 has broken Nagios

Post by lmiltchev »

Can you post the apache error log?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked