<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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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:12.0pt">About a week ago we upgraded from 4.1.2 to 4.3.17 we also migrated from an old RH3 server to a CentOS 7 with apache 2.4. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Since then when we try to acknowledge an alert we receive the below error in the browser.  Over the weekend I upgraded to 4.3.18 but that didn’t change the behavior and we still receive the error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Internal Server Error<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">The server encountered an internal error or misconfiguration and was unable to complete your request.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">More information about this error may be available in the server error log.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Here’s the error log that details the error.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/httpd/error_log<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">[Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer:
<a href="http://hostname.com:90/hobbit-seccgi/acknowledge.sh">http://hostname.com:90/hobbit-seccgi/acknowledge.sh</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">When I try to debug with the below script and pass it an alert number as a parameter, using the GET coredumps. When I try the “PUT”, I receive a html page saying “No acks requested”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export REQUEST_METHOD=GET<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">#export REQUEST_METHOD=PUT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export SCRIPT_NAME="acknowledge.sh"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">HNUM=$1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=${HNUM}&Send=Send"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">2014-11-12 19:07:09 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">./atest.sh: line 7: 24228 Segmentation fault      (core dumped) xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks for your help<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Steve<o:p></o:p></span></p>
</div>
</body>
</html>