今天启动apache,遇到了一个这样的问题
/etc/init.d/httpd start
启动 httpd:(13)Permission denied: make_sock: could not bind to address 10.2.3.242:8001
no listening sockets available, shutting down
Unable to open logs
经查是selinux的问题,如果不使用selinux,关闭即可
/etc/selinux/config 中SELINUX=disabled,然后重启
阅读(882) | 评论(0) | 转发(0) |