<div dir="ltr">ok, I can wait till one of my local guys can help with the init.d scripts.<div><br></div><div>Found that one of the control files refers to /usr/local/bin and the other /usr/local/sbin</div><div><br></div><div>It is running and populating the matrix.</div><div><br></div><div>Thanks,</div><div>Brian</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><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></div>
<br><div class="gmail_quote">On Sun, Nov 23, 2014 at 10:02 AM, Brian Thompson <span dir="ltr"><<a href="mailto:brian.thompson@iovation.com" target="_blank">brian.thompson@iovation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I still get permission denied when starting from "service"<div><br></div><div><div>root@portal:/usr/local/ixp# service control-sflow-to-rrd-handler status</div><span class=""><div>/etc/init.d/control-sflow-to-rrd-handler: 22: /etc/init.d/control-sflow-to-rrd-handler: /usr/local/ixp/tools/runtime/sflow: Permission denied</div></span></div><div><br></div><div>If I call it manually rrd starts.</div><div><div>root@portal:/usr/local/ixp# /usr/local/ixp/tools/runtime/sflow/control-sflow-to-rrd-handler start</div><div>control-sflow-to-rrd-handler                                  [Started]</div><div>root@portal:/usr/local/ixp# ps -aux | grep sflow</div><div>warning: bad ps syntax, perhaps a bogus '-'?</div><div>See <a href="http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ" target="_blank">http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ</a></div><div>root      6949  0.9  1.7  33328  9116 ?        S    09:56   0:00 /usr/bin/perl -w /usr/local/bin/sflow-to-rrd-handler</div><div>root      6951  0.0  0.0   2072   280 ?        S    09:56   0:00 /usr/local/bin/sflowtool -4 -p 6343 -l</div><div>root      6954  0.0  0.1   4396   828 pts/0    S+   09:57   0:00 grep --color=auto sflow</div></div><div><br></div><div>Although BGP detect doesn't have an init script. Is copying it there a manual step?</div><div><br></div><div>Manually starting it:</div><div><div>root@portal:/usr/local/ixp# /usr/local/ixp/tools/runtime/sflow/control-sflow-detect-ixp-bgp-sessions start</div><div>Can't exec "/usr/local/bin/sflow-detect-ixp-bgp-sessions": No such file or directory at /usr/local/share/perl/5.14.2/Daemon/Control.pm line 259.</div><div>Failed to exec /usr/local/bin/sflow-detect-ixp-bgp-sessions : No such file or directory at /usr/local/share/perl/5.14.2/Daemon/Control.pm line 259.</div><div>control-sflow-detect-ixp-bgp-sessions                         [Started]</div></div><div><br></div><div>My ixpmanager.conf look like.</div><div><div><ixp></div><div>        rs_asn = 63028</div><div>        rs_peval_bird = /usr/local/bin/peval-output-to-csv.sh</div><div>        rs_identity = 1</div><div>        sflow_rrdcached = 1</div><div>        sflowtool = /usr/local/bin/sflowtool</div><div>        sflowtool_opts = -4 -p 6343 -l</div><div>        sflowtool_bgp_opts = -4 -p 5501 -l</div><div>        sflow_rrddir = /usr/local/sflow</div><div>#       debug = 1</div><div></ixp></div></div><div><br></div><div><br></div><div>Thanks again for the help</div><span class="HOEnZb"><font color="#888888"><div>Brian</div><div><br></div></font></span></div><div class="gmail_extra"><span class=""><br clear="all"><div><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></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Sun, Nov 23, 2014 at 9:51 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"><span>On 23/11/2014 17:31, Brian Thompson wrote:<br>
> Anybody,<br>
><br>
> Ok I might need some generic linux help.<br>
<br>
</span>Daemon::Control has been causing some headwreck today.  Turns out it<br>
doesn't like freebsd rc.d init scripting either.<br>
<br>
Can you run a "git pull"?  I've pushed some bug fixes.  Where it says:<br>
<br>
> program         =>      "/usr/local/bin/$progname",<br>
<br>
... in your case, this should probably be:<br>
<br>
> program         =>      "/usr/local/ixp/tools/runtime/sflow/$progname",<br>
<br>
The sflow-detect-ixp-bgp-sessions script uses the same startup script<br>
mechanism, so if you get sflow-to-rrd-handler working, you can get the bgp<br>
stuff working the same way.<br>
<div><div><br>
Nick<br>
<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">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></div></div>
</blockquote></div><br></div>