OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: pmladenov on December 01, 2020, 08:24:32 am

Title: os-frr v1.17 is not able to start on 20.7.5 and 20.7.4
Post by: pmladenov on December 01, 2020, 08:24:32 am
Hello Community,

I'm having troubles with FRR (1.17) plugin installed on 20.7.4 and upgraded to 20.7.5.
It's not getting started, even with the zebra daemon only enabled:

The error message is:

root@OPNsense1:/usr/local/etc/rc.d # service frr start
Checking zebra.conf
2020/12/01 07:05:13 ZEBRA: [EC 4043309110] Disabling MPLS support (no kernel support)
OK
/usr/local/etc/rc.d/frr: WARNING: failed precmd routine for zebra
root@OPNsense1:/usr/local/etc/rc.d #


Since I'm playing with OpnSense literally from yesterday, I assume I'm not doing something right.
I simplified my setup as much as possible - default installation in a virtual machine (vmware workstation) with only os-frr pluging installed, vNIC dedicated for management interface (obtaining an IP address from DHCP server) and SSH daemon enabled.
Initially I tried it in more complex setup (different OpnSense VM) with sevaral VLAN interfaces, VTI IPSec tunnel, no firewalling (permit ip any any on all interfaces) with intention to use OSPF for dynamic routing, but I faced exactly the same issue with starting the service (of course, it's not started from the GUI either).
I assume it's something with the BSD startup scripts, because I can manually run zebra and ospfd daemons from a CLI and routing is working. Apparently that's not the way I would like to work.


Any help is appreciated!

Regards,
Plamen
Title: Re: os-frr v1.17 is not able to start on 20.7.5 and 20.7.4
Post by: mimugmail on December 01, 2020, 09:56:11 am
What happens after:

/usr/local/etc/rc.d/frr start

via CLI?
Title: Re: os-frr v1.17 is not able to start on 20.7.5 and 20.7.4
Post by: pmladenov on December 01, 2020, 10:14:34 am
We have different error message here:


root@OPNsense:~ # /usr/local/etc/rc.d/frr start
Checking zebra.conf
ld-elf.so.1: /usr/local/lib/libjson-c.so.5: version JSONC_0.14 required by /usr/local/sbin/zebra not defined
FAILED
root@OPNsense:~ #

Title: Re: os-frr v1.17 is not able to start on 20.7.5 and 20.7.4
Post by: pmladenov on December 01, 2020, 02:20:06 pm
Got it work.
It's some kind of order of operations - 20.7 -> install pluging -> update to 20.7.5 or 20.7 -> update -> install plugin, still not quite sure.
Title: Re: os-frr v1.17 is not able to start on 20.7.5 and 20.7.4
Post by: mimugmail on December 01, 2020, 02:29:44 pm
I could imagine you installed 20.7 and frr via CLI but just a guess