Hi,
I have a problem when Im installing Nagios 4.0.4
I followed all the steps of this link:
https://assets.nagios.com/downloads/nag ... Source.pdf
Well, I have a vm of ubuntu 14.04LTS and Apache works correctly. But trying to access http://localhost/nagios doesn`t work.
the error is:
Not Found
the requested URL /nagios was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
I think maybe the problem is that nagios has installed in a wrong path, and in that case apache can`t find it.
Can someone explain me how to solve this problem? Is the documentation of the link correct?
Thanks,
Nagios 4.0.4
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios 4.0.4
Here's a guide I did a while ago:
http://sites.box293.com/nagios/guides/i ... untu-14-04
I believe the key to your problem lies with the configure command, it needs to be pointed to the /etc/apache2/sites-enabled location:
http://sites.box293.com/nagios/guides/i ... untu-14-04
I believe the key to your problem lies with the configure command, it needs to be pointed to the /etc/apache2/sites-enabled location:
Code: Select all
./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-mail=/usr/bin/sendmail --with-httpd-conf=/etc/apache2/sites-enabled
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios 4.0.4
Thank you so much@Box293,
Congrats for your link.
Code: Select all
The problem was that I forgot put these commands:
Type iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT and press Enter
Type apt-get install -y iptables-persistent and press Enter
Press Enter on Yes to save current IPv4 rules
Type a2enmod rewrite and press Enter
Type a2enmod cgi and press Enter
Type service apache2 restart and press Enter
Re: Nagios 4.0.4
Is this one working now?limagios wrote:Thank you so much@Box293,
Congrats for your link.Code: Select all
The problem was that I forgot put these commands: Type iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT and press Enter Type apt-get install -y iptables-persistent and press Enter Press Enter on Yes to save current IPv4 rules Type a2enmod rewrite and press Enter Type a2enmod cgi and press Enter Type service apache2 restart and press Enter
Former Nagios Employee.
me.
me.
Re: Nagios 4.0.4
Great. I am going to lock this topic. Please feel free to post if you have additional questions!limagios wrote:Yes, now its working.
Former Nagios Employee.
me.
me.