Unable to start Apache

Fixed

Status: 
Closed (fixed)

Comments

Howdy -- what error(s) do you see in /var/log/httpd/error_log when attempting to start Apache?

ERROR LOG...

[Mon May 07 03:10:35.583534 2018] [auth_digest:notice] [pid 914] AH01757: generating secret for digest authentication ...
[Mon May 07 03:10:35.585354 2018] [lbmethod_heartbeat:notice] [pid 914] AH02282: No slotmem from mod_heartmonitor
[Mon May 07 03:10:35.591060 2018] [ssl:warn] [pid 914] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 07 03:10:35.887241 2018] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.35 configured -- resuming normal operations
[Mon May 07 03:10:35.888002 2018] [core:notice] [pid 914] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 07 03:10:37.476559 2018] [mpm_prefork:notice] [pid 914] AH00171: Graceful restart requested, doing restart
[Mon May 07 03:10:37.646735 2018] [pagespeed:warn] [pid 914] ModPagespeedInheritVHostConfig is deprecated.  Please remove it from your configuration.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ns25.darazhost.com. Set the 'ServerName' directive globally to suppress this message
[Mon May 07 03:10:37.652821 2018] [auth_digest:notice] [pid 914] AH01757: generating secret for digest authentication ...
[Mon May 07 03:10:37.653457 2018] [lbmethod_heartbeat:notice] [pid 914] AH02282: No slotmem from mod_heartmonitor
[Mon May 07 03:10:37.658700 2018] [ssl:warn] [pid 914] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 07 03:10:37.894228 2018] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.35 configured -- resuming normal operations
[Mon May 07 03:10:37.894269 2018] [core:notice] [pid 914] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 07 03:10:43.137881 2018] [mpm_prefork:notice] [pid 914] AH00171: Graceful restart requested, doing restart
[Mon May 07 03:10:46.727592 2018] [pagespeed:warn] [pid 914] ModPagespeedInheritVHostConfig is deprecated.  Please remove it from your configuration.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ns25.darazhost.com. Set the 'ServerName' directive globally to suppress this message
[Mon May 07 03:10:46.735023 2018] [auth_digest:notice] [pid 914] AH01757: generating secret for digest authentication ...
[Mon May 07 03:10:46.735845 2018] [lbmethod_heartbeat:notice] [pid 914] AH02282: No slotmem from mod_heartmonitor
[Mon May 07 03:10:46.741386 2018] [ssl:warn] [pid 914] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 07 03:10:47.770134 2018] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.35 configured -- resuming normal operations
[Mon May 07 03:10:47.770193 2018] [core:notice] [pid 914] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 07 03:10:49.405060 2018] [mpm_prefork:notice] [pid 914] AH00171: Graceful restart requested, doing restart
[Mon May 07 03:10:52.504162 2018] [pagespeed:warn] [pid 914] ModPagespeedInheritVHostConfig is deprecated.  Please remove it from your configuration.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ns25.darazhost.com. Set the 'ServerName' directive globally to suppress this message
[Mon May 07 03:10:52.511185 2018] [auth_digest:notice] [pid 914] AH01757: generating secret for digest authentication ...
[Mon May 07 03:10:52.511912 2018] [lbmethod_heartbeat:notice] [pid 914] AH02282: No slotmem from mod_heartmonitor
[Mon May 07 03:10:52.517673 2018] [ssl:warn] [pid 914] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 07 03:10:52.759385 2018] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.35 configured -- resuming normal operations
[Mon May 07 03:10:52.759421 2018] [core:notice] [pid 914] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 07 03:10:52.761573 2018] [core:error] [pid 914] AH00546: no record of generation 26 of exiting child 11943
[Mon May 07 03:10:55.200976 2018] [mpm_prefork:notice] [pid 914] AH00171: Graceful restart requested, doing restart
[Mon May 07 03:10:58.302237 2018] [pagespeed:warn] [pid 914] ModPagespeedInheritVHostConfig is deprecated.  Please remove it from your configuration.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ns25.darazhost.com. Set the 'ServerName' directive globally to suppress this message
[Mon May 07 03:10:58.309390 2018] [auth_digest:notice] [pid 914] AH01757: generating secret for digest authentication ...
[Mon May 07 03:10:58.310131 2018] [lbmethod_heartbeat:notice] [pid 914] AH02282: No slotmem from mod_heartmonitor
[Mon May 07 03:10:58.315537 2018] [ssl:warn] [pid 914] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 07 03:10:58.562764 2018] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.35 configured -- resuming normal operations
[Mon May 07 03:10:58.562806 2018] [core:notice] [pid 914] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
[Mon May 07 18:46:04.627992 2018] [mpm_prefork:notice] [pid 914] AH00170: caught SIGWINCH, shutting down gracefully

Hmm, I'm not seeing anything in there that would indicate a bug in Virtualmin.

I see a reference to a couple of Apache modules that have been enabled and could be causing problems.

You may want to disable the pagespeed and heartbeat Apache modules, for example.

One person had a similar issue with Heartbeat that you can see here:

https://www.virtualmin.com/node/37310

Neither of those should be fatal errors though, I believe both are warnings. However, disabling those might be a good starting place.