[Xymon] V 4.3.17 & 18 Acknowledge error

Steve Brown sgb at pics.com
Mon Nov 10 20:56:22 CET 2014


Hi,
I found some tips from this archive http://lists.xymon.com/archive/2006-June/007125.html


export SCRIPT_NAME=/hobbit-seccgi/acknowledge.sh
export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send"
/home/xymon/xymon/server/bin/acknowledge.cgi

Just returns the form to fill in. No ack is sent and no errors appear.

Thanks for your help
Steve

From: Steve Brown
Sent: Monday, November 10, 2014 1:08 PM
To: 'Root, Paul T'; 'xymon at xymon.com'
Subject: RE: V 4.3.17 & 18 Acknowledge error

Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error.

/home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi
2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg
2014-11-10 14:04:18 execvp() failed: No such file or directory


/home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi
2014-11-10 14:04:18 execvp() failed: No such file or directory
2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg


/home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send"
2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg
2014-11-10 14:04:18 execvp() failed: No such file or directory

Steve


From: Root, Paul T [mailto:Paul.Root at CenturyLink.com]
Sent: Monday, November 10, 2014 12:49 PM
To: Steve Brown; 'xymon at xymon.com'
Subject: RE: V 4.3.17 & 18 Acknowledge error

I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi.


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.

From: Steve Brown [mailto:sgb at pics.com]
Sent: Monday, November 10, 2014 12:30 PM
To: Root, Paul T; 'xymon at xymon.com'
Subject: RE: V 4.3.17 & 18 Acknowledge error

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.
If I try
bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send"
I see some errors from xgetenv
2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
...
2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME
..
And what appears to be just the form to fill in

Thanks
Steve

From: Root, Paul T [mailto:Paul.Root at CenturyLink.com]
Sent: Monday, November 10, 2014 11:55 AM
To: Steve Brown; 'xymon at xymon.com'
Subject: RE: V 4.3.17 & 18 Acknowledge error

Run acknowledge by hand and see what it is having a problem with.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown
Sent: Monday, November 10, 2014 10:12 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] V 4.3.17 & 18 Acknowledge error

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.

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

Thank you for your help
Steve



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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141110/1e27fd26/attachment.html>


More information about the Xymon mailing list