[Cialug] CentOS httpd
L. V. Lammert
lvl at omnitec.net
Tue Nov 8 12:01:17 CST 2016
On Tue, 8 Nov 2016, Kyle Hamilton wrote:
> Check if selinux is enabled with 'getenforce'. You can search for 'fail'
> by using 'less /var/log/audit/auth.log' fressing 'G' to go the the end
> of the file, pressing '?' to do a reverse search, typing fail, hitting
> enter to finally search. Use n to go to next result, and N to go to
> previous search result. Selinux is most likely your problem.
>
Bingo - thanks!!
# ls -Z /etc/httpd/conf/httpd.conf
-rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 /etc/httpd/conf/httpd.conf
Set to permissive for testing, .. but httpd cannot bind to the port:
... could not bind to address 10.128.0.5:443
(Set to specific IP to troubleshoot, no change.)
Is there a different selinux permission for ports?
> Do not set selinux to permissive, just go over the small learning hump
>
You must have been a good salesman in an earlier life <g>??
Thanks!!
Lee
More information about the Cialug
mailing list