Xymon Mailing List Archive search

(4.3.0-beta1) certain xymon-cgi scrips fail.

list Josh Luthman
Wed, 25 Feb 2009 13:17:39 -0500
Message-Id: <user-f51768fd9209@xymon.invalid>

When I see this it has always been a permissions problem.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Wed, Feb 25, 2009 at 1:14 PM, Eric Boyd <user-674fcf4c8f42@xymon.invalid> wrote:
Hello.

Just did a new install of 4.3.0-beta1 on a mac os x 10.5.6 client.  I see 2
issues.

The first is that I am getting a bunch of Premature end of script headers
errors, but not with everything.
an example set of scripts that error out:

[25/Feb/2009:09:49:41 -0800] "GET /xymon-cgi/bb-hostsvc.sh?HOST=
aaa.bbb.edu&SERVICE=info HTTP/1.1" 500 535
[25/Feb/2009:09:51:51 -0800] "GET /xymon-cgi/hobbit-confreport.sh HTTP/1.1"
500 535
[25/Feb/2009:09:52:08 -0800] "GET /xymon-cgi/hobbit-hostgraphs.sh HTTP/1.1"
500 535

an example set of scripts that work:

[25/Feb/2009:09:50:56 -0800] "GET /xymon-cgi/bb-eventlog.sh HTTP/1.1" 200
7213
[25/Feb/2009:09:51:00 -0800] "GET
/xymon-cgi/bb-eventlog.sh?MAXTIME=&FROMTIME=&TOTIME=&MAXCOUNT=100&HOSTMATCH=&EXHOSTMATCH=&PAGEMATCH=&EXPAGEMATCH=&TESTMATCH=&EXTESTMATCH=&COLORMATCH=&Send=View+log
HTTP/1.1" 200 68253
[25/Feb/2009:09:51:18 -0800] "GET /xymon-cgi/hobbit-nkview.sh HTTP/1.1" 200
3670
[25/Feb/2009:09:51:32 -0800] "GET /xymon-cgi/bb-rep.sh HTTP/1.1" 200 5796

All of the above have the same permissions and owner/group settings

I tried modifying the bb-hostsvc.sh file so the last line reads:

   exec /usr/lib/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS --debug 2>&1 1>/tmp/cgi.log

after stopping and starting both the webserver and xymon server several times, no file exists for /tmp/cgi.log


The second issue:  Page.log is reporting:
Cannot open configuration file
/usr/local/xymon/server/server/etc/hobbit-holidays.cfg


Any help would be appreciated.
-Eric