Apache does not start, there are no error prompts Ah, the error log is as follows.

Source: Internet
Author: User
[Fri 31 20:33:04 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:38:02 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:41:58 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:50:02 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:51:47 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:56:20 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:57:18 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 20:57:45 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)
[Fri 31 21:07:35 2013] [Notice] suexec mechanism enabled (wrapper:/usr/sbin/suexec)

The cause of the error, because the installation of the Red Flag Server version 3, has been used as a PHP server, today because the keyboard is not recognized, so directly press the power off, and then httpd start up, and service httpd start direct failure, without prompting any error messages, Forget the heroes to give help AH.


Reply to discussion (solution)

Restart the server again.

The reason for this is that the MOD_NSS certificate expires, and the repair method is as follows:

First check the Apache error_log, I see the following error in the/var/log/httpd/nss_error_log file.

[Mon Dec 26 13:21:24 2011] [ERROR] Certificate not verified: ' Server-cert ' [Mon Dec-13:21:24] [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 is resolved.

Find the/etc/httpd/conf.d/nss.conf file, the configuration file has the following configuration, in fact, the need to set the SSL engine "off" on the line.

  • 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.