Apache Boot error (98) address already in use:make_sock:could not bind to address [::]:80

Source: Internet
Author: User

#/usr/local/apache2/bin/apachectl Start

starting httpd: (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]

1.netstat-lnp|grep 80

TCP 0 0 192.168.180.68:61027 0.0.0.0:* LISTEN 6289/oproxyd
TCP 0 0::: +:::* LISTEN 846/httpd
TCP 0 0:: ffff:192.168.180.68:7001:::* LISTEN 32015/java

Find PID 846

#ps 846

View
#kill-9 846

Kill

#./apachectl start

Startup success
*****************************************************************************
Treatment methods:
# Ps-aux | grep http
Warning:bad syntax, perhaps a bogus '-'? See/usr/share/doc/procps-3.2.7/faq
Root 12079 0.0 0.0 61164 720 pts/1 s+ 16:06 0:00 grep http
# Ps-aux | grep Apache
Warning:bad syntax, perhaps a bogus '-'? See/usr/share/doc/procps-3.2.7/faq
Apache 10820 0.0 0.0 2044 600? Ss Jan01 0:04 Bash
Root 12081 0.0 0.0 61160 716 pts/1 s+ 16:06 0:00 grep Apache
# kill-9 10820
#/ETC/INIT.D/HTTPD Start
Starting httpd: [OK]
#/etc/init.d/httpd Restart
stopping httpd: [OK]
Starting httpd: [OK]
**********************************************************

The main reason is because httpd already has a running process, just kill these processes and restart them.


This article is from the "Zzfeng" blog, make sure to keep this source http://zzfeng.blog.51cto.com/8155140/1618846

Apache Boot error (98) address already in use:make_sock:could not bind to address [::]:80

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.