[Dxspider-support] Two Spider nodes on the same linux box
Ricardo Suarez
eleu9da at ciudad.com.ar
Tue Jan 15 22:15:03 GMT 2008
Ciao Luigi...
Come stai di permessi in sysop2? Non sara' che bisogna cambiare il owner
della cartella /home/sysop2/ e il suo contenuto?
Saluti
Rick LU9DA
----- Original Message -----
From: "Luigi Carlotto" <ik5zuk at tiscali.it>
To: "The DXSpider Support list" <dxspider-support at dxcluster.org>;
<djk at tobit.co.uk>
Sent: Tuesday, January 15, 2008 9:11 PM
Subject: Re: [Dxspider-support] Two Spider nodes on the same linux box
>> * copy the line:
>>
>> sp:2345:respawn:su -c "perl /spider/perl/cluster.pl > /dev/null 2>&1"
>> sysop
>>
>> and change that second (new) line to
>>
>> sq:2345:respawn:su -c "DXSPIDER_ROOT=/home/sysop2/spider perl
>> $DXSPIDER_ROOT/perl/cluster.pl > /dev/null 2>&1" sysop2
>>
>> so that you now have *two* lines where there was one.
>
> Dirk,
> I would like to to redirect the output onto the tty8 (instead of
> /dev/null),
> so that I can see the data flow on the monitor...
> Here is what I have on my inittab file:
>
> ##Start DXSpider on bootup and respawn it should it crash
> DX:35:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop
> >
> /dev/tty9
> SP:35:respawn:/bin/su -c "DXSPIDER_ROOT=/home/sysop2/spider
> /usr/bin/perl -w
> $DXSPIDER_ROOT/perl/cluster.pl" sysop2 > /dev/tty8
>
> The second line is referred to the "original" spider node, and the last of
> course to the new node.
>
> After "telinit q", the second cluster doesn't starts automatically... if I
> try to do it manually, with ./cluster.pl, it works properly, but no way
> with
> the inittab !
>
> Please, could you suggest me something ?!?
>
> TIA, 73's de Luigi, ik5zuk
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.2/1224 - Release Date:
> 14/01/2008 17:39
>
>
More information about the Dxspider-support
mailing list