Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
peter19x
Posts: 119 Joined: Tue Dec 08, 2015 10:16 am
Post
by peter19x » Mon Jun 06, 2016 9:46 am
Hello,
I installed the NRDP plugin on my nagios core and I get the following error from web when I access it http://"nagiosIP"/nrdp :
Forbidden
You don't have permission to access /nrdp on this server.
my getenforce and nrdp.cong output below
Code: Select all
[root@GSIP_MGNT_B nrdp]# getenforce
Permissive
[root@GSIP_MGNT_B nrdp]# cat /etc/httpd/conf.d/nrdp.conf
<Directory "/usr/local/nrdp">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "NRDP"
# AuthType Basic
# AuthUserFile /usr/local/nrdp/htpasswd.users
# Require valid-user
</Directory>
Alias /nrdp "/usr/local/nrdp/server"
I have read on one old topic to change
to
but that did not fix the issue.
Please Advise,
Thanks,
Peter
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Mon Jun 06, 2016 4:44 pm
What's the output of this command?
Former Nagios Employee.
me.
peter19x
Posts: 119 Joined: Tue Dec 08, 2015 10:16 am
Post
by peter19x » Tue Jun 07, 2016 3:18 am
Hello,
Thank you for the reply.
Output below:
[
Code: Select all
root@GSIP_MGNT_B admin]# ls /usr/local/nrdp/
CHANGES.TXT clients install-html INSTALL.TXT LICENSE.TXT nrdp.conf server
peter19x
Posts: 119 Joined: Tue Dec 08, 2015 10:16 am
Post
by peter19x » Tue Jun 07, 2016 6:48 am
Hello,
I found the problem, Since I was root when installing NRDP all files and directories created had 711 permission so changed all to 755 and it worked.
Thanks for the help.
mcapra
Posts: 3739 Joined: Thu May 05, 2016 3:54 pm
Post
by mcapra » Tue Jun 07, 2016 9:16 am
Thanks for sharing your solution! Closing this up