<div dir="ltr"><div>Anybody,</div><div><br></div>Ok I might need some generic linux help.<div><br></div><div><div>root@portal:~# service control-sflow-to-rrd-handler status</div><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></div><div><br></div><div>I think I might have a path or a variable missing or wrong.</div><div><br></div><div>cat /etc/init.d/control-sflow-to-rrd-handler referes to /usr/local/ixp/tools/runtime/sflow<br></div><div><br></div><div>cat /usr/local/ixp/tools/runtime/sflow/control-sflow-to-rrd-handler referes to /usr/local/sbin<br></div><div><br></div><div>I have sflow-to-rrd-handler in both locations</div><div><br></div><div><div>root@portal:~# ls -ail /usr/local/sbin/sflow-to-rrd-handler</div><div>1576 -rwxr-xr-x 1 root root 14232 Nov 23 09:21 /usr/local/sbin/sflow-to-rrd-handler</div></div><div><div><br></div><div>root@portal:~# ls -ail /usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler</div><div>279166 -rwxrwxrwx 1 root root 14232 Nov 22 14:35 /usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler</div></div><div><br></div><div>Although</div><div><div>root@portal:~# /usr/local/ixp/tools/runtime/sflow/control-sflow-to-rrd-handler status</div><div>control-sflow-to-rrd-handler                                  [Running]</div></div><div><br></div><div>Which sflow-to-rrd-handler location is correct "runtime" or "sbin"? and where might I have a wrong permission set?</div><div><br></div><div>Thanks anybody,</div><div><br></div><div>Brian</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 Sat, Nov 22, 2014 at 2:37 PM, 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 got it thanks<div><br></div><div><div>root@portal:/usr/local/ixp# git pull origin master</div><div>From <a href="https://github.com/inex/IXP-Manager" target="_blank">https://github.com/inex/IXP-Manager</a></div><div> * branch            master     -> FETCH_HEAD</div><div>Updating 781f433..f0609e3</div><div>Fast-forward</div><div> application/controllers/AuthController.php         |    6 +-</div><div> application/controllers/IrrdbCliController.php     |    4 +-</div><div> .../views/_skins/inex/rir/tmpl/autnum-as2128.tpl   |    2 +-</div><div> .../_skins/inex/statistics-cli/mrtg/trunks.cfg     |   68 +++++--</div><div> tools/runtime/<a href="http://check-perl-dependencies.pl" target="_blank">check-perl-dependencies.pl</a>           |  104 ++++++++++</div><div> .../route-servers/<a href="http://compare-route-server-prefixes.pl" target="_blank">compare-route-server-prefixes.pl</a> |   16 +-</div><div> .../sflow/control-sflow-detect-ixp-bgp-sessions    |   45 +++++</div><div> tools/runtime/sflow/control-sflow-to-rrd-handler   |   12 +-</div><div> tools/runtime/sflow/sflow-detect-ixp-bgp-sessions  |  210 ++++++++++++++++++++</div><div> tools/runtime/sflow/sflow-to-rrd-handler           |   32 +--</div><div> 10 files changed, 450 insertions(+), 49 deletions(-)</div><div> create mode 100644 tools/runtime/<a href="http://check-perl-dependencies.pl" target="_blank">check-perl-dependencies.pl</a></div><div> create mode 100755 tools/runtime/sflow/control-sflow-detect-ixp-bgp-sessions</div><div> create mode 100755 tools/runtime/sflow/sflow-detect-ixp-bgp-sessions</div></div></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 Sat, Nov 22, 2014 at 1:29 PM, 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 22/11/2014 21:00, Nick Hilliard wrote:<br>
> can you run a git pull again?  The code is now in:<br>
><br>
> tools/runtime/sflow/sflow-detect-ixp-bgp-sessions<br>
><br>
> Am currently writing some documentation.<br>
<br>
</span>Preliminary documentation here:<br>
<br>
<a href="https://github.com/inex/IXP-Manager/wiki/Peering-Matrix" target="_blank">https://github.com/inex/IXP-Manager/wiki/Peering-Matrix</a><br>
<br>
Can you run with this and see how it goes?  There's more documentation<br>
required for setting up sflowtool fanout, but if you start off a primary<br>
sflowtool daemon like this:<br>
<br>
# sflowtool -4 -f <a href="http://127.0.0.1/5500" target="_blank">127.0.0.1/5500</a> -f <a href="http://127.0.0.1/5501" target="_blank">127.0.0.1/5501</a><br>
<br>
... it will fan out two separate feeds, one to [127.0.0.1]:5500 and the<br>
other to [127.0.0.1]:5501.  One of these should be used for the sflow<br>
p2p/rrd feed, and the other can be used for bgp session detection for the<br>
peering matrix.<br>
<div><div><br>
Nick<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>