SELinux is preventing /usr/sbin/httpd from name_connect access on the tcp_socket .
***** 插件 catchall_boolean (47.5 置信度) 建议 ************************************
If 您要 allow HTTPD scripts and modules to connect to the network using TCP.
Then 您必须告知 SELinux 这个情况,方法是启用 'httpd_can_network_connect' 布尔。'mysqld_selinux' man page >中有详细资料。
Do
setsebool -P httpd_can_network_connect 1
***** 插件 catchall_boolean (47.5 置信度) 建议 ************************************
If 您要 allow HTTPD scripts and modules to connect to databases over the network.
Then 您必须告知 SELinux 这个情况,方法是启用 'httpd_can_network_connect_db' 布尔。'mysqld_selinux' man page 中有详细资料。
Do
setsebool -P httpd_can_network_connect_db 1
***** 插件 catchall (6.38 置信度) 建议 ********************************************
If 您确定应默认允许 httpd name_connect 访问 tcp_socket。
Then 您应该将这个情况作为 bug 报告。
您可以生成本地策略模块允许这个访问。
Do
请执行以下命令此时允许这个访问:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp