[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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