<div dir="ltr">You dont mention what distro you are running, I have only seen the library error on debian jessie so I assume you are using this.<div><br></div><div>How did you start zebra?  Did you use the zebra -d?</div><div>If you started Zebra as a daemon check if you can see the process running:  ps aux | grep zebra</div><div><br></div><div>If it is not running check you need to check the state directory is created and the permissions are correct.  If you used the example configure options and have rebooted the machine the local state directory has most likely been removed as it is considered temporary by the OS.</div><div><br></div><div>Check out the troubleshooting section in the doc directory on github - Building_FRR_on_Debian8.md:</div><div><a href="https://github.com/FRRouting/frr/blob/master/doc/Building_FRR_on_Debian8.md">https://github.com/FRRouting/frr/blob/master/doc/Building_FRR_on_Debian8.md</a><br></div><div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Kind Regards<div>Adam Fitzgerald</div></div></div>
<br><div class="gmail_quote">On Wed, May 31, 2017 at 6:14 PM, AJ NOURI <span dir="ltr"><<a href="mailto:ajn.bin@gmail.com" target="_blank">ajn.bin@gmail.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"><div>1) ####  Located te library directory, and set the variable LD_LIBRARY_PATH accordingly</div><div><br></div><div>LD_LIBRARY_PATH=/usr/local/lib</div><div># echo $LD_LIBRARY_PATH</div><div>/usr/local/lib</div><div># export LD_LIBRARY_PATH</div><div><br></div><div>2) ####  created a zebra config files from sample:</div><div><br></div><div>cd /usr/local/etc</div><div># cp zebra.conf.sample zebra.conf</div><div><br></div><div>3) ####  No more error messages, but the nothing happens neither when trying to start a process</div><div><br></div><div># cd /usr/local/sbin</div><div># zebra</div><div># </div><div># telnet 127.0.0.1 2601</div><div>Trying 127.0.0.1...</div><div>telnet: Unable to connect to remote host: Connection refused</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-31 9:54 GMT+02:00 AJ NOURI <span dir="ltr"><<a href="mailto:ajn.bin@gmail.com" target="_blank">ajn.bin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>When trying to run any process in <b>'/usr/local/sbin' </b>the result is the same:</div><div><br></div><div>---<br><br></div><div>frr@frr:/$ ls /usr/local/sbin</div><div>bgpd  eigrpd  frr  frr-reload.py  isisd  ldpd  nhrpd  ospf6d  ospfclient  ospfd  pimd  rfptest  ripd  ripngd  ssd  watchfrr  zebra</div></div><div><br></div><div>---</div><div><br></div><div><div>frr@frr:/usr/local/sbin$ bgpd</div><div>bgpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ isisd<br></div><div>isisd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ ldpd</div><div>ldpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ nhrpd</div><div>nhrpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ ospf6d</div><div>ospf6d: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ ospfclient</div><div>ospfclient: error while loading shared libraries: libfrrospfapiclient.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ ospfd</div><div>ospfd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div><div>frr@frr:/usr/local/sbin$ pimd</div><div>pimd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory</div></div><div><br></div><div>I must have missed something during the installation, did I?</div><div><br></div></div><div class="m_937242434619625146HOEnZb"><div class="m_937242434619625146h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-05-30 15:14 GMT+02:00 AJ NOURI <span dir="ltr"><<a href="mailto:ajn.bin@gmail.com" target="_blank">ajn.bin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After installing frrouting:<div>./configure</div><div>make</div><div>make install</div><div><br></div><div>created a user+group 'frr' and gave access to the state and config files/direcotries as mentione in FRROUTING CONFIGURATION (following ./configure)</div><div><br></div><div>Looks like the service is not started and such '<b>quagga</b>' or '<b>frr</b>' services don't exist.</div><div><br></div><div><div>and '<b>vtysh</b>' gives:<br></div></div><div><div>vtysh: error while loading shared libraries:<b> libfrr.so.0</b>: cannot open shared object file: No such file or directory</div></div><div><br></div><div>So how to start the routing daemons?</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/<wbr>listinfo/frog</a><br>
<br></blockquote></div><br></div>