error when install ssl in apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

error when install ssl in apache

Postby khang0001 » 28. July 2011 06:14

i reg ssl in comodo and have 2 file abc.crt and abc.key. when i modify httpd-ssl.conf in conf/extra
DocumentRoot "C:/xampp/htdocs"
ServerName www.abc.com:443
ServerAdmin admin@abc.com
SSLCertificateFile conf/ssl.crt/abc.com.crt
SSLCertificateKeyFile conf/ssl.key/abc.com.key
and then i restart apache, but apache can`t start, i try to restart my vps but apache cant start
help me, how can i install ssl in my apache
khang0001
 
Posts: 7
Joined: 27. July 2011 12:35

Re: error when install ssl in apache

Postby Sharley » 28. July 2011 06:20

khang0001 wrote:and then i restart apache, but apache can`t start
What does the C:\xampp\apache\logs\error.log file have to say why Apache can't start?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: error when install ssl in apache

Postby khang0001 » 28. July 2011 07:01

[Wed Jul 27 14:50:27 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 14:50:27 2011] [notice] Child 1592: Exit event signaled. Child process is ending.
[Wed Jul 27 14:50:28 2011] [notice] Child 1592: Released the start mutex
[Wed Jul 27 14:50:29 2011] [notice] Child 1592: All worker threads have exited.
[Wed Jul 27 14:50:34 2011] [notice] Child 1592: Child process is exiting
[Wed Jul 27 14:50:34 2011] [notice] Parent: Child process exited successfully.
khang0001
 
Posts: 7
Joined: 27. July 2011 12:35

Re: error when install ssl in apache

Postby Sharley » 28. July 2011 07:19

khang0001 wrote:[Wed Jul 27 14:50:27 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 14:50:27 2011] [notice] Child 1592: Exit event signaled. Child process is ending.
[Wed Jul 27 14:50:28 2011] [notice] Child 1592: Released the start mutex
[Wed Jul 27 14:50:29 2011] [notice] Child 1592: All worker threads have exited.
[Wed Jul 27 14:50:34 2011] [notice] Child 1592: Child process is exiting
[Wed Jul 27 14:50:34 2011] [notice] Parent: Child process exited successfully.
That shows a [notice] related to each successful event associated with the stopping processes of Apache, not what we are looking for..

What you need to look for is an [error] sequence of events at about the date and time that you last tried to Start Apache after the error message that it can't start is offered.


To help you easily do this first make sure that Apache is not running.

Then open and delete the contents of the error.log file, then close and save the file.
Or you can delete the error.log file completely as it will be recreated clean when next you try and start Apache.

Now you can try to Start Apache either using the XAMPP Control Panel and when it gives the error message that it can't start, open the error.log file and you will see the error messages often with reason causing the problem, they will all have the current date and time.

Or by running the apache_start.bat file which will also give a reason why it is unable to start Apache.
Last edited by Sharley on 28. July 2011 07:29, edited 1 time in total.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: error when install ssl in apache

Postby khang0001 » 28. July 2011 07:26

sorry , more information in log my system

[Wed Jul 27 16:15:24 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 27 16:15:24 2011] [notice] Child 2920: Exit event signaled. Child process is ending.
[Wed Jul 27 16:15:25 2011] [notice] Child 2920: Released the start mutex
[Wed Jul 27 16:15:26 2011] [notice] Child 2920: All worker threads have exited.
[Wed Jul 27 16:15:26 2011] [notice] Child 2920: Child process is exiting
[Wed Jul 27 16:15:26 2011] [notice] Parent: Child process exited successfully.
[Wed Jul 27 16:20:42 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
[Wed Jul 27 16:20:55 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
khang0001
 
Posts: 7
Joined: 27. July 2011 12:35

Re: error when install ssl in apache

Postby Sharley » 28. July 2011 07:40

khang0001 wrote:[Wed Jul 27 16:20:42 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
[Wed Jul 27 16:20:55 2011] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/apache/conf/ssl.key/server.key)
There is the reason for Apache not able to start.

Help here:
http://www.entrust.net/knowledge-base/t ... fm?tn=5634
viewtopic.php?f=16&t=34522

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests