[hobbit] Re: No data after the upgrade

Asif Iqbal vadud3 at gmail.com
Tue Aug 15 17:47:32 CEST 2006


On 8/15/06, Henrik Stoerner <henrik at hswn.dk> wrote:
> On Tue, Aug 15, 2006 at 10:42:45AM -0400, Asif Iqbal wrote:
> > On 8/15/06, Asif Iqbal <vadud3 at gmail.com> wrote:
> > >I just upgrade hobbit from 4.1.2 to 4.2.0. Now I do not see any data
> > >or graph in this page
> > >
> > >https://server.foo.net/hobbit-cgi/bb-hostsvc.sh?HOST=client.foo.com&SERVICE=bbtest
> >
> > When I run it from shell like this or view the source I get all the
> > output. Do I need to fix the CSS or something?
>
> Hobbit only uses plain HTML4, not any CSS.
>
> > REQUEST_METHOD="GET" QUERY_STRING="HOST=client.foo.com&SERVICE=bbtest"
> > SCRIPT_NAME="bb-hostsvc.sh" ~hobbit/cgi-bin/bb-hostsvc.sh
>
> When you run it from the shell, is the first line
>   Content-type: text/html
> ?

Yes, and then an empty line and then rest of the html stuff

>
> Have you checked the webserver logs for any errors?

Not until now :-)

[Thu Aug  3 08:03:38 2006] [error] [client 155.70.39.45] File does not
exist: /usr/local/apache/htdocs/_vti_bin/owssvr.dll
[Thu Aug  3 08:03:38 2006] [error] [client 155.70.39.45] File does not
exist: /usr/local/apache/htdocs/MSOffice/cltreq.asp
[Fri Aug  4 15:06:54 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Fri Aug  4 16:18:13 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Tue Aug  8 15:14:59 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Tue Aug  8 15:15:04 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Tue Aug  8 15:15:06 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Tue Aug  8 15:15:35 2006] [error] [client 155.70.141.45] Premature
end of script headers: /export/home/hobbit/cgi-bin/bb-hostsvc.sh
[Fri Aug 11 15:41:45 2006] [error] [client 155.70.39.45] File does not
exist: /usr/local/apache/htdocs/_vti_bin/owssvr.dll
[Fri Aug 11 15:41:46 2006] [error] [client 155.70.39.45] File does not
exist: /usr/local/apache/htdocs/MSOffice/cltreq.asp



>
> Also, you can try creating a "cgierror.log" file in the hobbit "logs"
> directory, owned by the group your webserver runs as, and group-write
> access. Errors from the CGI will then go into that file.

Did that now

>
>
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu



More information about the Xymon mailing list