[Dxspider-support] Spider Autostart
Dirk Koopman
djk at tobit.co.uk
Mon Jul 8 11:18:30 BST 2002
On Mon, 2002-07-08 at 10:42, Colin Harris wrote:
> Hi all,
>
> Having suffered a recent sequence of mains power
> glitches I decided it was time to auto respawn DXSpider.
> Having entered the prescribed lines into /etc/inittab and
> rebooted I received an error message something like :-
>
> INIT: etc/inittab [59] sequence too long. Max characters (4)
>
> The respawning of DXSpider however did function
> automatically. I followed implicitly the commands to enter
> this function plus the spaces shown in the commands but it
> appears a space should be inserted somewhere to avoid the
> above error message. The inittab line added as per manual
> 1.48 were :-
>
> DX:3:respawn:/bin/su -c "/usr/bin/perl -w
> /spider/perl/cluster.pl" >/dev/tty7
These two lines are all on one line aren't they?
and it should look like:-
DX:345:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl >/dev/tty7" sysop
Note where the " characters go and the need for a username (in this case
"sysop") on the end. THIS IS VERY IMPORTANT, because otherwise spider
will run as root and, as the manual says, this is something to be
avoided.
Also, if you are running X all the time on your machine, you should
include (at least) run level 5 and if it is permanently in X I would
also change the /dev/tty7 to either /dev/tty8 or, more likely, /dev/null
because you won't be looking much at the direct output.
Dirk G1TLH
More information about the Dxspider-support
mailing list