LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Problem with "Unknown Authz provider: ip" (https://www.linuxquestions.org/questions/linux-security-4/problem-with-unknown-authz-provider-ip-4175606431/)

ampapa 05-22-2017 05:28 AM

Problem with "Unknown Authz provider: ip"
 
I have a QNAP that I run SSL and a wordpress site on and after recent apache upgrade I'm seeing in the log the following error repeatdly when attempting open my site.

Quote:

[Mon May 22 04:40:48.152762 2017] [core:alert] [pid 10867] [client 80.131.105.190:58868] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:49.232773 2017] [core:alert] [pid 18242] [client 80.131.105.190:58869] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:49.728447 2017] [core:alert] [pid 15617] [client 80.131.105.190:58870] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:50.226120 2017] [core:alert] [pid 15619] [client 80.131.105.190:58872] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:50.707540 2017] [core:alert] [pid 10894] [client 80.131.105.190:58873] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:51.213653 2017] [core:alert] [pid 10867] [client 80.131.105.190:58875] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:56.450329 2017] [core:alert] [pid 18242] [client 80.131.105.190:58876] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:59.199764 2017] [core:alert] [pid 15617] [client 80.131.105.190:58878] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:40:59.744476 2017] [core:alert] [pid 15619] [client 80.131.105.190:58879] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:41:00.219005 2017] [core:alert] [pid 10894] [client 80.131.105.190:58880] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 04:41:00.701427 2017] [core:alert] [pid 10867] [client 80.131.105.190:58881] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 05:25:45.501103 2017] [core:alert] [pid 15619] [client 66.249.65.253:46098] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
[Mon May 22 05:25:46.077834 2017] [core:alert] [pid 10894] [client 66.249.65.247:42576] /share/Web/WordPress/.htaccess: Unknown Authz provider: ip
I've verified the module is loaded so I'm kind of stuck at he moment.

Quote:

[/mnt/ext/opt/apache/bin] # ./apachectl* -t -D DUMP_MODULES
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/config/apache/extra/httpd-ssl-vhosts-user.conf:1
AH00558: apache: Could not reliably determine the server's fully qualified domain name, using 192.168.2.11. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (static)
php5_module (shared)
unixd_module (shared)
access_compat_module (shared)
authz_core_module (shared)
filter_module (shared)
mime_module (shared)
setenvif_module (shared)
socache_shmcb_module (shared)
log_config_module (shared)
rewrite_module (shared)
alias_module (shared)
actions_module (shared)
dir_module (shared)
autoindex_module (shared)
deflate_module (shared)
reqtimeout_module (shared)
cgi_module (shared)
version_module (shared)
env_module (shared)
authn_file_module (shared)
authn_core_module (shared)
authz_user_module (shared)
auth_basic_module (shared)
headers_module (shared)
authz_groupfile_module (shared)
proxy_module (shared)
proxy_wstunnel_module (shared)
ssl_module (shared)
Can anyone give me some ideas of what the problem is and how to address?

Thanks.

ampapa,

bathory 05-22-2017 05:46 AM

Hi,

You didn't post your apache config, but from the error you get and the list of loaded modules, you miss authz_host module.
Load the missing module and restart apache.

Regards

ampapa 05-22-2017 06:16 AM

Many thanks!

Can you help me understand what that module is doing?

ampapa,

bathory 05-22-2017 06:32 AM

Quote:

Originally Posted by ampapa (Post 5713687)
Many thanks!

Can you help me understand what that module is doing?

ampapa,

It restricts access to a resource like Directory/Location, by IP address or hostname.
For more details, read the official apache module documentation.

ampapa 05-22-2017 06:34 AM

Makes sense... thanks for the quick help.

ampapa,

bathory 05-22-2017 06:41 AM

Quote:

Originally Posted by ampapa (Post 5713696)
Makes sense... thanks for the quick help.

ampapa,

You're welcome!
Please mark the thread "SOLVED" from the thread tools on top of the page.

Regards

sundialsvcs 05-22-2017 08:44 AM

Apache is a very modular system. (Maybe, "too much so!" :rolleyes:) Modules hook into the service-provider loop and the processing of configuration files, such that, if a particular module is not loaded, a directive might not be understood.


All times are GMT -5. The time now is 01:07 PM.