【发布时间】:2016-05-10 11:54:58
【问题描述】:
当我启动 apche 服务器时,我收到类似的错误
[root@ram conf]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for ram
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:2244
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:2244
no listening sockets available, shutting down
Unable to open logs
我以 root 用户身份运行它。 我怎样才能解决这个问题 ?
【问题讨论】:
-
地址有问题,如果我没记错的话:
0.0.0.0是保留的。 .. 那,检查套接字是否没有被使用? -
This answer suggets SELinux 是罪魁祸首。
-
不,它不是 CentOS 。它是红帽。 @dusan.bajic
-
但在我的 httpd.conf 中我定义为 Listen 192.168.2.2:2244 和
----- -----