Howe to start frrouting (or quagga) daemons?
After installing frrouting: ./configure make make install created a user+group 'frr' and gave access to the state and config files/direcotries as mentione in FRROUTING CONFIGURATION (following ./configure) Looks like the service is not started and such '*quagga*' or '*frr*' services don't exist. and '*vtysh*' gives: vtysh: error while loading shared libraries:* libfrr.so.0*: cannot open shared object file: No such file or directory So how to start the routing daemons?
When trying to run any process in *'/usr/local/sbin' *the result is the same: --- frr@frr:/$ ls /usr/local/sbin bgpd eigrpd frr frr-reload.py isisd ldpd nhrpd ospf6d ospfclient ospfd pimd rfptest ripd ripngd ssd watchfrr zebra --- frr@frr:/usr/local/sbin$ bgpd bgpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ isisd isisd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ldpd ldpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ nhrpd nhrpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospf6d ospf6d: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfclient ospfclient: error while loading shared libraries: libfrrospfapiclient.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfd ospfd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ pimd pimd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory I must have missed something during the installation, did I? 2017-05-30 15:14 GMT+02:00 AJ NOURI <ajn.bin@gmail.com>:
After installing frrouting: ./configure make make install
created a user+group 'frr' and gave access to the state and config files/direcotries as mentione in FRROUTING CONFIGURATION (following ./configure)
Looks like the service is not started and such '*quagga*' or '*frr*' services don't exist.
and '*vtysh*' gives: vtysh: error while loading shared libraries:* libfrr.so.0*: cannot open shared object file: No such file or directory
So how to start the routing daemons?
1) #### Located te library directory, and set the variable LD_LIBRARY_PATH accordingly LD_LIBRARY_PATH=/usr/local/lib # echo $LD_LIBRARY_PATH /usr/local/lib # export LD_LIBRARY_PATH 2) #### created a zebra config files from sample: cd /usr/local/etc # cp zebra.conf.sample zebra.conf 3) #### No more error messages, but the nothing happens neither when trying to start a process # cd /usr/local/sbin # zebra # # telnet 127.0.0.1 2601 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused 2017-05-31 9:54 GMT+02:00 AJ NOURI <ajn.bin@gmail.com>:
When trying to run any process in *'/usr/local/sbin' *the result is the same:
---
frr@frr:/$ ls /usr/local/sbin bgpd eigrpd frr frr-reload.py isisd ldpd nhrpd ospf6d ospfclient ospfd pimd rfptest ripd ripngd ssd watchfrr zebra
---
frr@frr:/usr/local/sbin$ bgpd bgpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ isisd isisd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ldpd ldpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ nhrpd nhrpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospf6d ospf6d: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfclient ospfclient: error while loading shared libraries: libfrrospfapiclient.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfd ospfd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ pimd pimd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory
I must have missed something during the installation, did I?
2017-05-30 15:14 GMT+02:00 AJ NOURI <ajn.bin@gmail.com>:
After installing frrouting: ./configure make make install
created a user+group 'frr' and gave access to the state and config files/direcotries as mentione in FRROUTING CONFIGURATION (following ./configure)
Looks like the service is not started and such '*quagga*' or '*frr*' services don't exist.
and '*vtysh*' gives: vtysh: error while loading shared libraries:* libfrr.so.0*: cannot open shared object file: No such file or directory
So how to start the routing daemons?
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. How did you start zebra? Did you use the zebra -d? If you started Zebra as a daemon check if you can see the process running: ps aux | grep zebra 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. Check out the troubleshooting section in the doc directory on github - Building_FRR_on_Debian8.md: https://github.com/FRRouting/frr/blob/master/doc/Building_FRR_on_Debian8.md Kind Regards Adam Fitzgerald On Wed, May 31, 2017 at 6:14 PM, AJ NOURI <ajn.bin@gmail.com> wrote:
1) #### Located te library directory, and set the variable LD_LIBRARY_PATH accordingly
LD_LIBRARY_PATH=/usr/local/lib # echo $LD_LIBRARY_PATH /usr/local/lib # export LD_LIBRARY_PATH
2) #### created a zebra config files from sample:
cd /usr/local/etc # cp zebra.conf.sample zebra.conf
3) #### No more error messages, but the nothing happens neither when trying to start a process
# cd /usr/local/sbin # zebra # # telnet 127.0.0.1 2601 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
2017-05-31 9:54 GMT+02:00 AJ NOURI <ajn.bin@gmail.com>:
When trying to run any process in *'/usr/local/sbin' *the result is the same:
---
frr@frr:/$ ls /usr/local/sbin bgpd eigrpd frr frr-reload.py isisd ldpd nhrpd ospf6d ospfclient ospfd pimd rfptest ripd ripngd ssd watchfrr zebra
---
frr@frr:/usr/local/sbin$ bgpd bgpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ isisd isisd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ldpd ldpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ nhrpd nhrpd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospf6d ospf6d: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfclient ospfclient: error while loading shared libraries: libfrrospfapiclient.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ ospfd ospfd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory frr@frr:/usr/local/sbin$ pimd pimd: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory
I must have missed something during the installation, did I?
2017-05-30 15:14 GMT+02:00 AJ NOURI <ajn.bin@gmail.com>:
After installing frrouting: ./configure make make install
created a user+group 'frr' and gave access to the state and config files/direcotries as mentione in FRROUTING CONFIGURATION (following ./configure)
Looks like the service is not started and such '*quagga*' or '*frr*' services don't exist.
and '*vtysh*' gives: vtysh: error while loading shared libraries:* libfrr.so.0*: cannot open shared object file: No such file or directory
So how to start the routing daemons?
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
participants (2)
-
Adam Fitzgerald -
AJ NOURI