Apache Boot error (98) Address already in Use:make_sock:could no bind to ...

Source: Internet
Author: User

#/etc/init.d/httpd Start
Starting httpd: (98) address already in use:make_sock:could not bind to Address [::]:80
(98) Address already in use:make_sock:could don't bind to address 0.0.0.0:80
No listening sockets available, shutting down
Unable to open logs
[FAILED]

# Netstat-lnp|grep

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]
**********************************************************

Apache Boot error (98) Address already in Use:make_sock:could no bind to ...

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.