linux启动apache命令报错(98)Address already in use: make_sock: could not bind to addres

来源:互联网 发布:什么软件属于系统软件 编辑:程序博客网 时间:2024/05/24 07:46

问题:

输入/usr/local/apache/bin/apachectl -k start 启动apache命令后就报错:
[root@localhost conf]# /usr/local/apache/bin/apachectl -k start
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down

Unable to open logs


查看到对应哪个应用占用了80端口:
netstat -tulnp | grep ':80 '
找到对应的PID杀掉。
kill ‘PID’

0 0
原创粉丝点击