I am trying to simply set up a virtual host which ive done a million times. however right now im getting the following error:
10:01:11 [Apache] Error: Apache shutdown unexpectedly.
10:01:11 [Apache] This may be due to a blocked port, missing dependencies,
10:01:11 [Apache] improper privileges, a crash, or a shutdown by another method.
10:01:11 [Apache] Press the Logs button to view error logs and check
10:01:11 [Apache] the Windows Event Viewer for more clues
10:01:11 [Apache] If you need more help, copy and post this
10:01:11 [Apache] entire log window on the forums
my hosts file looks like this:
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 system.local
And my httpd-vhosts file looks like this:
<VirtualHost system.local>
DocumentRoot "C:\xampp\htdocs\system"
ServerName system.local
<Directory "C:\xampp\htdocs\system">
Order allow, deny
Allow from all
</Directory>
</VirtualHost>
Can anyone tell me why im getting this error?
Error log:
[Wed Sep 03 09:39:22.802060 2014] [ssl:warn] [pid 3992:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:23.145261 2014] [core:warn] [pid 3992:tid 268] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 03 09:39:23.332461 2014] [ssl:warn] [pid 3992:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:25.126464 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Wed Sep 03 09:39:25.126464 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Wed Sep 03 09:39:25.126464 2014] [core:notice] [pid 3992:tid 268] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 03 09:39:25.142064 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00418: Parent: Created child process 4896
[Wed Sep 03 09:39:25.968866 2014] [ssl:warn] [pid 4896:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:26.218466 2014] [ssl:warn] [pid 4896:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:26.343266 2014] [mpm_winnt:notice] [pid 4896:tid 280] AH00354: Child: Starting 150 worker threads.
[Wed Sep 03 09:59:20.207001 2014] [ssl:warn] [pid 6980:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:20.268004 2014] [core:warn] [pid 6980:tid 264] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 03 09:59:20.430013 2014] [ssl:warn] [pid 6980:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:20.613024 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Wed Sep 03 09:59:20.613024 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Wed Sep 03 09:59:20.613024 2014] [core:notice] [pid 6980:tid 264] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 03 09:59:20.633025 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00418: Parent: Created child process 6784
[Wed Sep 03 09:59:21.453072 2014] [ssl:warn] [pid 6784:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:21.666084 2014] [ssl:warn] [pid 6784:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:21.703086 2014] [mpm_winnt:notice] [pid 6784:tid 280] AH00354: Child: Starting 150 worker threads.
Related
This is the error.log:
[Tue Feb 02 17:52:21.354153 2016] [ssl:warn] [pid 3968:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 17:52:21.688158 2016] [ssl:warn] [pid 3968:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 17:52:21.849447 2016] [mpm_winnt:notice] [pid 3968:tid 516] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.2 configured -- resuming normal operations
[Tue Feb 02 17:52:21.849947 2016] [mpm_winnt:notice] [pid 3968:tid 516] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Tue Feb 02 17:52:21.849947 2016] [core:notice] [pid 3968:tid 516] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
[Tue Feb 02 17:52:21.855326 2016] [mpm_winnt:notice] [pid 3968:tid 516] AH00418: Parent: Created child process 1036
[Tue Feb 02 17:52:22.903485 2016] [ssl:warn] [pid 1036:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 17:52:23.070726 2016] [ssl:warn] [pid 1036:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 17:52:23.098750 2016] [mpm_winnt:notice] [pid 1036:tid 540] AH00354: Child: Starting 150 worker threads.
Now the first thing I did was change the port it was using. I opened up the httpd.conf file, changed all port 80 to port 8080, and it still doesn't want to start. Here is the error log:
[Wed Jan 13 11:23:21.108418 2016] [ssl:warn] [pid 288:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 13 11:23:21.759466 2016] [ssl:warn] [pid 288:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 13 11:23:22.895556 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.5.30 configured -- resuming normal operations
[Wed Jan 13 11:23:22.896593 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Wed Jan 13 11:23:22.896593 2016] [core:notice] [pid 288:tid 540] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jan 13 11:23:22.906555 2016] [mpm_winnt:notice] [pid 288:tid 540] AH00418: Parent: Created child process 9520
[Wed Jan 13 11:23:24.245663 2016] [ssl:warn] [pid 9520:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 13 11:23:24.727697 2016] [ssl:warn] [pid 9520:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jan 13 11:23:24.797699 2016] [mpm_winnt:notice] [pid 9520:tid 580] AH00354: Child: Starting 150 worker threads.
httpd.conf has these changes:
ServerName localhost:8080
#Listen 12.34.56.78:8080
Listen 8080
Looks like error is with your local ssl.conf file get included.
Try to start apache after commenting it out from include in httpd.conf
8080 is another port used by programs such as Reporting Services etc. Why not try a different one and see if it still does not start.
I've been using Xampp for quite some time with no major hiccups. I attempted to make a local copy of one of my Wordpress sites. Seeing that Bitnami had an installer I attempted to use that. At the end of the installation it hung at maybe 5% left. So i cancelled and it supposedly cleaned up its files. Getting back into it today. Apache will not start. I have checked error logs and nothing seems to indicate what it actually is:
[Wed Sep 16 10:34:46.441511 2015] [ssl:warn] [pid 4424:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:46.675505 2015] [ssl:warn] [pid 4424:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Sep 16 10:34:47.127893 2015] [core:notice] [pid 4424:tid 248] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00418: Parent: Created child process 6624
[Wed Sep 16 10:34:47.985871 2015] [ssl:warn] [pid 6624:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:48.251065 2015] [ssl:warn] [pid 6624:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:48.313463 2015] [mpm_winnt:notice] [pid 6624:tid 260] AH00354: Child: Starting 150 worker threads.
[Wed Sep 16 10:39:12.205587 2015] [ssl:warn] [pid 6860:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:12.486382 2015] [ssl:warn] [pid 6860:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Sep 16 10:39:12.533181 2015] [core:notice] [pid 6860:tid 240] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00418: Parent: Created child process 7100
[Wed Sep 16 10:39:13.500362 2015] [ssl:warn] [pid 7100:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:13.937154 2015] [ssl:warn] [pid 7100:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:13.983953 2015] [mpm_winnt:notice] [pid 7100:tid 252] AH00354: Child: Starting 150 worker threads.
I am not running IIS or Skype. Anyone have any ideas on what might be going wrong?
EDIT:
Should have mentioned. Nothing is listening on port 80 or 443. Also attempted to use other ports just in case. Still no dice.
Alright finally found my answer. After digging through Event viewer I found a syntax error in the httpd.conf file. Turns out as suspected Bitnami did not quite clean everything up as they had said. This was left behind and Xampp was unable to compile.
Include "C:/xampp/apps/wordpress/conf/httpd-prefix.conf"
I know this question has been asked before, but I upgraded to windows 10. My xampp was working fine before the upgrade and now it is not. Apache does not run now. I had problems with skype before, so I removed it, which freed the port for apache.
2:06:09 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
2:06:09 PM [Apache] Apache WILL NOT start without the configured ports free!
2:06:09 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
2:06:09 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
Is there any way I can find out what is using that port and stop it? I have tried changing the port number in the config file to 8080, but it does not seem to work. Any ideas?
Here are the error logs after I changed the port to 8080:
[Thu Aug 27 14:10:10.207404 2015] [ssl:warn] [pid 3576:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:10.583181 2015] [ssl:warn] [pid 3576:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:10.755107 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations
[Thu Aug 27 14:10:10.755107 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Thu Aug 27 14:10:10.755107 2015] [core:notice] [pid 3576:tid 524] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/XAMPP/apache'
[Thu Aug 27 14:10:10.770732 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00418: Parent: Created child process 10308
[Thu Aug 27 14:10:12.035120 2015] [ssl:warn] [pid 10308:tid 572] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:12.395328 2015] [ssl:warn] [pid 10308:tid 572] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:12.535958 2015] [mpm_winnt:notice] [pid 10308:tid 572] AH00354: Child: Starting 150 worker threads.
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.