<div dir="ltr">Hi guys!<br><br>Thank you very much for your replies!<br>I'll try to play with runlevels.<br><br>Alex, 4Z5LZ-2<br>73!<br><br><div class="gmail_quote">On Mon, Jan 9, 2012 at 1:49 PM, Mike McCarthy, W1NR <span dir="ltr"><<a href="mailto:lists@w1nr.net">lists@w1nr.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adding the script to init.d is step one. You need to enable the "service" using a runlevel editor like chkconfig. You can start the cluster using "service start dxspider".<br>

<br>
chkconfig will create a link to the script (in init.d) in one or more of the runlevel directories (rc0.d through rc5.d). When the system boots it will run the scripts in the rc directory that corresponds to the runlevel. In general, you should probably have dxspider start in runlevels 3 (non-graphical) and 5 (graphical).<br>

<br>
Mike, W1NR<div class="im"><br>
<br>
On 01/08/2012 08:45 PM, Jim Bayer wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Alex,<br>
<br>
CENTOS6 64 bit has a new init stucture. There is an /etc/init directory<br>
that holds respawn instructions. I'm working out the proper script to<br>
make the cluster spawn on its own.<br>
<br>
Jim<br>
<br></div>
*From:*<a href="mailto:dxspider-support-bounces@dxcluster.org" target="_blank">dxspider-support-<u></u>bounces@dxcluster.org</a><br>
[mailto:<a href="mailto:dxspider-support-bounces@dxcluster.org" target="_blank">dxspider-support-<u></u>bounces@dxcluster.org</a>] *On Behalf Of *Alex Savenok<br>
*Sent:* Sunday, January 08, 2012 4:10 PM<br>
*To:* The DXSpider Support list<br>
*Subject:* [Dxspider-support] How to set up auto restart of DX spider in<div class="im"><br>
Centos 6?<br>
<br>
Hi dxspider gurus!<br>
<br>
I have moved my spider node 4z5lz-2 to the new server on Centos 6, 64bits.<br>
But unfortunately I can't create auto start of the node.<br>
It seems that Centos 6 doesn't support configuration in /etc/inittab as<br>
described in <a href="http://www.dxcluster.org/main/spiderFAQ_en-2.html#ss2.1" target="_blank">http://www.dxcluster.org/main/<u></u>spiderFAQ_en-2.html#ss2.1</a><br>
<br>
I've tried to add in /etc/rc.d/init.d/dxspider:<br>
<br>
#!/bin/sh<br>
# chkconfig: 2345 99 00<br>
<br>
case "$1" in<br>
'start')<br>
/bin/su -c "/usr/bin/perl -w /spider/perl/<a href="http://cluster.pl" target="_blank">cluster.pl</a><br></div>
<<a href="http://cluster.pl" target="_blank">http://cluster.pl</a>>" cqplanet > /dev/tty7<div class="im"><br>
touch /var/lock/subsys/dxspider<br>
;;<br>
'stop')<br>
rm -f /var/lock/subsys/dxspider<br>
;;<br>
*)<br>
echo "Usage: $0 { start | stop }"<br>
;;<br>
esac<br>
exit 0<br>
<br>
But it doesn't help me too.<br>
<br>
How can I solve my problem?<br>
<br>
Thank you very much! 73!<br>
Alex<br>
4Z5LZ-2<br>
<br>
<br>
<br></div><div class="im">
______________________________<u></u>_________________<br>
Dxspider-support mailing list<br>
<a href="mailto:Dxspider-support@dxcluster.org" target="_blank">Dxspider-support@dxcluster.org</a><br>
<a href="http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank">http://mailman.tobit.co.uk/<u></u>mailman/listinfo/dxspider-<u></u>support</a><br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
Dxspider-support mailing list<br>
<a href="mailto:Dxspider-support@dxcluster.org" target="_blank">Dxspider-support@dxcluster.org</a><br>
<a href="http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support" target="_blank">http://mailman.tobit.co.uk/<u></u>mailman/listinfo/dxspider-<u></u>support</a><br>
</div></div></blockquote></div><br></div>