Apache cannot be started. there is no error prompt. the error log is as follows.

Source: Internet
Author: User
Apache cannot be started. there is no error prompt. the error log is as follows. [Fri May 31 20:33:04 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:38:02 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:41:58 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:50:02 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:51:47 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:56:20 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:57:18 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 20:57:45 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)
[Fri May 31 21:07:35 2013] [notice] suEXEC mechanic enabled (wrapper:/usr/sbin/suexec)

Error generation cause: because the installation of the red flag server version 3 has been used by the php server for a long time. today, because the keyboard cannot be identified, press the power to close it, then httpd cannot be started, and service httpd start fails directly without any error message. forget to help you.


Reply to discussion (solution)

Restart the server.

The cause is that the mod_nss certificate has expired. the solution is as follows:

First, check apache's error_log. the following error is displayed in the/var/log/httpd/nss_error_log file.

[Mon Dec 26 13:21:24 2011] [error] Certificate not verified: 'server-cert' [Mon Dec 26 13:21:24 2011] [error] SSL Library Error: -8181 Certificate has expired [Mon Dec 26 13:21:24 2011] [error] Unable to verify certificate 'server-cert '. add "NSSEnforceValidCerts off" to nss. conf so the server can start until the problem can be resolved.

Find the/etc/httpd/conf. d/nss. conf file. the configuration file contains the following configuration. In fact, you need to set the SSL Engine to "off.

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.