[Xymon] Errors for acknowledge alerts in 4.3.18

Nicole Beck nskyrca at syr.edu
Fri Jun 19 20:48:31 CEST 2015


Hello,

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.



This is the error we see in the web interface:


The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxx at xxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log


This is in the Apache error log:

[Fri Jun 19 14:37:16 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: acknowledge.sh, referer: https://hobbit-test.syr.edu/xymon-ackcgi/acknowledge.sh



The messages file indicates it is creating a core file:

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]
Jun 19 14:39:59 hobbit-test abrtd: Directory 'ccpp-2015-06-19-14:39:59-8882' creation detected
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)
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'




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:


[root at hobbit-test xymon-current]# ls -al cgi-ack
total 208
drwxr-xr-x 2 xymon xymon   4096 Jun 19 13:32 .
drwxr-xr-x 8 xymon xymon   4096 Mar  5 10:28 ..
lrwxrwxrwx 1 xymon xymon     49 Jun 19 13:32 acknowledge.sh -> /usr/local/xymon/xymon-current/server/bin/cgiwrap





This is a portion of the httpd.conf file:


ScriptAlias /xymon-ackcgi/ "/usr/local/xymon/xymon-current/cgi-ack/"
<Directory "/usr/local/xymon/xymon-current/cgi-ack">
    AllowOverride None
    Options ExecCGI FollowSymLinks Includes
    Order allow,deny
    Allow from all

    Require group ackers
</Directory>


Thanks,
Nicole

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150619/a8315135/attachment.html>


More information about the Xymon mailing list