Apache doesn't work on XAMPP - apache

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.

Related

Apache terminates itself

Recently the Apache2 on my Ubuntu computer terminates itself after it is started a few hours, provided that no one has modified any Apache configs or sending out any SIGTERM signal (except apt/apt-get upgrade). When I check the error.log, it shows something like this which I can find no clue:
[Mon Jun 04 00:05:36.567117 2018] [mpm_prefork:notice] [pid 2713] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:05:36.567139 2018] [core:notice] [pid 2713] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:08:42.692780 2018] [mpm_prefork:notice] [pid 2713] AH00169: caught SIGTERM, shutting down
[Mon Jun 04 00:08:49.095482 2018] [ssl:warn] [pid 8974] AH01906: 167381ca9f7090bf9edf80ba7abf2757.6b6358cf1d262e93db083c8b42c3e7e4.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:08:49.132763 2018] [ssl:warn] [pid 8975] AH01906: 167381ca9f7090bf9edf80ba7abf2757.6b6358cf1d262e93db083c8b42c3e7e4.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:08:49.138388 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:08:49.138411 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:08:55.724193 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:08:55.761313 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:08:55.761330 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:00.420832 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:00.454148 2018] [ssl:warn] [pid 8975] AH01906: 188454998ed00edb88cd5d07b2ab2254.3b3a904d9d9487cc6497b164e7f62a83.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454369 2018] [ssl:warn] [pid 8975] AH01906: c2322864937b675b512cc9082dced726.92496ce8d61bce3f4a23bc1a3218e316.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454577 2018] [ssl:warn] [pid 8975] AH01906: 76af4c76944afa8d20dc39e2298db3b3.e13999bec38b4f773ce0a42cd05bbd4c.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454777 2018] [ssl:warn] [pid 8975] AH01906: 17692edb40ba2833effa12d8a5c88387.667c0669638111d9584e8e5e06ff19b9.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454982 2018] [ssl:warn] [pid 8975] AH01906: ae632be6f870530686007c705e552d70.a1bcbaaf18efb59cf234338286ca537b.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.455186 2018] [ssl:warn] [pid 8975] AH01906: 953872e180e5982e31690363dd4a30d8.6ca1b4a315f407a052938df2d18acba3.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.455397 2018] [ssl:warn] [pid 8975] AH01906: 6583ed0337c393064b82f1e8123809ba.e6548597537804f2bef7369a4c2acdba.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.458601 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:00.458610 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:10.021985 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:10.061542 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:10.061567 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:12.672320 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:12.707771 2018] [ssl:warn] [pid 8975] AH01906: 074653103fcd03ca40aa6ae4b90266f9.e453fad80449cbedfb50933e788548a7.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:12.708001 2018] [ssl:warn] [pid 8975] AH01906: 4ac70f37b3cc16c2eedecc274ada88b5.fc9272a4d656a16b16687b53e5ddab16.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:12.711091 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:12.711098 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:19.800865 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:19.839602 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:19.839618 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:22.113155 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:22.149880 2018] [ssl:warn] [pid 8975] AH01906: 95a5f7529d708ef2ed9efc1770f7b3f9.7d2f8675f76c8b2e6909bbe900e67d93.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:22.153017 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:22.153025 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:28.755711 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:28.798520 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:28.798537 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:28.975472 2018] [mpm_prefork:notice] [pid 8975] AH00169: caught SIGTERM, shutting down
Anyone can help? Thanks!

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 virtualhost error missing dependencies

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.

xampp Apache 1.8.1 localhost error 404/403

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.