<div dir="ltr"><div>Nick,</div><div><br></div><div><div>root@portal:/usr/local/ixp/tools/runtime/sflow# ./control-sflow-to-rrd-handler start</div><div>Can't exec "sflow-to-rrd-handler": No such file or directory at /usr/local/share/perl/5.14.2/Daemon/Control.pm line 259.</div>
<div>Failed to exec sflow-to-rrd-handler : No such file or directory at /usr/local/share/perl/5.14.2/Daemon/Control.pm line 259.</div><div>control-sflow-to-rrd-handler                                  [Started]</div></div>
<div><br></div><div>It does create the .pid file although no processes actually start, and the path does seem correct.</div><div><br></div><div>use warnings;</div><div>use strict;</div><div>use Daemon::Control;</div><div>
<br></div><div>Daemon::Control->new({</div><div><span class="" style="white-space:pre">      </span>name<span class="" style="white-space:pre">              </span>=><span class="" style="white-space:pre">     </span>"control-sflow-to-rrd-handler",</div>
<div><span class="" style="white-space:pre">    </span>lsb_start<span class="" style="white-space:pre"> </span>=><span class="" style="white-space:pre">     </span>'$syslog $remote_fs',</div><div><span class="" style="white-space:pre">      </span>lsb_stop<span class="" style="white-space:pre">  </span>=><span class="" style="white-space:pre">     </span>'$syslog',</div>
<div><span class="" style="white-space:pre">    </span>lsb_sdesc<span class="" style="white-space:pre"> </span>=><span class="" style="white-space:pre">     </span>'Sflow control daemon',</div><div><span class="" style="white-space:pre">    </span>lsb_desc<span class="" style="white-space:pre">  </span>=><span class="" style="white-space:pre">     </span>'Controller for the sflow-to-rrd-daemon.',</div>
<div><span class="" style="white-space:pre">    </span>path<span class="" style="white-space:pre">              </span>=><span class="" style="white-space:pre">     </span>'/usr/local/ixp/tools/runtime/sflow',</div><div><span class="" style="white-space:pre">      </span>program<span class="" style="white-space:pre">           </span>=><span class="" style="white-space:pre">     </span>'sflow-to-rrd-handler',</div>
<div><span class="" style="white-space:pre">    </span>program_args<span class="" style="white-space:pre">      </span>=><span class="" style="white-space:pre">     </span>[],</div><div><span class="" style="white-space:pre">        </span>pid_file<span class="" style="white-space:pre">  </span>=><span class="" style="white-space:pre">     </span>'/var/run/sflow-to-rrd-handler.pid',</div>
<div><span class="" style="white-space:pre">    </span>fork<span class="" style="white-space:pre">              </span>=><span class="" style="white-space:pre">     </span>2,</div><div>})->run; </div><div><br></div><div>Thank you for your help.  It is getting down to the wire, I would like to demo this software at our board meeting on Thursday.</div>
</div><div class="gmail_extra"><br clear="all"><div><strong style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(136,136,136)">Brian Thompson</strong><br><span style="color:rgb(0,102,51);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Senior Infrastructure Engineer // Senior Second Guesser</span><br>
<font color="#666666" face="Lucida Grande, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:15px"><br></span></font><span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Direct: </span><a value="+15039436742" style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(17,85,204)">503.943.6779</a><br>
<span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px">Mobile: </span><a value="+15033196955" style="font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(17,85,204)">503.707.9018</a><span style="color:rgb(102,102,102);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px"> // Twitter: iovation</span><br>
<strong style="color:rgb(0,102,51);font-family:'Lucida Grande',Verdana,Arial,sans-serif;font-size:12px;line-height:16px"><a href="http://www.iovation.com/" title="Visit iovation.com" style="color:rgb(0,102,51);text-decoration:none;border-bottom-width:0px;border-bottom-style:initial;border-bottom-color:initial" target="_blank">www.iovation.com</a></strong><br>
<font color="#006633" face="Lucida Grande, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:15px"><br></span></font><span><font color="#888888"><div><font color="#006633" face="'Lucida Grande', Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:16px"><img src="http://www.iovation.com/images/signature/eml_sig_mobilefraud.gif"></span></font></div>
</font></span></div>
<br><br><div class="gmail_quote">On Tue, Nov 12, 2013 at 9:05 AM, Nick Hilliard <span dir="ltr"><<a href="mailto:nick@inex.ie" target="_blank">nick@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 12/11/2013 17:03, Brian Thompson wrote:<br>
> Should this be kicked off in a seperate crontab or in<br>
> the ixp-periodic-update.sh?<br>
><br>
> I can't imagine that this is a manual start each time the server reboots.<br>
<br>
</div>control-sflow-to-rrd-handler should be put into /etc/rc.d/ or /etc/init.d<br>
so that it automatically restarts whenever the server restarts.<br>
<div class="HOEnZb"><div class="h5"><br>
Nick<br>
<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</div></div></blockquote></div><br></div>