Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
2017-02-11 17:18
423 查看
1. 启动 Apache 时报错:[root@localhost sh]# service httpd start Starting httpd: httpd: Could not reliably determine the server‘s fully qualified domain name, using localhost.localdomain for ServerName (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [FAILED]2. 查询到 80 端口被 nginx 占用: [root@localhost sh]# netstat -tulnp | grep ":80" tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1327/nginx3. 找到 nginx 的进程号: [root@localhost sh]# ps -ef | grep nginx root 1327 1 0 11:35 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf www 1329 1327 0 11:35 ? 00:00:00 nginx: worker process root 3902 1789 0 14:41 pts/0 00:00:00 grep --color=auto nginx4. 杀掉进程: [root@localhost sh]# kill -9 1327 [root@localhost sh]# kill -9 13295. 重新开启 Apache: [root@localhost sh]# service httpd start Starting httpd: httpd: Could not reliably determine the server‘s fully qualified domain name, using localhost.localdomain for ServerName [ OK ]Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80 |
相关文章推荐
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80
- Linux 下安装 Apache 后启动提示 (98)Address already in use: make_sock: could not bind to address [::]:80
- apache 启动失败 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address alrea
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address alre
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- apache 8080端口冲突( Starting httpd: (98)Address already in use: make_sock: could not bind to address )
- LINUX下开启apache时出现Address already in use: make_sock: could not bind to address [::]:80