<div dir="ltr">With different paths (e.g. /export/home/xymon/cgi-secure/...) on Solaris 11 (SPARC), I'm seeing the criticaleditor.sh issue too; nothing of consequence differs from the existing and the newly supplied xymon-apache.conf, so that's not it.<div><br></div><div>I'm all green/clear right now, so I don't have anything to acknowledge and try that, I guess. :-)</div><div><br></div><div>Aside from an rcsid[] line, I don't see any difference in cgiwrap.c or criticaleditor.c between 4.3.25 and 4.3.26; going back to 4.3.24, there are definitely differences.</div><div><br></div><div>Just for the heck of it, I compiled 4.3.24, moved over server/bin/criticaleditor.cgi to save it under a different name, and dropped in the 4.3.24 version of it.  The page then came up without the redirect problem!  I did _not_ attempt editing anything, just in case the stored data format might have been changed/upgraded.  Note: I didn't even replace cgiwrap or the link to it with the old one, just the actual criticaleditor.cgi binary.</div><div><br></div><div>So something between 4.3.24 and 4.3.26 broke it - probably something in criticaleditor.c.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 8:19 AM, Axel Beckert <span dir="ltr"><<a href="mailto:beckert@phys.ethz.ch" target="_blank">beckert@phys.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Sun, Feb 28, 2016 at 08:24:33PM +0000, Guðmundur Freyr Hafsteinsson wrote:<br>
> Everything is working except the criticaleditor.sh link under administrator, which gives me the following errors in the logs (masked my ips):<br>
><br>
> [error] [client Y.Y.Y.Y] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: <a href="http://X.X.X.X/xymon/xymon.html" rel="noreferrer" target="_blank">http://X.X.X.X/xymon/xymon.html</a><br>
><br>
> The features that are currently using the same xymonpasswd file do work properly:<br>
> enadis.sh<br>
> acknowledge.sh<br>
<br>
I can add ackinfo.sh to the list of misbehaving CGI scripts:<br>
<br>
When I view e.g.<br>
<a href="https://xymon" rel="noreferrer" target="_blank">https://xymon</a>.<domain>/xymon-cgi/svcstatus.sh?HOST=<somehost>&SERVICE=<someservice>&NKPRIO=1&NKTTGROUP=&NKTTEXTRA=<br>
and fill out the acknowledge form on top, it does a POST request to<br>
<a href="https://xymon" rel="noreferrer" target="_blank">https://xymon</a>.<domain>/xymon-seccgi/ackinfo.sh, but since recently<br>
this returns a "404 Not Found", interestingly with the text "The<br>
requested URL /xymon-seccgi/criticalview.sh was not found on this<br>
server." (i.e. criticalview.sh instead of ackinfo.sh).<br>
<br>
In the apache error log, this causes lines like this one:<br>
<br>
[Thu Mar 03 14:16:16.673425 2016] [cgid:error] [pid 2311:tid 140260545623808] [client <ip>:52929] AH01264: script not found or unable to stat: /usr/lib/xymon/cgi-secure/criticalview.sh, referer: <a href="https://xymon" rel="noreferrer" target="_blank">https://xymon</a>.<domain>/xymon-cgi/svcstatus.sh?HOST=<somehost>&SERVICE=<someservice>&NKPRIO=1&NKTTGROUP=&NKTTEXTRA=<br>
<br>
/usr/lib/xymon/cgi-secure/criticalview.sh indeed does not exists, but<br>
/usr/lib/xymon/cgi-secure/ackinfo.sh does exist.<br>
<br>
(Regarding the paths: I'm using the official Debian packages as this<br>
is my server to test them.)<br>
<br>
                Kind regards, Axel Beckert<br>
<span class="HOEnZb"><font color="#888888">--<br>
Axel Beckert <<a href="mailto:beckert@phys.ethz.ch">beckert@phys.ethz.ch</a>>       support: <a href="tel:%2B41%2044%20633%2026%2068" value="+41446332668">+41 44 633 26 68</a><br>
IT Services Group, HPT H 6                  voice: <a href="tel:%2B41%2044%20633%2041%2089" value="+41446334189">+41 44 633 41 89</a><br>
Departement of Physics, ETH Zurich<br>
CH-8093 Zurich, Switzerland                <a href="http://nic.phys.ethz.ch/" rel="noreferrer" target="_blank">http://nic.phys.ethz.ch/</a><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>
</font></span></blockquote></div><br></div>