Xymon Mailing List Archive search

bb-findhost.sh problem.

3 messages in this thread

list Michael Nemeth · Thu, 08 Jun 2006 06:08:05 -0400 ·
Using the beta when I do a find host and click on the link I get:
"the connection was refused when attempting to contact 127.0.0.1"
sunos 5.9
Works fine on my HPUX 11 system.

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          
|><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ 
|               Work Page:http://ortfsb/~mnemeth/ 
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner · Thu, 8 Jun 2006 12:17:14 +0200 ·
quoted from Michael Nemeth
On Thu, Jun 08, 2006 at 06:08:05AM -0400, Michael Nemeth wrote:
Using the beta when I do a find host and click on the link I get:
"the connection was refused when attempting to contact 127.0.0.1"
When you look at the form with "Pattern to look for", try doing a 
"View source" in your browser. About mid-way in the source there should
be a line with
  <FORM METHOD="GET" ACTION="/hobbit-cgi/bb-findhost.sh">
Is it different on your system ?

In the ~hobbit/server/etc/hobbitcgi.cfg file there is a line
  CGI_FINDHOST_OPTS="--env=/usr/lib/hobbit/server/etc/hobbitserver.cfg
(the filename may be different, but should end with "hobbitserver.cfg").
Is it different on your system ?

Finally, the ~hobbit/cgi-bin/bb-findhost.sh script should end with the line
  exec /usr/lib/hobbit/server/bin/bb-findhost.cgi $CGI_FINDHOST_OPTS
Is it different on your system ?


Regards,
Henrik
list Henrik Størner · Thu, 8 Jun 2006 12:29:09 +0200 ·
quoted from Michael Nemeth
On Thu, Jun 08, 2006 at 06:08:05AM -0400, Michael Nemeth wrote:
Using the beta when I do a find host and click on the link I get:
"the connection was refused when attempting to contact 127.0.0.1"
sunos 5.9
One more thing, could you try changing the file
  ~hobbit/server/web/findhost_form
There's a line with
  <FORM METHOD="GET" ACTION="&REQUEST_URI">
Try changing that to
  <FORM METHOD="GET" ACTION="&SCRIPT_NAME">

This change was actually done in the source code, but I've forgotten 
to do it also on the web/* files. It could cause problems on some
kinds of webservers.


Regards,
Henrik