Unable to open Nagios Core console on setup created on SLES
-
- Posts: 11
- Joined: Mon Mar 07, 2016 5:59 am
Unable to open Nagios Core console on setup created on SLES
Hi Team,
I am hitting with below issue when i try to open Nagios Core console. There is no issue with Apache service.
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
100.100.29.3
Apache
Below are the setup details:
Nagios Core version - 4.4.5
OS details - SLES 15 SP1
Can yo u please help on this.
Thanks & Regards,
Rajshekar P
I am hitting with below issue when i try to open Nagios Core console. There is no issue with Apache service.
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
100.100.29.3
Apache
Below are the setup details:
Nagios Core version - 4.4.5
OS details - SLES 15 SP1
Can yo u please help on this.
Thanks & Regards,
Rajshekar P
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to open Nagios Core console on setup created on S
Can you share the nagios.conf from the apache config directory?
-
- Posts: 11
- Joined: Mon Mar 07, 2016 5:59 am
Re: Unable to open Nagios Core console on setup created on S
Hi,
Please find attached nagios.cof file.
Thanks & Regards,
Rajshekar P
Please find attached nagios.cof file.
Thanks & Regards,
Rajshekar P
- Attachments
-
- nagios.conf
- nagios.conf file
- (1.64 KiB) Downloaded 117 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to open Nagios Core console on setup created on S
And you did restart Apache after the installation correct?
Do you see errors in the apache error log?
what are the permissions here
Do you see errors in the apache error log?
what are the permissions here
Code: Select all
ls -al /usr/local/nagios/share
-
- Posts: 11
- Joined: Mon Mar 07, 2016 5:59 am
Re: Unable to open Nagios Core console on setup created on S
Hi,
Please find attached "error_log" and "ls -al /usr/local/nagios/share" output.
I see few failures in "error"log".
Thanks & Regards,
Rajshekar P
Please find attached "error_log" and "ls -al /usr/local/nagios/share" output.
I see few failures in "error"log".
Thanks & Regards,
Rajshekar P
- Attachments
-
- error_log.txt
- error_log
- (1.42 KiB) Downloaded 105 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to open Nagios Core console on setup created on S
Ok, you are getting
This leads me to believe php isn't installed
Did you install the prerequisites here?
https://support.nagios.com/kb/article/n ... .html#SUSE
Code: Select all
No matching DirectoryIndex (index.html,index.html.var)
Did you install the prerequisites here?
https://support.nagios.com/kb/article/n ... .html#SUSE
-
- Posts: 11
- Joined: Mon Mar 07, 2016 5:59 am
Re: Unable to open Nagios Core console on setup created on S
Hi,
I installed PHP. And restarted "apache2" and "nagios" service.
PHP version - 7.4.0
Attached "error_log" post PHP installation.
Thanks & Regards,
Rajshekar P
I installed PHP. And restarted "apache2" and "nagios" service.
PHP version - 7.4.0
Attached "error_log" post PHP installation.
Thanks & Regards,
Rajshekar P
- Attachments
-
- error_log-Post_PHP_Installation.txt
- error_log-Post PHP Installation
- (1.43 KiB) Downloaded 100 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to open Nagios Core console on setup created on S
You also need to run these
Code: Select all
sudo /usr/sbin/a2enmod rewrite
sudo /usr/sbin/a2enmod cgi
sudo /usr/sbin/a2enmod version
sudo /usr/sbin/a2enmod php7
sudo systemctl enable apache2.service
-
- Posts: 11
- Joined: Mon Mar 07, 2016 5:59 am
Re: Unable to open Nagios Core console on setup created on S
Hi,
Thanks for the quick help. post installation of "php7" and "apache2-mod_php7", issue is resolved.
Regards,
Rajshekar P
Thanks for the quick help. post installation of "php7" and "apache2-mod_php7", issue is resolved.
Regards,
Rajshekar P
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to open Nagios Core console on setup created on S
Great!rajshekar_p wrote:Hi,
Thanks for the quick help. post installation of "php7" and "apache2-mod_php7", issue is resolved.
Regards,
Rajshekar P
Locking thread