AW: [hobbit] Browser asks where to save bb-hostsvc.sh

Michael.Wiegard at materna.de Michael.Wiegard at materna.de
Fri Feb 9 12:19:16 CET 2007


But why does it work when I use the correct IP address in bb-hosts-file?

Links in the trends column also work fine (Link-alt-text is: trends:green: - without 0.0.0.0).

When a download the file there is NOTHING in it; size 0k.

-----Ursprüngliche Nachricht-----
Von: Johann Eggers [mailto:Johann.Eggers at teleatlas.com]
Gesendet: Freitag, 9. Februar 2007 12:09
An: hobbit at hswn.dk
Betreff: RE: [hobbit] Browser asks where to save bb-hostsvc.sh



> -----Original Message-----
> From: Michael.Wiegard at materna.de [mailto:Michael.Wiegard at materna.de]
> Sent: Freitag, 9. Februar 2007 12:01
> To: hobbit at hswn.dk
> Subject: AW: [hobbit] Browser asks where to save bb-hostsvc.sh
> 
> It's the same with the windows-client and unix-clients. I think this is
> not a BBWin/client specific problem.
> 
> Looks like a wrong configuration(?!), but I don't know exactly what the
> problem is... No hints in the logs.
> 
> -----Original Message-----
> From: Michael.Wiegard at materna.de [mailto:Michael.Wiegard at materna.de]
> Sent: vendredi 9 février 2007 11:40
> To: hobbit at hswn.dk
> Subject: [hobbit] Browser asks where to save bb-hostsvc.sh
> 
> Using the format
> In bb-hosts:
> 
> 0.0.0.0	HOSTNAME (without domain)	# ssh
> 
> the browser asks where to save bb-hostsvc.sh
> 
> Link-address: .../hobbit-cgi/bb-hostsvc.sh?HOST=hobbitzone&SERVICE=info
> Alt-text of the link is: info:green:0.0.0.0
> 
> I've already compared with another hobbit-server's configuration, but
> found
> no differences.
> 
> The mailing-list archive did not help (perhaps wrong search term?!).
> 
> When entering the IP-address instead of 0.0.0.0 (in bb-hosts) it works
> fine...
> 
> Any ideas?

Must be your web-server...

>From the Mail archive:

On Fri, Jul 21, 2006 at 01:09:59PM +0800, Everett, Vernon wrote:
> Hi all
> 
> I am installing a new Hobbit server, running 4.1.2p1 on Solaris 10 with
> Apache 2.2.0
> It's starting to look good. I get the main hobbit page come up, and many
> green faces smiling at me.
> However, whenever I click on a face, or any menu option that runs a
> script, my browser opens a dialogue box and wants to start a download.
> :-(

If you do download it, then what's in the file - a shell script, or 
an HTML document ?

If it's a shell script, then your cgi directories are not seen as such,
and you're just getting the shell script sent back to you as a plain
file. If it's an HTML document, then the CGI program runs and generates
the correct response - in that case, I suspect that your webserver
doesn't provide the right Content-type header, although the Hobbit CGI
programs all try their best to set this correctly.

If you've got something like "curl" installed then running 
   curl -i http://hobbit-cgi/..... |more
will show you the headers sent by the webserver. If you dont have that,
then you can just telnet to the webserver on port 80, and send it
   GET http://hobbit-cgi/.....
   <hit enter twice>

Johann

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





More information about the Xymon mailing list