Installed first time to test out the software. Script ran succesfully, but got 403 error on hitting the initial url /nagioslogserver. The umask on the server is 077. It seems to be a file permission issue which the installation script did not account for. What is the solution?
Also is selinux supposed to be disabled? The installation script looks like it tries to disable but doesn't actually happen until after reboot.
Installation failed 403
Re: Installation failed 403
Does your system not allow you to go to http://<ip>/nagioslogserver ? or that without the /nagioslogserver it doesn't work? There was an issue with placing the redirect file in /var/www/html at one point.
Yes, it should disable selinux - when you disable it, it goes into permissive mode and it actually becomes disabled once you restart.
Yes, it should disable selinux - when you disable it, it goes into permissive mode and it actually becomes disabled once you restart.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Installation failed 403
No. The url returns a permission error 403.
[Thu Jul 19 11:41:55.206662 2018] [core:error] [pid 3051] (13)Permission denied: [client XXXXXXXXX:60619] AH00035: access to /nagioslogserver denied (filesystem path '/var/www/html/nagioslogserver/www') because search permissions are missing on a component of the path
[Thu Jul 19 11:41:55.206662 2018] [core:error] [pid 3051] (13)Permission denied: [client XXXXXXXXX:60619] AH00035: access to /nagioslogserver denied (filesystem path '/var/www/html/nagioslogserver/www') because search permissions are missing on a component of the path
Re: Installation failed 403
I believe the issue is with file permissions in /var/www since my umask is 0077. What should the umask be on the server before the installation script is run?
Re: Installation failed 403
It looks like it is the umask, normally the umask on a linux system is 022 and we don't test it on anything other than that.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Installation failed 403
I disabled selinux ahead of time and set the umask to 0022 prior to the install. It may be a good idea to put this in the installation document as a prereq requirement.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation failed 403
We will have that added. Did this resolve your issue?cockraml wrote:I disabled selinux ahead of time and set the umask to 0022 prior to the install. It may be a good idea to put this in the installation document as a prereq requirement.
Re: Installation failed 403
It did resolve the issue. Thank you for your help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installation failed 403
Closingcockraml wrote:It did resolve the issue. Thank you for your help.