XAMPP - Apache Error - apache

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.

Related

XAMPP Apache start failing after "magic_quotes_gpc=On"

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. :-/

Apache doesn't want to Start - XAMPP

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.

Xampp Apache Wont start after wordpress installation

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"

Apache server not responding on xampp

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.

Xampp Apache server not responding to request

I have installed Xampp server (xampp-win32-5.6.8-0-VC11-installer) on Windows 8 64 bit os. I have deployed the HelloWorld application folder in htdocs directory and added a virtual host in httpd-vhosts.conf file like below
<VirtualHost localhost:80>
DocumentRoot C:/xampp/htdocs/
RewriteEngine On
ProxyRequests Off
ServerName localhost
<Directory C:/xampp/htdocs/Aasifeweb/app/>
Require all granted
Allow from all
</Directory>
<Location />
ProxyPass http://localhost/Aasifeweb/app/#/home
ProxyPassReverse http://localhost/Aasifeweb/app/#/home
ProxyPassReverseCookiePath / http://localhost/Aasifeweb/app/#/home
</Location>
</VirtualHost>
Apache error Log file
[Fri Aug 07 19:23:26.149126 2015] [ssl:warn] [pid 2684:tid 448] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 07 19:23:26.200160 2015] [core:warn] [pid 2684:tid 448] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Aug 07 19:23:26.268206 2015] [ssl:warn] [pid 2684:tid 448] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 07 19:23:26.298225 2015] [mpm_winnt:notice] [pid 2684:tid 448] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Fri Aug 07 19:23:26.298225 2015] [mpm_winnt:notice] [pid 2684:tid 448] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Fri Aug 07 19:23:26.298225 2015] [core:notice] [pid 2684:tid 448] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Aug 07 19:23:26.301227 2015] [mpm_winnt:notice] [pid 2684:tid 448] AH00418: Parent: Created child process 3576
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/xampp/apache/conf/extra/httpd-vhosts.conf:20
[Fri Aug 07 19:23:26.763535 2015] [ssl:warn] [pid 3576:tid 448] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 07 19:23:26.885617 2015] [ssl:warn] [pid 3576:tid 448] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Aug 07 19:23:26.918638 2015] [mpm_winnt:notice] [pid 3576:tid 448] AH00354: Child: Starting 150 worker threads.
[Fri Aug 07 19:23:29.637450 2015] [mpm_winnt:error] [pid 3576:tid 4852] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
This problem occurs when i add virtual host configuration to the httpd-vhosts.conf file. When i remove the virtual host, the server seems to respond. The deployed application is written in angular-js framework
Important: The request seems to be appending the resource path again and again. But, I'm not sure why this happens?
GET /Aasifeweb/app/%23/homeAasifeweb/app/%23/homeAasifeweb/app/%23/homeAasifeweb/app/%23
When I hit http://localhost in browser, it keeps loading. There are lot of solutions in the internet, but nothing works for me.
Things I have tried to solve the problem
I have done netsh winsock reset
I have changed the port of the
apache server
I have disabled skype and antivirus
Please let me know your views
I didn't have to use ProxyPass at all. I just had to point the directory and Angularjs - ng-route takes care of page routing.
<VirtualHost localhost:80>
DocumentRoot C:/xampp/htdocs/Aasifeweb/app
</VirtualHost>