Does apache installation seem to have failed?

Source: Internet
Author: User
Does apache installation seem to have failed? -- Linux general technology-Linux technology and application information. For details, refer to the following section. Apache2 is installed. The specified startup command is/usr/local/apache2/bin/apachectl start.
I am running as a root user on the terminal. There are four http-related processes in the process.
But when the apache motor in webmin starts apache, it prompts: apache does not appear to be running:
When you click the second time, the following message is displayed:
Apache startup failed: Apache does not appear to be running:
Httpd (pid 10085) already running

Start manually on the terminal:
Derek @ love:/usr/local/apache2/bin> sudo/usr/local/apache2/bin/apachectl start
Password:
Derek @ love:/usr/local/apache2/bin>
Derek @ love:/usr/local/apache2/bin>
Derek @ love:/usr/local/apache2/bin> ps-ef | grep httpd
Root 10178 1 0 20:41? 00:00:00/usr/local/apache2/bin/httpd-k start
Daemon 10179 10178 0? 00:00:00/usr/local/apache2/bin/httpd-k start
Daemon 10180 10178 0? 00:00:00/usr/local/apache2/bin/httpd-k start
Daemon 10181 10178 0? 00:00:00/usr/local/apache2/bin/httpd-k start
Daemon 10185 10178 0? 00:00:00/usr/local/apache2/bin/httpd-k start
Daemon 10186 10178 0? 00:00:00/usr/local/apache2/bin/httpd-k start
Derek 10194 9708 0 00:00:00 pts/1 grep httpd
Derek @ love:/usr/local/apache2/bin>

It seems that there is no problem, huh? It's okay to open it in a browser .. However, it is strange that even if I close apache, the browser can still be opened.


= Attach Error Log ===============================
Derek @ love:/usr/local/apache2/logs> more error_log
[Sun Jan 13 19:53:02 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
Ormal operations
[Sun Jan 13 20:15:08 2008] [error] [client 127.0.0.1] File does not exist:/usr/
Local/apache2/htdocs/favicon. ico
[Sun Jan 13 20:16:59 2008] [error] [client 127.0.0.1] File does not exist:/usr/
Local/apache2/htdocs/favicon. ico
[Sun Jan 13 20:21:17 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:21:17 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
Ormal operations
[Sun Jan 13 20:21:33 2008] [error] [client 192.168.18.2] File does not exist:/u
Sr/local/apache2/htdocs/favicon. ico
[Sun Jan 13 20:23:57 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:24:13 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
Ormal operations
[Sun Jan 13 20:24:55 2008] [error] [client 192.168.18.2] File does not exist:/u
Sr/local/apache2/htdocs/favicon. ico
[Sun Jan 13 20:27:15 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:27:15 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
Ormal operations
[Sun Jan 13 20:27:31 2008] [error] [client 192.168.18.2] File does not exist:/u
Sr/local/apache2/htdocs/favicon. ico
[Sun Jan 13 20:28:43 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:31:37 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
Ormal operations
Derek @ love:/usr/local/apache2/logs>
Related Article

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.