[hobbit] (4.3.0-beta1) certain xymon-cgi scrips fail.

Josh Luthman josh at imaginenetworksllc.com
Wed Feb 25 19:17:39 CET 2009


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

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

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 <eric.j.boyd at gmail.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090225/299a4bb6/attachment.html>


More information about the Xymon mailing list