The service cannot be started when Apache is compiled and installed.

Source: Internet
Author: User
Tags apache log

/Etc/init. d/httpd restart start Apache service appears

Starting httpd: (98) Address already in use: make_sock: cocould not bind to address [:]: 80 (98) Address already in use: make_sock: cocould not bind to address 0.0.0.0: 80no listening sockets available, shutting downUnable to open logs

Translation:

Start httpd: (98) the address already in use: make_sock: cannot be bound to address: [:]: 80 (98) the address already in use: make_sock: cannot be bound to address 0.0.0.0: 80no listening socket, close downunable open log

Solution: The cause is that a process occupies port 80 used by Apache and uses the command

Netstat-lnp | grep 80: Check that the program occupies port 80 and kill the process by using the kill-9 port number.

Restart Apache/etc/init. d/httpd restart

Apache-multi-site log analysis

Install Apache that supports SSL in Ubuntu 13.10

Disguise Apache to prevent Web Server intrusion

Compiling and installing the Apache Python module mod_wsgi

Enterprise Shell script analysis and Apache Log cutting practices

Linux website architecture series-Apache-deployment

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.