Hey guys i got an problem by starting my apache.
I try to install xt-commerce on my local machine. Here i had to change the entry in xampp/php/php.ini
magic_quotes_gpc=Off -> On
Since then my apache won't start anymore.
my control panels seems like this
and the apache error log entries:
[Fri Apr 01 18:30:56.550683 2016] [ssl:warn] [pid 7476:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:05.089172 2016] [ssl:warn] [pid 216:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:05.115173 2016] [core:warn] [pid 216:tid 364] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 01 18:31:05.251181 2016] [ssl:warn] [pid 216:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:23.070200 2016] [ssl:warn] [pid 6292:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:23.101202 2016] [core:warn] [pid 6292:tid 364] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 01 18:31:23.239210 2016] [ssl:warn] [pid 6292:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:44:11.157132 2016] [ssl:warn] [pid 4856:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:44:11.320141 2016] [ssl:warn] [pid 4856:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
what i've just tried to get it working:
staring xampp control panel as administrator
change ports httpd.conf Listen 8081 and httpd-ssl.conf Listen 444
turn off FW and AntiVir
i hope anybody knows what i have to do/change. :-/
Related
Have a site on AWS Bitnami, received the following error in log last night:
[Tue Feb 21 11:44:24.550083 2017] [ssl:error] [pid 20151:tid 140224130492160] [client 208.93.152.93:41010] AH02042: rejecting client initiated renegotiation
Then get the following errors when trying to visit the site.
[Wed Feb 22 14:00:00.739407 2017] [mpm_event:notice] [pid 19875:tid 140224892598080] AH00491: caught SIGTERM, shutting down
[Wed Feb 22 14:00:04.737461 2017] [ssl:warn] [pid 31984:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:04.894490 2017] [ssl:warn] [pid 31985:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:05.036172 2017] [mpm_event:notice] [pid 31985:tid 140233098594112] AH00489: Apache/2.4.23 (Unix) OpenSSL/1.0.2h configured -- resuming normal operations
[Wed Feb 22 14:00:05.036313 2017] [core:notice] [pid 31985:tid 140233098594112] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf'
When visiting the site only receive this message 'Your application is not currently available'
Have not made any edits to the site since 1/5/17 no previous errors in the log on the site. Attempted restart, checked paths of SSL logs.
The warn messages you are obtaining:
[Wed Feb 22 14:00:04.737461 2017] [ssl:warn] [pid 31984:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:04.894490 2017] [ssl:warn] [pid 31985:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
You don't have to worry about them. It is related with the dummy certificate that Bitnami includes in its cloud images. You can find the whole information at https://docs.bitnami.com/aws/components/apache/#how-to-enable-https-support-with-ssl-certificates
I recommend you to take a deeper log to the Apache Log Files. You can share with us the log files:
/opt/bitnami/apache2/logs/error_log
/opt/bitnami/apache2/logs/access_log
There should be something there we are missing.
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"
This is the error I get when I try to start Apache.
The error logs are :
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 7132:tid 392] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations
[mpm_winnt:notice] [pid 7132:tid 392] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[core:notice] [pid 7132:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[mpm_winnt:notice] [pid 7132:tid 392] AH00418: Parent: Created child process 540
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 540:tid 408] AH00354: Child: Starting 150 worker threads.
I don't understand what the problem is. Can anyone help?
I have changed the Ports in the below lines in the httpd.conf file
Listen 80
ServerName localhost:80
Are there any other files where I need to change these values?
It worked when i run the XAMPP control panel with administrator rights.
You only have to change the port in the httpd.conf
try:
netstat -ano
and check if Port 80 is not used by another Program.
Close the Program which uses port 80 and try to start apache again.
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.