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.