<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC','Segoe UI',Tahoma,'Microsoft Sans Serif',Verdana,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p>I just upgraded from 4.2.3 to 4.3.18, and we are getting errors when acknowledging alerts. I saw other people wrote to the list with similar problems, but I didn't really see a solution (or I just missed it.) So I apologize in advance for the duplicate question.
 Any help would be appreciated.</p>
<p><br>
</p>
<p><br>
</p>
<p>This is the error we see in the web interface:</p>
<p><br>
</p>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator, xxxx@xxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the server error log</p>
<p><br>
</p>
<p>This is in the Apache error log:<br>
</p>
<p>[Fri Jun 19 14:37:16 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: acknowledge.sh, referer:
<a href="https://hobbit-test.syr.edu/xymon-ackcgi/acknowledge.sh">https://hobbit-test.syr.edu/xymon-ackcgi/acknowledge.sh</a></p>
<p><br>
</p>
<p><br>
</p>
<p>The messages file indicates it is creating a core file:</p>
<p>Jun 19 14:39:59 hobbit-test kernel: acknowledge.cgi[8882]: segfault at 0 ip 0000000000402b4f sp 00007fffae050310 error 4 in acknowledge.cgi[400000+25000]<br>
Jun 19 14:39:59 hobbit-test abrtd: Directory 'ccpp-2015-06-19-14:39:59-8882' creation detected<br>
Jun 19 14:39:59 hobbit-test abrt[8883]: Saved core dump of pid 8882 (/usr/local/xymon/xymon-4.3.18/server/bin/acknowledge.cgi) to /var/spool/abrt/ccpp-2015-06-19-14:39:59-8882 (819200 bytes)<br>
Jun 19 14:39:59 hobbit-test abrtd: Executable '/usr/local/xymon/xymon-4.3.18/server/bin/acknowledge.cgi' doesn't belong to any package and ProcessUnpackaged is set to 'no'<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Since we want a certain group of people to be able to acknowledge alerts, I copied the acknowledge.sh script/link to another cgi directory:</p>
<p><br>
</p>
<p>[root@hobbit-test xymon-current]# ls -al cgi-ack<br>
total 208<br>
drwxr-xr-x 2 xymon xymon   4096 Jun 19 13:32 .<br>
drwxr-xr-x 8 xymon xymon   4096 Mar  5 10:28 ..<br>
lrwxrwxrwx 1 xymon xymon     49 Jun 19 13:32 acknowledge.sh -> /usr/local/xymon/xymon-current/server/bin/cgiwrap<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>This is a portion of the httpd.conf file:</p>
<p><br>
</p>
<p>ScriptAlias /xymon-ackcgi/ "/usr/local/xymon/xymon-current/cgi-ack/"<br>
<Directory "/usr/local/xymon/xymon-current/cgi-ack"><br>
    AllowOverride None<br>
    Options ExecCGI FollowSymLinks Includes<br>
    Order allow,deny<br>
    Allow from all<br>
    <br>
    Require group ackers<br>
</Directory><br>
<br>
</p>
<p>Thanks,<br>
Nicole<br>
</p>
<p><br>
</p>
</div>
</body>
</html>