i install nrdp on centos 6.3 nagios core 3.41
test api ok
but i install nrdp on centos7 and nagios core 4.08
http://192.168.1.25/nrdp
show error :
Forbidden
You don't have permission to access /nrdp on this server.
http error log :
[Tue Oct 21 09:37:27.268706 2014] [suexec:notice] [pid 1113] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' di$
[Tue Oct 21 09:37:27.409935 2014] [auth_digest:notice] [pid 1113] AH01757: generating secret for digest authentication ...
[Tue Oct 21 09:37:27.410972 2014] [lbmethod_heartbeat:notice] [pid 1113] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 21 09:37:28.202281 2014] [mpm_prefork:notice] [pid 1113] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured $
[Tue Oct 21 09:37:28.205389 2014] [core:notice] [pid 1113] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 21 09:39:37.636837 2014] [authz_core:error] [pid 2352] [client 192.168.1.25:33926] AH01630: client denied by server configuration:$
please help me to fix this error
thanks
NRDP error
Re: NRDP error
Looks like an Apache misconfiguration. Please run the following commands and show their output:
Code: Select all
getenforce
cat /etc/httpd/conf.d/nrdp.conf
Former Nagios employee
Re: NRDP error
[root@localhost 桌面]# getenforce
Disabled
[root@localhost 桌面]# 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"
Disabled
[root@localhost 桌面]# 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"
Re: NRDP error
Apache 2.4 handles authorization a bit differently:
http://httpd.apache.org/docs/2.4/upgrading.html
You will want to change these lines:
to this:
http://httpd.apache.org/docs/2.4/upgrading.html
You will want to change these lines:
Code: Select all
Order allow,deny
Allow from all
Code: Select all
Require all granted
Former Nagios employee
Re: NRDP error
Thank You Very Much
it can work now
it can work now
Re: NRDP error
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee