mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-04 22:48:02 +00:00
Merge pull request #505 from adamfitz/stable/2.0
added troubleshooting section to debian 8 build doc
This commit is contained in:
commit
291012893e
@ -99,3 +99,34 @@ other settings)
|
||||
net.ipv6.conf.all.forwarding=1
|
||||
|
||||
**Reboot** or use `sysctl -p` to apply the same config to the running system
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
**Local state directory**
|
||||
|
||||
The local state directory must exist and have the correct permissions applied
|
||||
for the frrouting daemons to start. In the above ./configure example the
|
||||
local state directory is set to /var/run/frr (--localstatedir=/var/run/frr)
|
||||
Debian considers /var/run/frr to be temporary and this is removed after a
|
||||
reboot.
|
||||
|
||||
When using a different local state directory you need to create the new
|
||||
directory and change the ownership to the frr user, for example:
|
||||
|
||||
mkdir /var/opt/frr
|
||||
chown frr /var/opt/frr
|
||||
|
||||
**Shared library error**
|
||||
|
||||
If you try and start any of the frrouting daemons you may see the below error
|
||||
due to the frrouting shared library directory not being found:
|
||||
|
||||
./zebra: error while loading shared libraries: libfrr.so.0: cannot open shared object file: No such file or directory
|
||||
|
||||
The fix is to add the following line to /etc/ld.so.conf which will continue to
|
||||
reference the library directory after the system reboots. To load the library
|
||||
directory path immediately run the ldconfig command after adding the line to
|
||||
the file eg:
|
||||
|
||||
echo include /usr/local/lib >> /etc/ld.so.conf
|
||||
ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user