[Dxspider-support] How to set up auto restart of DX spider in Centos 6?

Jim Bayer jim at kc9aop.net
Mon Jan 9 01:45:43 GMT 2012


Alex,

 

CENTOS6 64 bit has a new init stucture.  There is an /etc/init directory
that holds respawn instructions.  I'm working out the proper script to make
the cluster spawn on its own.

 

Jim

 

From: dxspider-support-bounces at dxcluster.org
[mailto:dxspider-support-bounces at dxcluster.org] On Behalf Of Alex Savenok
Sent: Sunday, January 08, 2012 4:10 PM
To: The DXSpider Support list
Subject: [Dxspider-support] How to set up auto restart of DX spider in
Centos 6?

 

Hi dxspider gurus!

I have moved my spider node 4z5lz-2 to the new server on Centos 6, 64bits.
But unfortunately I can't create auto start of the node.
It seems that Centos 6 doesn't support configuration in /etc/inittab as
described in http://www.dxcluster.org/main/spiderFAQ_en-2.html#ss2.1 

I've tried to add in /etc/rc.d/init.d/dxspider:

#!/bin/sh
# chkconfig: 2345 99 00

case "$1" in
'start')
        /bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" cqplanet >
/dev/tty7
        touch /var/lock/subsys/dxspider
        ;;
'stop')
        rm -f /var/lock/subsys/dxspider
        ;;
*)
        echo "Usage: $0 { start | stop }"
        ;;
esac
exit 0

But it doesn't help me too.

How can I solve my problem?

Thank you very much! 73!
Alex
4Z5LZ-2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20120108/63f54423/attachment.html>


More information about the Dxspider-support mailing list