红旗linux下apache启动时报错Permission denied: AH00072: make_sock: could not bind to address [::]

在红旗linux下安装了apache2.4.6
启动时 输入

#./httpd -k start

apache报错。报错内容如下:

Permission denied: AH00072: make_sock: could not bind to address [::]:443
Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:443

按照网上方法停止selinux没有效果。用semanage查询端口 发觉没有开放http端口。

最后解决方法如下:
到apache下的bin目录下。用root用户给予所有文件775权限

#cd $APACHE_PATH/bin/
#chmod 775 *

然后用root启动apache

#./httpd -k start

问题解决

你可能感兴趣的:(红旗linux下apache启动时报错Permission denied: AH00072: make_sock: could not bind to address [::])