Xymon Mailing List Archive search

V 4.3.17 & 18 Acknowledge error

9 messages in this thread

list Steve Brown · Mon, 10 Nov 2014 16:12:01 +0000 ·
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
list Paul Root · Mon, 10 Nov 2014 17:55:21 +0000 ·
Run acknowledge by hand and see what it is having a problem with.
quoted from Steve Brown

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
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.
list Steve Brown · Mon, 10 Nov 2014 18:30:00 +0000 ·
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
quoted from Paul Root

From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
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.
list Paul Root · Mon, 10 Nov 2014 18:49:14 +0000 ·
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.
quoted from Steve Brown

From: Steve Brown [mailto:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.
list Steve Brown · Mon, 10 Nov 2014 19:08:13 +0000 ·
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
quoted from Paul Root

Steve


From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
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:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.
list Paul Root · Mon, 10 Nov 2014 19:17:00 +0000 ·
So I'm guessing that acknowledge.cgi is in  /home/xymon/xymon/server/bin/acknowledge.cgi?

/home/xymon/xymon/server/bin/xymoncmd /home/xymon/xymon/server/bin/acknowledge.cgi
quoted from Steve Brown


From: Steve Brown [mailto:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.
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.
list Steve Brown · Mon, 10 Nov 2014 19:38:05 +0000 ·
Yes acknowledge.cgi is in /home/xymon/xymon/server/bin

I have had some better results by xymoncmd first and then running
/home/xymon/xymon/server/bin/acknowledge.cgi

It returned the form to fill out and had this line embedded
2014-11-10 14:27:59 xgetenv: Cannot find value for variable SCRIPT_NAME
quoted from Paul Root

Thanks
Steve

From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
Sent: Monday, November 10, 2014 1:17 PM
To: Steve Brown; 'xymon at xymon.com'
Subject: RE: V 4.3.17 & 18 Acknowledge error

So I'm guessing that acknowledge.cgi is in  /home/xymon/xymon/server/bin/acknowledge.cgi?

/home/xymon/xymon/server/bin/xymoncmd /home/xymon/xymon/server/bin/acknowledge.cgi


From: Steve Brown [mailto:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.
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.
list Steve Brown · Mon, 10 Nov 2014 19:56:22 +0000 ·
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
quoted from Steve Brown

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:user-76fdb6883669@xymon.invalid]
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:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.
list Steve Brown · Tue, 11 Nov 2014 00:19:11 +0000 ·
I've figured out how to run this by hand.  It returns "No acks requested"  >From a web browser I still get the error.

export REQUEST_METHOD=PUT
export SCRIPT_NAME="acknowledge.sh"
export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=50554&Send=Send"
xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh

<center>
<b>No acks requested</b>
</center>
<BR><BR>


Thank you
Steve
quoted from Steve Brown

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown
Sent: Monday, November 10, 2014 1:56 PM
To: Root, Paul T; 'xymon at xymon.com'
Subject: Re: [Xymon] V 4.3.17 & 18 Acknowledge error

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:user-76fdb6883669@xymon.invalid]
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:user-a23886790dfc@xymon.invalid]
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:user-76fdb6883669@xymon.invalid]
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.