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

RE: [hobbit] Status not available?



Well it cleared up on a server reboot somehow.  Maybe I had the ENV wrong at
some point when I started hobbit.

Henrik I found emails in the mail archive about there being no hardware
groups anymore.  Your code so you do it like you want. :)  You mentioned a
script that would convert your bbwarnsetup.cfg file, but I do not see that
in archive you can resend it or repost it or is there are repository for
this kind of stuff like deadcat?

Thanks
Wes


-----Original Message-----
From: Wes Neal [mailto:wes.neal (at) mci.com] 
Sent: Thursday, August 11, 2005 8:56 AM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] Status not available?

Henrik you said the following error:  

> 2005-08-10 16:09:05 hobbitsvc connect to bbd failed - Connection refused
> 2005-08-10 16:09:05 hobbitsvc Whoops ! bb failed to send message -
> Connection failed

Is caused by the CGI script failing to pickup the environment variable from
hobbitserver.cfg.  My cfg file has:

BBSERVERIP="IP.OCTETS.here"  and BBDISP="$BBSERVERIP"

So why would it not be picking it up?

Thanks
Wes

 


-----Original Message-----
From: Wes Neal [mailto:wes.neal (at) mci.com] 
Sent: Wednesday, August 10, 2005 6:05 PM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] Status not available?

Yes it should have been conn, but it generates the same error either way.
Not that my webserver uid can write to the error log when I click a button
on the webpage I get this as before:

2005-08-10 17:03:01 hobbitsvc connect to bbd failed - Connection refused
2005-08-10 17:03:01 hobbitsvc Whoops ! bb failed to send message -
Connection failed

So that seems to be the given error, but I have no idea the cause.

Thanks
Wes


-----Original Message-----
From: Henrik Stoerner [mailto:henrik (at) hswn.dk] 
Sent: Wednesday, August 10, 2005 5:56 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Status not available?

On Wed, Aug 10, 2005 at 05:13:36PM -0400, Wes Neal wrote:
> I am running this command which I am sure I am doing wrong somehow:
> 
> QUERY_STRING="HOSTSVC=dabwtx01,mcilink,com.comm" REQUEST_URL=""
> /export/home/bb/cgi-bin/bb-hostsvc.sh
> 
> I get a coredump, if that SHOULD be URI like you had I thought it was a
typo

It's not a typo :-)

> I get this:
> 
> QUERY_STRING="HOSTSVC=dabwtx01,mcilink,com.comm" REQUEST_URI=""

The last part of the HOSTSVC value is the column-name. Do you have
a "comm" column ? Or should it be "conn" - with an 'n' ? I think so.

> There is now a cigerror.log file and it contains these lines which only
> occurred from my testing it didn't exist before:

> 2005-08-10 16:09:05 hobbitsvc connect to bbd failed - Connection refused
> 2005-08-10 16:09:05 hobbitsvc Whoops ! bb failed to send message -
> Connection failed

It looks like the CGI script fails to pick up the Hobbit environment
setting that defines the IP of the Hobbit server. This is taken from
the BBDISP setting in the hobbitserver.cfg.

Try making the cgierror.log file writable by your webserver user-id,
that should make any errors from the real requests show up in that
file.


Regards,
Henrik


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



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



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