Hi,
I installed Nagios core and the installation was successful but when i try to launch the nagios page i get a error saying " the requested URL /nagios was not found on this server. Apache/2.4.29(Ubuntu) server at localhost port 80.
404 Not found on trying to launch localhost/nagios
-
- Posts: 2
- Joined: Mon Aug 12, 2019 3:26 am
Re: 404 Not found on trying to launch localhost/nagios
have you started apache?
systemctl start httpd
If you rebooted, did you add apache to startup?
systemctl enable httpd
have you opened the firewall port?
firewall-cmd --zone-public --add-port=80/tcp --permanent
firewall-cmd --reload
systemctl start httpd
If you rebooted, did you add apache to startup?
systemctl enable httpd
have you opened the firewall port?
firewall-cmd --zone-public --add-port=80/tcp --permanent
firewall-cmd --reload
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 404 Not found on trying to launch localhost/nagios
Did you follow this guide and all steps?
https://support.nagios.com/kb/article/n ... tml#Ubuntu
https://support.nagios.com/kb/article/n ... tml#Ubuntu
-
- Posts: 2
- Joined: Mon Aug 12, 2019 3:26 am
Re: 404 Not found on trying to launch localhost/nagios
Yes, i did follow all the steps. I am able to see nagios running on CLI, but when i try to launch the web interface its not logging. But when i run localhost, i see the ubuntu home page, so i believe apache is up and running.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 404 Not found on trying to launch localhost/nagios
It is usually these commands that would make you not get nagios is the UI when going to /nagios
Then
Code: Select all
sudo make install-webconf
sudo a2enmod rewrite
sudo a2enmod cgi
Code: Select all
sudo systemctl restart apache2.service