httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Re: [users@httpd] Apache2 does not properly start
Date Fri, 11 Dec 2015 02:21:17 GMT
It's been too many years since I and others have looked at 2.4.7, if you
can try this on a modern release of httpd and share those error logs, be
glad to review.

Bill
On Dec 10, 2015 10:40 AM, "LVDave" <lvdave@gmail.com> wrote:

> I have an Apache2 install (v2.4.7) running on Ubuntu 14.04 (32bit)
> that had been working fine up till I added SSL support and certs from
> LetsEncrypt. Previously all traffic was port 80 http.. What I get when
> trying to start Apache2 is the following
>
> root@vm4:/home/dave# service apache2 start
>  * Starting web server apache2
>
>                                              *
>  * The apache2 instance did not start within 20 seconds. Please read
> the log files to discover problems
>
> After this message prints on the console, I see the normal apache2
> processes in ps xua, however if I try to stop it via "service apache2
> stop", I get a warning message about unknown pids and that apache2
> will not be stopped. I do a killall apache2 to stop them.
>
> In the default "info" logging config I got nothing in
> /var/log/apache2/error.log, so I changed to debug logging, and get the
> following:
>
> [Thu Dec 10 08:14:03.452466 2015] [mpm_prefork:notice] [pid 30384]
> AH00169: caught SIGTERM, shutting down
> [Thu Dec 10 08:14:42.753394 2015] [ssl:debug] [pid 30534]
> ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost
> vm4.bestnewage.net:80, skipping SSL setup
> [Thu Dec 10 08:14:42.753511 2015] [ssl:debug] [pid 30534]
> ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost
> ruddfoundationnv.org:80, skipping SSL setup
> [Thu Dec 10 08:14:42.753943 2015] [ssl:debug] [pid 30534]
> ssl_engine_pphrase.c(239): AH02202: Init: Read server certificate from
> '/etc/letsencrypt/live/www.ruddfoundationnv.org/cert.pem'
> [Thu Dec 10 08:14:42.754337 2015] [ssl:info] [pid 30534] AH01887:
> Init: Initializing (virtual) servers for SSL
> [Thu Dec 10 08:14:42.755218 2015] [ssl:info] [pid 30534] AH01876:
> mod_ssl/2.4.7 compiled against Server: Apache/2.4.7, Library:
> OpenSSL/1.0.1f
> [Thu Dec 10 08:14:42.789658 2015] [ssl:debug] [pid 30535]
> ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost
> vm4.bestnewage.net:80, skipping SSL setup
> [Thu Dec 10 08:14:42.789721 2015] [ssl:debug] [pid 30535]
> ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost
> ruddfoundationnv.org:80, skipping SSL setup
> [Thu Dec 10 08:14:42.789967 2015] [ssl:debug] [pid 30535]
> ssl_engine_pphrase.c(239): AH02202: Init: Read server certificate from
> '/etc/letsencrypt/live/xxxxxxx/cert.pem'
> [Thu Dec 10 08:14:42.790200 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(389): AH00821: shmcb_init allocated 512000 bytes
> of shared memory
> [Thu Dec 10 08:14:42.790234 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(405): AH00822: for 511944 bytes (512000 including
> header), recommending 32 subcaches, 88 indexes each
> [Thu Dec 10 08:14:42.790249 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(438): AH00824: shmcb_init_memory choices follow
> [Thu Dec 10 08:14:42.790256 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(440): AH00825: subcache_num = 32
> [Thu Dec 10 08:14:42.790261 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(442): AH00826: subcache_size = 15992
> [Thu Dec 10 08:14:42.790266 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(444): AH00827: subcache_data_offset = 2128
> [Thu Dec 10 08:14:42.790271 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(446): AH00828: subcache_data_size = 13864
> [Thu Dec 10 08:14:42.790276 2015] [socache_shmcb:debug] [pid 30535]
> mod_socache_shmcb.c(448): AH00829: index_num = 88
> [Thu Dec 10 08:14:42.790378 2015] [socache_shmcb:info] [pid 30535]
> AH00830: Shared memory socache initialised
> [Thu Dec 10 08:14:42.790405 2015] [ssl:info] [pid 30535] AH01887:
> Init: Initializing (virtual) servers for SSL
> [Thu Dec 10 08:14:42.791157 2015] [ssl:info] [pid 30535] AH01876:
> mod_ssl/2.4.7 compiled against Server: Apache/2.4.7, Library:
> OpenSSL/1.0.1f
> [Thu Dec 10 08:14:42.793544 2015] [mpm_prefork:notice] [pid 30535]
> AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 OpenSSL/1.0.1f
> configured -- resuming normal operations
> [Thu Dec 10 08:14:42.793590 2015] [mpm_prefork:info] [pid 30535]
> AH00164: Server built: Oct 14 2015 14:18:49
> [Thu Dec 10 08:14:42.793604 2015] [core:notice] [pid 30535] AH00094:
> Command line: '/usr/sbin/apache2'
> [Thu Dec 10 08:14:42.793609 2015] [mpm_prefork:debug] [pid 30535]
> prefork.c(995): AH00165: Accept mutex: sysvsem (default: sysvsem)
>
> Despite the startup message, Apache2 seems to work fine, but I'm
> extremely puzzled as to WHY this is happening..
>
> Help?
>
> Thanks
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message