<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.yiv4265003820lozengfy
{mso-style-name:yiv4265003820lozengfy;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is it externally visible? (That is, can someone on the internet see it?) (This helps us know if its maybe an attack of some kind which caused the problem)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What is the last thing in the log from apache just before it shut down?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IMHO you can ignore the named stuff (but willing to be educated).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When you try to start it, what is in the httpd logs from when it isn’t running till it quits? What is different between THAT sequence and the sequence in the logs from when it last started ok?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just a few random thoughts/questions – I am in NO WAY an Apache expert!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> plug-discuss-bounces@lists.phxlinux.org [mailto:plug-discuss-bounces@lists.phxlinux.org] <b>On Behalf Of </b>keith smith<br><b>Sent:</b> Monday, October 21, 2013 8:53 AM<br><b>To:</b> plug-discuss@lists.phxlinux.org<br><b>Subject:</b> Apache mysteriously stopped and will not start<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>Hi,</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>I'm run a web server out of my home office. It is CentOS 6.x with no real modifications. It is a standard LAMP config. It has been running since March w/o any issues. </span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>All of a sudden Apache shutdown. </span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>When I run /etc/init.d/httpd start the only response is [FAILED] same for /etc/init.d/httpd stop</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>apachectl configtest returns "Syntax OK".</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>I found these in the /var/lib/httpd/error_log ( read this has to do with the SSL)</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>[Sun Oct 20 03:37:44 2013] [notice] Digest: generating secret for digest authentication ...</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><span class=yiv4265003820lozengfy>[Sun Oct 20 03:37:44 2013] [notice] Digest: done</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 20:47:53 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 20:48:07 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 20:55:14 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 20:58:36 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:01:34 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:11:18 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:11:30 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:12:07 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:14:34 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:15:22 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:17:26 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><span class=yiv4265003820lozengfy>[Sun Oct 20 22:17:26 2013] [info] Init: Initialized OpenSSL library</span><br><span class=yiv4265003820lozengfy>[Mon Oct 21 07:41:11 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</span><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>I don't know what to make of this /var/log/messages : ( I read this has to do with IPv6)<br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>Oct 20 03:37:44 E520 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1212" x-info="<a href="http://www.rsyslog.com">http://www.rsyslog.com</a>"] rsyslogd was HUPed</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><span class=yiv4265003820lozengfy>Oct 20 03:37:44 E520 named[19169]: error (network unreachable) resolving '30.233.143.188.in-addr.arpa/PTR/IN': 2001:660:3006:1::1:1#53</span><br><span class=yiv4265003820lozengfy>Oct 20 03:37:44 E520 named[19169]: error (network unreachable) resolving '30.233.143.188.in-addr.arpa/PTR/IN': 2001:dc0:2001:a:4608::59#53</span><br><span class=yiv4265003820lozengfy>Oct 20 03:37:45 E520 named[19169]: error (network unreachable) resolving '13.113.153.194.in-addr.arpa/PTR/IN': 2001:660:3006:1::1:1#53</span><br><span class=yiv4265003820lozengfy>Oct 20 03:37:45 E520 named[19169]: error (network unreachable) resolving '13.113.153.194.in-addr.arpa/PTR/IN': 2001:500:2e::1#53</span><br><span class=yiv4265003820lozengfy>Oct 20 03:37:45 E520 named[19169]: error (network unreachable) resolving '13.113.153.194.in-addr.arpa/PTR/IN': 2001:dc0:2001:a:4608::59#53</span><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>There is a whole bunch of these.</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>Dig returns what appears to be the correct DNS.</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>There is lots of disk space.</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>The last 3 changes I made were 7-10 days ago.</span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div><div><p class=MsoNormal><span class=yiv4265003820lozengfy><span style='font-family:"Helvetica","sans-serif";color:black'>Last change was to run </span></span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>cd /etc/pki/tls/certs<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>./make-dummy-cert localhost.crt<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>I did that because I was trying to configure a new website. I had done the Apache part weeks before and the site was working. I wanted to add some email accounts. I'm running Postfix with Dovecot.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>So I added the email accounts in the config and when I went to add them to my Thunderbird, I received an error because the SSL was expired. I am using a self signed SSL. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>A little research brought me to <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>cd /etc/pki/tls/certs<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>./make-dummy-cert localhost.crt<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>However that was 7 - 10 days before Apache just up and stopped.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>I am running this server as a learning experience. Someone helped me with the Bind config and the Postfix/Dovecot config.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>I rebooted the server last night in the hopes that something was corrupted and would be fixed by a reboot. No such luck.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>I am at loss for what to look at next. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>Thank you very much for all your help!!<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>------------------------<br>Keith Smith<o:p></o:p></span></p></div></div></div></body></html>