Answers inline<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 3:43 PM, Dirk Koopman <span dir="ltr"><<a href="mailto:djk@tobit.co.uk" target="_blank">djk@tobit.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 11/09/12 14:10, Ton Machielsen wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi all!<br>
<br>
i followed the exact instructions on<br>
<a href="http://wiki.dxcluster.org/index.php/Configuration#Autostarting_the_cluster" target="_blank">http://wiki.dxcluster.org/<u></u>index.php/Configuration#<u></u>Autostarting_the_cluster</a><br>
but upstart keeps launching new cluster processes.<br>
<br>
The log only tells me:<br>
<br>
1347368933^cluster^DXSpider V1.55, build 0.67 started<br>
1347368934^cluster^DXSpider V1.55, build 0.67 started<br>
1347368935^cluster^DXSpider V1.55, build 0.67 started<br>
1347368935^cluster^DXSpider V1.55, build 0.67 started<br>
1347368936^cluster^DXSpider V1.55, build 0.67 started<br>
1347368937^cluster^DXSpider V1.55, build 0.67 started<br>
1347368937^cluster^DXSpider V1.55, build 0.67 started<br>
<br>
How can i troubleshoot what is the issue here?<br>
<br>
Init file looks like this:<br>
<br>
-----<br>
#DXSpider startup script<br>
#<br>
# This service maintains a getty on tty7 from the point the system is<br>
# started until it is shut down again.<br>
<br>
start on runlevel [2345]<br>
stop on runlevel [!2345]<br>
respawn<br>
exec /bin/su - sysop -c "/usr/bin/perl -w /spider/perl/<a href="http://cluster.pl" target="_blank">cluster.pl</a><br></div></div>
<<a href="http://cluster.pl" target="_blank">http://cluster.pl</a>>" >/dev/tty7<br>
-----<br>
</blockquote>
<br>
Does it start normally?<br></blockquote><div><br></div><div>Yes, what i do now is starting the cluster from the command line using the & to get it in the background.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Does /dev/tty7 exist and is it writable by the user "sysop"?<br></blockquote><div><br></div><div>Dunno. Will check.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Are you ever going to look at /dev/tty7 (ALT-F7 from the console)? If not then direct the output to /dev/null and use watchdbg if you ever want to see the console output.<br></blockquote><div><br></div><div>I will never look at the console. It's in a hosted system, so it needs to run completely autonomous.I tried redirecting to /dev/null but that makes no difference for the respawning issue.</div>
<div><br></div><div>Ton.</div><div> </div></div>