<div dir="ltr"><div>Hi </div><div><br></div><div>Can anyone help?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 28, 2021 at 7:49 PM Basil Elbalaawi <<a href="mailto:saifbasilyazan@gmail.com">saifbasilyazan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>Hi Nick</div><div><br></div><div>AT ubuntu 20.04</div><div><br></div><div>root@sflow:/etc/init.d# <b><font color="#ff0000">systemctl status sflow_bgp_handler.service</font></b><br>● sflow_bgp_handler.service<br> Loaded: loaded (/etc/init.d/sflow_bgp_handler; generated)<br> Active: failed (Result: exit-code) since Sun 2021-03-28 16:29:19 UTC; 14s ago<br> Docs: man:systemd-sysv-generator(8)<br> Process: 6622 ExecStart=/etc/init.d/sflow_bgp_handler start (code=exited, status=127)<br><br>Mar 28 16:29:19 sflow systemd[1]: Starting sflow_bgp_handler.service...<br>Mar 28 16:29:19 sflow sflow_bgp_handler[6622]: <b><font color="#0000ff">/etc/init.d/sflow_bgp_handler: 29: .: Can't open /etc/rc.subr</font></b><br>Mar 28 16:29:19 sflow systemd[1]: sflow_bgp_handler.service: Control process exited, code=exited, status=127/n/a<br>Mar 28 16:29:19 sflow systemd[1]: sflow_bgp_handler.service: Failed with result 'exit-code'.<br>Mar 28 16:29:19 sflow systemd[1]: Failed to start sflow_bgp_handler.service.<br>root@sflow:/etc/init.d# systemctl restart sflow_rrd_handler.service<br>Job for sflow_rrd_handler.service failed because the control process exited with error code.<br>See "systemctl status sflow_rrd_handler.service" and "journalctl -xe" for details.<br></div><div><br></div><div>Solution? </div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 28, 2021 at 12:28 AM Nick Hilliard <<a href="mailto:nick@foobar.org" target="_blank">nick@foobar.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Basil Elbalaawi wrote on 27/03/2021 15:34:<br>
> <br>
> Hi<br>
> In another side , How sflow-to-rrd-handler trying to figure out the <br>
> location of ixpmanager.conf to get the parameter it needed ? like <br>
> following :<br>
> <br>
> my $apibaseurl = defined($ixp->{ixp}->{apibaseurl}) ? <br>
> $ixp->{ixp}->{apibaseurl} : undef;<br>
<br>
The configuration required is outlined in the documentation:<br>
<br>
<a href="https://docs.ixpmanager.org/features/sflow-p2p/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/features/sflow-p2p/</a><br>
<br>
as you mentioned before the ixpmanager.conf needs to be put into <br>
/usr/local/etc/<br>
<br>
> should be transport two files "sflow-to-rrd-handler" and<br>
> "sflow-detect-ixp-bgp-sessions" to /usr/local/bin/ location, after<br>
> that run sflow_rrd_handler and sflow_bgp_handler cron job and<br>
> insert it to Configuring auto-start services in Ubuntu ?<br>
<br>
yes.<br>
<br>
Nick<br>
</blockquote></div>
</blockquote></div>