[Xymon] 4.3.18 acknowledge.sh coredump

Steve Brown sgb at pics.com
Thu Nov 13 01:13:03 CET 2014


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.
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.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

Here's the error log that details the error.
/var/log/httpd/error_log
[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: http://hostname.com:90/hobbit-seccgi/acknowledge.sh

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"

export REQUEST_METHOD=GET
#export REQUEST_METHOD=PUT
export SCRIPT_NAME="acknowledge.sh"
HNUM=$1
export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=${HNUM}&Send=Send"
xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh

2014-11-12 19:07:09 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg
./atest.sh: line 7: 24228 Segmentation fault      (core dumped) xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh

Thanks for your help
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141113/92f70d3f/attachment.html>


More information about the Xymon mailing list