<div dir="ltr">Nicole<div><br></div><div>I can't answer your question, but it might help if you can post a backtrace.  You can refer to the following thread for an example of how to do this:</div><div><br></div><div><a href="http://lists.xymon.com/archive/2014-October/040455.html">http://lists.xymon.com/archive/2014-October/040455.html</a><br></div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 June 2015 at 04:48, Nicole Beck <span dir="ltr"><<a href="mailto:nskyrca@syr.edu" target="_blank">nskyrca@syr.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<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" target="_blank">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>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>