[Dxspider-support] Auto start second cluster
Jim Bayer
jim at kc9aop.net
Thu Nov 3 23:21:21 GMT 2011
In inittab the line:
dx1:235:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl"
Indicates the cluster is in /spider/perl. You said it was in
/home/sysop/spider. I'm confused that this works at all....
Jim
kc9aop/kc9aop-1
-----Original Message-----
From: dxspider-support-bounces at dxcluster.org
[mailto:dxspider-support-bounces at dxcluster.org] On Behalf Of Peter
Sent: Thursday, November 03, 2011 3:04 PM
To: The DXSpider Support list
Subject: [Dxspider-support] Auto start second cluster
Hi
Sorry that I come back with the same question of " How to auto start a
second cluster"
April 2010 I had the same question and I got I working.
But now the second cluster refuse to start.
Cluster 1 is running as sys op (home/sysop) and the second as sysop2
(home/sysop2)
Manual starting the second cluster via
/home/sysop2/spider/perl/cluster.pl will bring up the cluster.
DXSPIDER_ROOT is correct:
sysop2 at pi4cc:~$ echo $DXSPIDER_ROOT
/home/sysop2/spider
sysop2 at pi4cc:~$
In /etc/inittab I have the 2 lines:
dx1:235:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl"
sysop >/dev/null
dx2:235:respawn:/bin/su -c "DXSPIDER_ROOT=/home/sysop2 /usr/bin/perl -w
/home/sysop2/spider/perl/cluster.pl" sysop2 >/dev/null
Yes I do telinit q after changes
DX1 is autostarting and DX2 refuses.
Is there somewhere a log file of inittab with an output to see if there is
any error?
What do I wrong?
Running the system on a debian linux OS
Peter
PC2A/PI4CC
_______________________________________________
Dxspider-support mailing list
Dxspider-support at dxcluster.org
http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
More information about the Dxspider-support
mailing list