[英]Apache httpd:bind:Address already in use
当我将编译器交叉编译到DM8168中时,它出现“ httpd:bind:Address已经在使用中”。我将端口80更改为任何端口,例如8080,90 ...也不起作用。有人可以告诉我为什么吗?谢谢你的帮助。
make sure port 80 is not used by any other service or application with netstat command: 使用netstat命令确保端口80没有被任何其他服务或应用程序使用:
netstat -tulpn| netstat -tulpn | grep :80 grep:80
If port 80 or other port which you assigned (8080,90)is bind to httpd, kill all process: 如果端口80或您分配的其他端口(8080,90)绑定到httpd,请终止所有进程:
killall -9 httpd
Now start the httpd: 现在启动httpd:
/etc/init.d/httpd start
Also make sure you are root while starting the httpd service. 另外,在启动httpd服务时,请确保您是root用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.