[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Help with hobbitd_channel and hobbitd_filestore
- To: <hobbit (at) hswn.dk>
- Subject: RE: Help with hobbitd_channel and hobbitd_filestore
- From: "Taylor Lewick" <tlewick (at) tradebotsystems.com>
- Date: Fri, 30 Oct 2009 10:58:08 -0500
- Thread-index: AcpZZcwDM/biNHcrStakfP4MX6SPUgAEYN3w
- Thread-topic: Help with hobbitd_channel and hobbitd_filestore
I think this is a problem with hobbitd_filestore getting/reading the
correct file
I changed the hobbitd_channel command to: ./hobbitd_channel
--channel=client --log=/home/hobbit/data/logs/logfile.txt
get_channel_data.pl
The get_channel_data.pl was a very simple perl script I wrote just to
see if it was getting data from Standard Input. And it worked.
The perl script is just:
#!/usr/bin/pl
$FH="/home/hobbit/data/logs/clientchannel.log":
open (OUTFILE, ">$FH");
while ( <STDIN> ) {
chomp $_;
print OUTFILE "$_\n";
}
close (OUTFILE);
So clientchannel.log has the output I'd expect to see. And the logfile
is no longer being populated with "Our child has failed and will not
talk to us... Cause bad file descriptor" messages
The only similar post I could find on this was the following thread,
http://www.hswn.dk/hobbiton/2006/08/msg00326.html
But that was back a few years and was for someone who was running on
AIX, and it looked inconclusive.
FYI, I'm running hobbit 4.2.0 on a Suse 10.2 server.