2015-02-08 20:30 GMT+09:00 Chris Arnold <carnold@xxxxxxxxxxxxxxxxxxx>: > You probably could have left that entry in and just added the Redirect statement (not sure what flavor of OS you are using). OS I am using is Ubuntu 14.04.1 LTS (GNU/Linux 2.6.32-042stab093.5 x86_64). > root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf > <VirtualHost *:443> > ServerName www.mydomain.com > Redirect / https://www.mydomain.com/ > </VirtualHost> > > # vim: syntax=apache ts=4 sw=4 sts=4 sr noet > root@hostname:~# service apache2 restart > * Restarting web server apache2 Action 'start' failed. > The Apache error log may have more information. > [fail] > * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems > root@hostname:~# tail -n 5 /var/log/apache2/error.log > [Sun Feb 08 06:12:22.767055 2015] [mpm_prefork:notice] [pid 5874] AH00169: caught SIGTERM, shutting down > [Sun Feb 08 06:12:23.818133 2015] [ssl:emerg] [pid 5950] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) > [Sun Feb 08 06:12:23.818204 2015] [ssl:emerg] [pid 5950] AH02312: Fatal error initialising mod_ssl, exiting. > [Sun Feb 08 06:14:23.209329 2015] [ssl:emerg] [pid 6028] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) > [Sun Feb 08 06:14:23.209419 2015] [ssl:emerg] [pid 6028] AH02312: Fatal error initialising mod_ssl, exiting. > > > Add Debug to your loglevel and try to restart. That should give a little more info. I exchanged "LogLevel warn" for "LogLevel debug" in /etc/apache2/apache2.conf. And I restarted apache. root@hostname:~# service apache2 restart * Restarting web server apache2 Action 'start' failed. The Apache error log may have more information. [fail] * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems root@hostname:~# tail -n 3 /var/log/apache2/error.log [Sun Feb 08 13:31:27.595792 2015] [ssl:info] [pid 7124] AH02200: Loading certificate & private key of SSL-aware server 'www.mydomain.com:443' [Sun Feb 08 13:31:27.595843 2015] [ssl:emerg] [pid 7124] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) [Sun Feb 08 13:31:27.595849 2015] [ssl:emerg] [pid 7124] AH02312: Fatal error initialising mod_ssl, exiting. root@hostname:~# It looks like I could get only line of [ssl:info] in addition to previous log. Yusui --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx