amazon ec2 apache crash - apache

my apache server on amazon ec2 crashes for some reason,
[Tue Jun 18 09:28:26.008659 2013] [core:notice] [pid 4806] AH00052: child pid 6226 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:26.008735 2013] [core:notice] [pid 4806] AH00052: child pid 6227 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:26.008752 2013] [core:notice] [pid 4806] AH00052: child pid 6228 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:28.017033 2013] [core:notice] [pid 4806] AH00052: child pid 6151 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:46.035989 2013] [core:notice] [pid 4806] AH00052: child pid 6120 exit signal Segmentation fault (11)
[Tue Jun 18 09:28:47.388781 2013] [mpm_prefork:notice] [pid 4806] AH00169: caught SIGTERM, shutting down
[Tue Jun 18 09:28:51.712473 2013] [ssl:warn] [pid 6276] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jun 18 09:28:51.891491 2013] [ssl:warn] [pid 6277] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jun 18 09:28:51.891584 2013] [lbmethod_heartbeat:notice] [pid 6277] AH02282: No slotmem from mod_heartmonitor
[Tue Jun 18 09:28:51.943536 2013] [mpm_prefork:notice] [pid 6277] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.12 configured -- resuming normal operations
what is causing that and what can i do ?

From what you posted, it looks like this the problem:
"Apache exit signal Segmentation fault (11)" [This is what you need to google]
Check if you have enough resources(Memory(free -m) and disk-space).
Then, if still stuck, you may want create dump as explained below and dig into that dump
Section: Debugging intermittent crashes
http://httpd.apache.org/dev/debugging.html

Related

Apache stop working. This site can’t be reached

My apache web server goes down several moment ago. I have Ubuntu 14.04 on digitalocean with PHP 7. When I visit my site, it shows this:
This site can’t be reached
crystalcrowd.ge refused to connect.
When I run service apache2 restart command, it Shows this:
* Restarting web server apache2
Segmentation fault (core dumped)
Action 'start' failed.
The Apache error log may have more information.
last Error in the error_log:
[Thu Dec 08 08:55:41.970435 2016] [mpm_prefork:notice] [pid 25213] AH00169: caught SIGTERM, shutting down
[Thu Dec 08 08:55:42.995218 2016] [mpm_prefork:notice] [pid 30673] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Thu Dec 08 08:55:42.995313 2016] [core:notice] [pid 30673] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 08 08:58:17.074621 2016] [mpm_prefork:notice] [pid 30673] AH00169: caught SIGTERM, shutting down
[Thu Dec 08 08:58:18.087459 2016] [mpm_prefork:notice] [pid 30738] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Thu Dec 08 08:58:18.087522 2016] [core:notice] [pid 30738] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 08 09:28:16.914107 2016] [mpm_prefork:notice] [pid 30738] AH00169: caught SIGTERM, shutting down
Last moment I was trying to set up mail server.

Apache2.4 SSL mode doesn't work

