我想在centos 6上启动httpd服务器。它引发以下错误:
[root@machine ~]# service httpd start
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:88
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:88
no listening sockets available, shutting down
Unable to open logs
[FAILED]
我还检查了端口88,这不是使用。我还检查了semanage,但没有帮助。
任何帮助将不胜感激。
似乎您不是以“ root”身份运行它。只有root可以绑定到该端口(80)。在conf / httpd.conf文件的“侦听”行中检查您的配置,并将端口更改为更高的端口。
你可以用
sudo
@安德鲁,不,我不能,没有特权