<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;}
@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: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;}
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.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.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:12.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I found some tips from this archive
<a href="http://lists.xymon.com/archive/2006-June/007125.html">http://lists.xymon.com/archive/2006-June/007125.html</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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export SCRIPT_NAME=/hobbit-seccgi/acknowledge.sh<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=246055&Send=Send"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/home/xymon/xymon/server/bin/acknowledge.cgi<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">Just returns the form to fill in. No ack is sent and no errors appear.<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>
<p class="MsoNormal"><span style="font-size:12.0pt"><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""> Steve Brown
<br>
<b>Sent:</b> Monday, November 10, 2014 1:08 PM<br>
<b>To:</b> 'Root, Paul T'; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: V 4.3.17 & 18 Acknowledge error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks for helping. I tried 3 different syntax lines and all produced the same execvp 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" style="text-autospace:none"><span style="font-size:14.0pt">/home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 execvp() failed: No such file or directory<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt;color:#4D4D4D;background:gray;mso-highlight:gray"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt;color:#4D4D4D;background:gray;mso-highlight:gray"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">/home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 execvp() failed: No such file or directory<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt;color:#4D4D4D;background:gray;mso-highlight:gray"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt;color:#4D4D4D;background:gray;mso-highlight:gray"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">/home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send"<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:14.0pt">2014-11-10 14:04:18 execvp() failed: No such file or directory<span style="color:#4D4D4D;background:gray;mso-highlight:gray"><o:p></o:p></span></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">Steve<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"><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""> Root, Paul T [<a href="mailto:Paul.Root@CenturyLink.com">mailto:Paul.Root@CenturyLink.com</a>]
<br>
<b>Sent:</b> Monday, November 10, 2014 12:49 PM<br>
<b>To:</b> Steve Brown; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: V 4.3.17 & 18 Acknowledge error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I’d guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn’t it should give you some kind of error message.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="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""> Steve Brown [<a href="mailto:sgb@pics.com">mailto:sgb@pics.com</a>]
<br>
<b>Sent:</b> Monday, November 10, 2014 12:30 PM<br>
<b>To:</b> Root, Paul T; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: V 4.3.17 & 18 Acknowledge error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Thank you for the quick reply.   What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">If I try<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I see some errors from xgetenv<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL<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-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME<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">And what appears to be just the form to fill in<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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><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""> Root, Paul T [<a href="mailto:Paul.Root@CenturyLink.com">mailto:Paul.Root@CenturyLink.com</a>]
<br>
<b>Sent:</b> Monday, November 10, 2014 11:55 AM<br>
<b>To:</b> Steve Brown; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: V 4.3.17 & 18 Acknowledge error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Run acknowledge by hand and see what it is having a problem with.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="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""> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Steve Brown<br>
<b>Sent:</b> Monday, November 10, 2014 10:12 AM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] V 4.3.17 & 18 Acknowledge error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">About a week ago we upgraded from 4.2.2 to 4.3.17.  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"><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">Thank you 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>
<p class="MsoNormal"><span style="font-size:12.0pt"><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"><o:p> </o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of
 this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.<o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of
 this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.<o:p></o:p></span></p>
</div>
</body>
</html>