Page 1 of 1

Nagios fusion showing no permission to read /nagiosfusion/

Posted: Mon Feb 03, 2020 7:35 am
by satyanarayanadatla
Hi All,

We installed Nagios Fusion today with offline tarball method. All pre-requisites installation were completed successfully as well as the installation completed as successful, however while accessing the url we are getting following error:
Forbidden
You don't have permission to access /nagiosfusion/ on this server.


Regards,
Satya D

Re: Nagios fusion showing no permission to read /nagiosfusio

Posted: Mon Feb 03, 2020 11:56 am
by satyanarayanadatla
Here is the copy of folder structure and their permissions:

local]# ls -ltr
total 0
drwxr-xr-x. 2 root root 6 Dec 15 2017 src
drwxr-xr-x. 5 root root 49 Dec 15 2017 share
drwxr-xr-x. 2 root root 6 Dec 15 2017 sbin
drwxr-xr-x. 2 root root 6 Dec 15 2017 libexec
drwxr-xr-x. 2 root root 6 Dec 15 2017 lib64
drwxr-xr-x. 2 root root 6 Dec 15 2017 lib
drwxr-xr-x. 2 root root 6 Dec 15 2017 include
drwxr-xr-x. 2 root root 6 Dec 15 2017 games
drwxr-xr-x. 2 root root 6 Dec 15 2017 etc
drwxr-xr-x. 2 root root 6 Dec 15 2017 bin
drwx------ 2 root root 6 Jan 31 16:43 nagiosql
drwx------ 2 root root 6 Jan 31 16:44 backup
drwx------ 7 nagios nagios 84 Feb 3 19:23 nagiosfusion
drwx------ 3 root root 26 Feb 3 19:23 backups
drwxr-xr-x 6 mysql mysql 191 Feb 3 19:24 mysql

nagiosfusion]# ls -ltr
total 8
drwxr-x--- 2 nagios nagios 148 Feb 3 19:23 cron
-rw-r----- 1 nagios nagios 1 Feb 3 19:23 index.php
drwxr-x--- 12 nagios nagios 280 Feb 3 19:23 html
drwsrwsr-x 2 apache nagios 6 Feb 3 19:23 tmp
drwxr-x--- 2 nagios nagios 4096 Feb 3 19:23 scripts
drwxr-x--- 4 nagios nagios 121 Feb 3 19:23 var

Re: Nagios fusion showing no permission to read /nagiosfusio

Posted: Tue Feb 04, 2020 4:59 pm
by benjaminsmith
Hello,

Welcome to the Nagios Support Forum! I have a few questions to help troubleshoot the error.

1. Is this a new system? The installer should set the correct permissions for Apache and the files. Are there any other applications running on this server?

2. Can you upload the Apache configuration file?

Code: Select all

/etc/httpd/conf/httpd.conf
3. Check the permission on the html files

Code: Select all

ls -lR /usr/local/nagiosfusion/html/