[Dxspider-support] Two Spider nodes on the same linux box

Luigi Carlotto ik5zuk at tiscali.it
Fri Jan 18 11:55:17 GMT 2008


>>> try checking the last one by logging in as root and typing:-
>>>
>>> su -c "DXSPIDER_ROOT=/home/sysop2/spider perl
>>> /home/sysop2/spider/perl/cluster.pl > /dev/tty8" sysop2
>>>
>>> all on one line.
>>
>> Tryed it.
>>
>>> It should a) run and b) in a "ps aux" should be owned by sysop2
>>
>> The system reply me:-
>>
>> [root at linux ~]# su -c "DXSPIDER_ROOT=/home/sysop2/spider perl
>> /home/sysop2/spider/perl/cluster.pl > /dev/tty8" sysop2
>> bash: /dev/tty8: Permission denied
>> [root at linux ~]#
>>
>
> That gets a bit more complicated.
>
> Do an: ls -l /dev/tty[0-9]
>
> I get:-
>
> crw-rw---- 1 root root 4, 0 2008-01-16 23:36 /dev/tty0
> crw------- 1 root root 4, 1 2008-01-16 23:36 /dev/tty1
> crw------- 1 root root 4, 2 2008-01-16 23:36 /dev/tty2
> crw------- 1 root root 4, 3 2008-01-16 23:36 /dev/tty3
> crw------- 1 root root 4, 4 2008-01-16 23:36 /dev/tty4
> crw------- 1 root root 4, 5 2008-01-16 23:36 /dev/tty5
> crw------- 1 root root 4, 6 2008-01-16 23:36 /dev/tty6
> crw-rw---- 1 root root 4, 7 2008-01-16 23:36 /dev/tty7
> crw-rw---- 1 root root 4, 8 2008-01-16 23:36 /dev/tty8
> crw-rw---- 1 root root 4, 9 2008-01-16 23:36 /dev/tty9
>
> You need to arrange for a chmod 0666 /dev/tty[89]
>
> I would put that in /etc/rc.d/rc.local

Done.
EUREKA !!! It's working now !


> Are you running X? Because that will be taking tty7, 8 or 9 depending on
> which distro you are using.

Yes Dirk, I'm running X. Now I'm using Fedora Core 5 for both nodes, BTW I'm 
planning to upgrade soon to Fedora 8.

> Maybe try /dev/tty10 or tty11
>
> Dirk

Thank you very much Dirk !

73's de Luigi, ik5zuk




More information about the Dxspider-support mailing list