I just configured an Apache2.4 server to work in SSL mode. I generated the key and Self Signed Cerfificate, edited the conf/httpd.conf and conf/extra/httpd-ssl.conf and after uncommenting Include conf/extra/httpd-ssl.conf from httpd.conf file, the server doesn't start. Here is the log file:
[Sun Jan 17 18:31:47.122863 2016] [ssl:warn] [pid 5736:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e configured -- resuming normal operations
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 17 18:31:47.122863 2016] [core:notice] [pid 5736:tid 468] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00418: Parent: Created child process 5832
[Sun Jan 17 18:31:47.715664 2016] [ssl:warn] [pid 5832:tid 408] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.731264 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00354: Child: Starting 64 worker threads.
[Sun Jan 17 18:49:38.248874 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 17 18:49:40.249988 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00364: Child: All worker threads have exited.
[Sun Jan 17 18:49:40.263989 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00430: Parent: Child process 5832 exited successfully.
Could you tell me what is the problem?
EDIT:
Launching httpd.exe gives this error:
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Related
I'm setting up a SSL certificate in WAMP 2.5 and Apache 2.4.9. As I un comment
Include conf/extra/httpd-ssl.conf in http.conf, Wamp not starting. Here is my ssl confg file and httpd.conf. Please have a look and help.
SSL Conf File
Httpd.conf file
Error in Apache error log
[Sun Jan 27 10:04:35.018678 2019] [ssl:warn] [pid 4880:tid 564] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sun Jan 27 10:04:35.034305 2019] [core:notice] [pid 4880:tid 564] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00418: Parent: Created child process 2204
[Sun Jan 27 10:04:35.549913 2019] [ssl:warn] [pid 2204:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.565540 2019] [mpm_winnt:notice] [pid 2204:tid 468] AH00354: Child: Starting 64 worker threads.
For CA certificates you define Path instead of File
SSLCACertificatePath "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
should be
SSLCACertificateFile "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
Although apache seems as "working" on xampp control panel,I can't reach the localhost or 127.0.0.1 . I changed 80 port to 81 but not solved.
httpd.cong -> Listen 0.0.0.0:80
My host file in system32/drivers/etc directory is like
127.0.0.1 localhost
Last log in the apache error log is
[Tue Jul 14 22:54:33.141632 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Jul 14 22:54:35.145746 2015] [mpm_winnt:notice] [pid 4708:tid 288] AH00364: Child: All worker threads have exited.
[Tue Jul 14 22:54:35.188749 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00430: Parent: Child process 4708 exited successfully.
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00455: Apache/2.4.7 (Win32) PHP/5.5.9 configured -- resuming normal operations
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Tue Jul 14 22:54:36.218808 2015] [core:notice] [pid 1376:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Jul 14 22:54:36.470822 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00418: Parent: Created child process 1296
[Tue Jul 14 22:54:36.984851 2015] [mpm_winnt:notice] [pid 1296:tid 288] AH00354: Child: Starting 150 worker threads.
Sometimes the port 80 is used by other applications on windows such as skype.
Try changing the ports to 8080 in the apache>config>httpd.conf
and to 4433 in the apache>config>httpd-ssl.conf
Sometimes your network maybe creating an issue. Try disconnecting the network and reloading the localhost. If it works, then its your network restrictions.
I've got a few Zend projects on my xampp, but if I'm going to the public directory to show the project, there's only a blank, white page. Testscripts with just an echo or the xampp tools are working fine. The xampp installation is fresh, I didn't change anything and even the Windows 7 installation is new. Also PHP errors and exceptions are showing, if there are any, this is what is written in the error.log:
[Fri May 03 15:49:37.072758 2013] [ssl:warn] [pid 5784:tid 256] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 03 15:49:38.945865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri May 03 15:49:38.946865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00456: Server built: Aug 18 2012 12:41:37
[Fri May 03 15:49:38.946865 2013] [core:notice] [pid 5784:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri May 03 15:49:38.952865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00418: Parent: Created child process 5428
[Fri May 03 15:49:44.385176 2013] [ssl:warn] [pid 5428:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 03 15:49:44.702194 2013] [mpm_winnt:notice] [pid 5428:tid 268] AH00354: Child: Starting 150 worker threads.
just notices and warnings, the php error log is empty. Any ideas how I could fix this?
For some reason my XAMPP Apache service keeps restarting. It started yesterday, but I can't really find the cause, because I have made many changes to my PC the day before (windows update, antivirus update, installed new programs, etc).
The XAMPP control panel says that it's running, but when I look at the processes in the windows task manager, I can see that it keeps restarting every second and the windows error reporting process keeps appearing too (without any dialog).
For some reason I can access the xampp first page (localhost or localhost/xampp), but nothing else (no phpmyadmin or anything else I put in htdocs). I have tried to reinstall XAMPP, and it's not the skype issue everyone knows about either. I have windows 8 pro.
The apache error.log keep repeating this:
[Thu Apr 04 00:21:21.237364 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:21.298371 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:21.299372 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 3060
[Thu Apr 04 00:21:23.213607 2013] [ssl:warn] [pid 3060:tid 280] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:23.276605 2013] [mpm_winnt:notice] [pid 3060:tid 280] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:23.328611 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:24.584768 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:24.649766 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:24.652768 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 6620
[Thu Apr 04 00:21:26.551000 2013] [ssl:warn] [pid 6620:tid 364] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:26.614999 2013] [mpm_winnt:notice] [pid 6620:tid 364] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:26.669006 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:27.826148 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:27.886148 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:27.888150 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 7032
[Thu Apr 04 00:21:29.761369 2013] [ssl:warn] [pid 7032:tid 332] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:29.824377 2013] [mpm_winnt:notice] [pid 7032:tid 332] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:29.876385 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
My best guess is that I've got some kind of spyware with the apps I've installed.
Thank you very much for reading and any thoughts are welcome.
PROBLEM SOLVED:
NVIDIA FirstPacket was blocking it. I've disabled it and it worked like a charm.
I updated xampp from 1.8.0 to 1.8.1 and things didn't work out afterwards. I googled my problems, tried to change stuff and got more problems in the end.
I don't know what to do with the output in the error.log:
[Tue Jan 01 22:34:05.546412 2013] [ssl:warn] [pid 5536:tid 376] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jan 01 22:34:05.627417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Tue Jan 01 22:34:05.627417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Tue Jan 01 22:34:05.627417 2013] [core:notice] [pid 5536:tid 376] AH00094: Command line: 'D:\portableapps\xampp\apache\bin\httpd.exe -d D:/PortableApps/xampp/apache'
[Tue Jan 01 22:34:05.628417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00418: Parent: Created child process 5672
[Tue Jan 01 22:34:06.592472 2013] [ssl:warn] [pid 5672:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jan 01 22:34:06.629474 2013] [mpm_winnt:notice] [pid 5672:tid 268] AH00354: Child: Starting 150 worker threads.
rename .htaccess to htaccess - Either the Problem lies in there or there is some other server configuration issue.