I have change port in xampp but Apache is not working - apache

[Sat Aug 28 22:29:16.150892 2021] [ssl:warn] [pid 13320:tid 584] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Sat Aug 28 22:29:16.211896 2021] [core:warn] [pid 13320:tid 584] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Aug 28 22:29:16.215897 2021] [ssl:warn] [pid 13320:tid 584] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Sat Aug 28 22:29:16.217896 2021] [:emerg] [pid 13320:tid 584] AH00020: Configuration Failed, exiting

I have used port 1008 for httpd.conf and port 1212 for ssl-httpd.conf.

Related

server certificate does NOT include an ID which matches the server name by django

my django application(ssl) is strange...
This is the application structure. there is 4 apps.
mysite
|-app1
|-app2
|-app3
|-app4
main app is app1. now, there is response follows.
mysite
|-app1 ...500 server error
|-app2 ...200 ok
|-app3 ...200 ok
|-app4 ...200 ok
Below is the actual url
app1: https://www.henojiya.net/vietnam_research/
app2: https://www.henojiya.net/gmarker/
app3: https://www.henojiya.net/shopping/
app4: https://www.henojiya.net/kanban/
mmm...
# tail -f /var/log/httpd/error_log
openssl??
[Tue Aug 25 22:28:49.164124 2020] [suexec:notice] [pid 8122:tid 140202116692224] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 25 22:28:49.183968 2020] [lbmethod_heartbeat:notice] [pid 8122:tid 140202116692224] AH02282: No slotmem from mod_heartmonitor
[Tue Aug 25 22:28:49.186372 2020] [mpm_event:notice] [pid 8122:tid 140202116692224] AH00489: Apache/2.4.37 (centos) OpenSSL/1.1.1c mod_wsgi/4.7.1 Python/3.6 configured -- resuming normal operations
[Tue Aug 25 22:28:49.186393 2020] [core:notice] [pid 8122:tid 140202116692224] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
# tail -f ssl_error_log
server certificate does NOT include an ID which matches the server name ??
[wsgi:error] [pid 5344:tid 140508085110528] [remote 54.67.71.54:39392] File "/var/www/html/venv/lib/python3.6/site-packages/pandas/__init__.py", line 17, in <module>
[Tue Aug 25 18:28:39.109567 2020] [wsgi:error] [pid 5344:tid 140508085110528] [remote 54.67.71.54:39392] "Unable to import required dependencies:\\n" + "\\n".join(missing_dependencies)
[Tue Aug 25 18:28:39.109575 2020] [wsgi:error] [pid 5344:tid 140508085110528] [remote 54.67.71.54:39392] ImportError: Unable to import required dependencies:
[Tue Aug 25 18:28:39.109578 2020] [wsgi:error] [pid 5344:tid 140508085110528] [remote 54.67.71.54:39392] numpy: Interpreter change detected - this module can only be loaded into one interpreter per process.
[Tue Aug 25 21:03:53.627872 2020] [ssl:warn] [pid 7430:tid 139632467552512] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 25 21:03:53.645213 2020] [ssl:warn] [pid 7430:tid 139632467552512] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 25 21:33:53.554592 2020] [ssl:warn] [pid 7769:tid 140223441197312] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 25 21:33:53.571588 2020] [ssl:warn] [pid 7769:tid 140223441197312] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 25 22:28:49.166069 2020] [ssl:warn] [pid 8122:tid 140202116692224] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 25 22:28:49.183859 2020] [ssl:warn] [pid 8122:tid 140202116692224] AH01909: 153.126.200.229:443:0 server certificate does NOT include an ID which matches the server name
apache log...
# cd /etc/httpd/conf
# ls
httpd-le-ssl.conf
httpd.conf
magic
(httpd.conf)
<VirtualHost *:80>
ServerName www.henojiya.net
DocumentRoot "/var/www/html"
(httpd-le-ssl.conf)
<VirtualHost *:443>
ServerName www.henojiya.net
DocumentRoot "/var/www/html"
I hitted the wall... help me! thanks
I uploaded the view.py again and it was fine.
mysite
|-app1 ...200 ok
|-app2 ...200 ok
|-app3 ...200 ok
|-app4 ...200 ok
I think I was thinking too much.
In the first place, it is stranged that there is only one 500 error.
"View.py" may have been uploaded in a corrupted state.

Apache shutdown unexpectedly, No ports are using but still not working

i am using Xampp from "https://www.apachefriends.org/download.html" for php version 7.1.7
I have change my ports:8080(httpd.conf) and 4433 (httpd-ss;.conf) also tried some other port but while starting Apache I found this issue every time
2:48:41 AM [Apache] Error: Apache shutdown unexpectedly.
2:48:41 AM [Apache] This may be due to a blocked port, missing dependencies,
2:48:41 AM [Apache] improper privileges, a crash, or a shutdown by another method.
2:48:41 AM [Apache] Press the Logs button to view error logs and check
2:48:41 AM [Apache] the Windows Event Viewer for more clues
2:48:41 AM [Apache] If you need more help, copy and post this
2:48:41 AM [Apache] entire log window on the forums
and Apache (error.log)
[Wed Jul 19 02:45:02.474102 2017] [ssl:warn] [pid 4832:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 19 02:45:02.881341 2017] [ssl:warn] [pid 4832:tid 600] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 19 02:45:02.998856 2017] [mpm_winnt:notice] [pid 4832:tid 600] AH00455: Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/7.0.21 configured -- resuming normal operations
[Wed Jul 19 02:45:02.998856 2017] [mpm_winnt:notice] [pid 4832:tid 600] AH00456: Apache Lounge VC14 Server built: Jun 15 2017 12:39:41
[Wed Jul 19 02:45:02.998856 2017] [core:notice] [pid 4832:tid 600] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jul 19 02:45:03.013855 2017] [mpm_winnt:notice] [pid 4832:tid 600] AH00418: Parent: Created child process 1088
[Wed Jul 19 02:45:04.169927 2017] [ssl:warn] [pid 1088:tid 624] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 19 02:45:04.693597 2017] [ssl:warn] [pid 1088:tid 624] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 19 02:45:04.746592 2017] [mpm_winnt:notice] [pid 1088:tid 624] AH00354: Child: Starting 150 worker threads.
and this is Service setting
Error appear error Dialogue
I am using window 10, can someone give the solve.

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.