[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Tried to down BOARDBUSY on custom listener startup
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Tried to down BOARDBUSY on custom listener startup
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Tue, 6 Mar 2007 12:54:08 +0100
- References: <45ED4E39.3090409@sanger.ac.uk>
- User-agent: Mutt/1.5.12-2006-07-14
On Tue, Mar 06, 2007 at 11:19:21AM +0000, Gildas Le Nadan wrote:
> I've written a custom perl listener for the client channel.
>
> It seems to work quite fine when it starts properly, but most of the
> time it just sits there receiving no data and there's the message "Tried
> to down BOARDBUSY" in the listener logs.
>
> I suspect this is related to the channel registration :)
How are you running your perl program ?
You must run it from hobbitlaunch.cfg through a new section like
[myclienttool]
ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd_channel --channel=client /usr/local/bin/myclient.pl
LOGFILE $BBSERVERLOGS/myclient.log
myclient.pl then receives the client data on <STDIN>
For debugging you can run it by hand. You MUST be logged in as the
hobbit user, then run
bbcmd hobbitd_channel --channel=client /usr/local/bin/myclient.pl
Henrik