I just configured an Apache2.4 server to work in SSL mode. I generated the key and Self Signed Cerfificate, edited the conf/httpd.conf and conf/extra/httpd-ssl.conf and after uncommenting Include conf/extra/httpd-ssl.conf from httpd.conf file, the server doesn't start. Here is the log file:
[Sun Jan 17 18:31:47.122863 2016] [ssl:warn] [pid 5736:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e configured -- resuming normal operations
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 17 18:31:47.122863 2016] [core:notice] [pid 5736:tid 468] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00418: Parent: Created child process 5832
[Sun Jan 17 18:31:47.715664 2016] [ssl:warn] [pid 5832:tid 408] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.731264 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00354: Child: Starting 64 worker threads.
[Sun Jan 17 18:49:38.248874 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 17 18:49:40.249988 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00364: Child: All worker threads have exited.
[Sun Jan 17 18:49:40.263989 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00430: Parent: Child process 5832 exited successfully.
Could you tell me what is the problem?
EDIT:
Launching httpd.exe gives this error:
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

WAMP server fails to stars if I load mod_wsgi.so

I've read many other answers about the subject but couldn't find a solution to mine. Even uninstalled everything and re-installed...
OS Win8-64bit
Wamp 64-bit, Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3
XDebug : 2.2.3
I downloaded 64-bit wsgi from here.
Everything I installed is 64 bit.
When I add LoadModule wsgi_module modules/mod_wsgi.so to httpd.conf WAMP failed to start, removing it solves the problem...
Apache log:
[Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:50:38.914739 2013]
[core:notice]
[pid 6124:tid 380]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00418: Parent: Created child process 3624 [Thu Aug 29 13:50:39.308626 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00354: Child: Starting 150 worker threads. [Thu Aug 29 13:52:03.007076 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Aug 29 13:52:05.009448 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00364: Child: All worker threads have exited. [Thu Aug 29 13:52:05.023457 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00430: Parent: Child process 3624 exited successfully. [Thu Aug 29 13:59:22.716409 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:59:22.717411 2013]
[core:notice]
[pid 5948:tid 376]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00418: Parent: Created child process 5956 [Thu Aug 29 13:59:22.963535 2013]
[mpm_winnt:notice]
[pid 5956:tid 252]
AH00354: Child: Starting 150 worker threads.

Why does my XAMPP Apache service keep restarting?

For some reason my XAMPP Apache service keeps restarting. It started yesterday, but I can't really find the cause, because I have made many changes to my PC the day before (windows update, antivirus update, installed new programs, etc).
The XAMPP control panel says that it's running, but when I look at the processes in the windows task manager, I can see that it keeps restarting every second and the windows error reporting process keeps appearing too (without any dialog).
For some reason I can access the xampp first page (localhost or localhost/xampp), but nothing else (no phpmyadmin or anything else I put in htdocs). I have tried to reinstall XAMPP, and it's not the skype issue everyone knows about either. I have windows 8 pro.
The apache error.log keep repeating this:
[Thu Apr 04 00:21:21.237364 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:21.298371 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:21.298371 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:21.299372 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 3060
[Thu Apr 04 00:21:23.213607 2013] [ssl:warn] [pid 3060:tid 280] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:23.276605 2013] [mpm_winnt:notice] [pid 3060:tid 280] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:23.328611 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:24.584768 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:24.649766 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:24.649766 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:24.652768 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 6620
[Thu Apr 04 00:21:26.551000 2013] [ssl:warn] [pid 6620:tid 364] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:26.614999 2013] [mpm_winnt:notice] [pid 6620:tid 364] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:26.669006 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
[Thu Apr 04 00:21:27.826148 2013] [ssl:warn] [pid 260:tid 572] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Apr 04 00:21:27.886148 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Apr 04 00:21:27.886148 2013] [core:notice] [pid 260:tid 572] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Thu Apr 04 00:21:27.888150 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00418: Parent: Created child process 7032
[Thu Apr 04 00:21:29.761369 2013] [ssl:warn] [pid 7032:tid 332] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 04 00:21:29.824377 2013] [mpm_winnt:notice] [pid 7032:tid 332] AH00354: Child: Starting 150 worker threads.
[Thu Apr 04 00:21:29.876385 2013] [mpm_winnt:notice] [pid 260:tid 572] AH00428: Parent: child process exited with status 3221225725 -- Restarting.
My best guess is that I've got some kind of spyware with the apps I've installed.
Thank you very much for reading and any thoughts are welcome.
PROBLEM SOLVED:
NVIDIA FirstPacket was blocking it. I've disabled it and it worked like a charm.

Cakephp RSS - Exhausting memory causing blank page for website

When I put Router::parseExtensions('rss'); to routes.php, Apache crashes. So i can't make rss feed.
Any ideas ?
here is a screenshot
[Sat Jan 05 13:02:35.131540 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00428: Parent: child process exited with status 3221225477 -- Restarting.
[Sat Jan 05 13:02:35.686942 2013] [ssl:warn] [pid 1576:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jan 05 13:02:35.733742 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Jan 05 13:02:35.733742 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Jan 05 13:02:35.733742 2013] [core:notice] [pid 1576:tid 252] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Jan 05 13:02:35.733742 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00418: Parent: Created child process 4156
[Sat Jan 05 13:02:36.794544 2013] [ssl:warn] [pid 4156:tid 264] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jan 05 13:02:36.856944 2013] [mpm_winnt:notice] [pid 4156:tid 264] AH00354: Child: Starting 150 worker threads.
this is err log
From the error screen, it appears your RSS may have too much data in it and it is exhausting the memory. You should check the data that is being returned and make sure it is limited.