Page 1 of 1

NRDP

Posted: Mon Jun 06, 2016 9:46 am
by peter19x
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

Code: Select all

Order allow,deny
   Allow from all
to

Code: Select all

Require all granted
but that did not fix the issue.

Please Advise,
Thanks,
Peter

Re: NRDP

Posted: Mon Jun 06, 2016 4:44 pm
by hsmith
What's the output of this command?

Code: Select all

ls -l /usr/local/nrdp

Re: NRDP

Posted: Tue Jun 07, 2016 3:18 am
by peter19x
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

Re: NRDP

Posted: Tue Jun 07, 2016 6:48 am
by peter19x
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.

Re: NRDP

Posted: Tue Jun 07, 2016 9:16 am
by mcapra
Thanks for sharing your solution! Closing this up