Bitnami AH02042: rejecting client initiated renegotiation - apache

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.

Related

I have change port in xampp but Apache is not working

[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.

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.

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

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"