Apache startup failed

Source: Internet
Author: User
Apache startup failed-general Linux technology-Linux technology and application information. For more information, see the following. [I = s] This post was last edited by aollen

[Root @ localhost bin] # apachectl start
(99 )!!!!!!!!!!!!!!!!!!!! : Make_sock: cocould not bind to address 192.168.1.2: 80
No listening sockets available, shutting down

This problem occurs when Apache is started, and the virtual machine ip address of the experiment is not 192.168.1.2.
Changed the listening port in the apache/conf/httpd. conf file.

Later, I used find/-name httpd. conf to find that there is also an httpd. conf file in the/etc/httpd/conf/directory.
Vi/etc/httpd/conf/httpd. conf
Listen 192.168.1.1: 80 found
Listen 80
Is apache installed by default in the system ???? (1)
Do you want to uninstall the default installed apache to start a later version of apache ???? (2)

I am new to Linux and want to build a LAMP to learn more
I hope you will be enlightened!

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.