[FROG] frr doesn't start on Freeebsd

Donald Sharp sharpd at cumulusnetworks.com
Thu Jun 15 20:09:01 EDT 2017


Dimitrios -

When I build FRR, I specify 3 things:

1) Location of config files
   /etc/frr/XXX

2) Location of directory for Runtime files
   /var/run/frr/

3) Location of log directory
  /var/log/frr

Now I do not know what your configure line was, but please make sure
that these 3 locations that you have specified actually exist and are
owned by frr and the group frr.

thanks!

donald

On Thu, Jun 15, 2017 at 11:16 AM, Dimitris Kalogeras
<D.Kalogeras at noc.ntua.gr> wrote:
> Hi Donald,
>
> which version of frr have you built and use  (stable/2.0 or stable 3.0) ?
> I have tried multiple alternatives but in vain.
> When i fire up zebra, bgpd ospfd ripd there is no message either in the
> Stdout or syslog.
> so when I try:
>
> root at router-test2:~ #  zebra -A 127.0.0.1
> root at router-test2:~ # ripd -A 127.0.0.1
> root at router-test2:~ # ospfd -A 127.0.0.1
> root at router-test2:~ # vtysh
> Exiting: failed to connect to any daemons
>
> or
>
> root at router-test2:~ # ospfd -d -A 127.0.0.1
> root at router-test2:~ # zebra -d -A 127.0.0.1
> root at router-test2:~ # vtysh
> Exiting: failed to connect to any daemons.
>
> Is there any debugging switch which I can turn it on ?
>
> Cheers,
> Dimitris
>
>
>
> Στις 14/06/2017 19:53, Donald Sharp έγραψε:
>>
>> Dimitris -
>>
>> Have you started any of the frr daemons?  In general, you need to
>> start zebra + whatever other routing daemons you want to use.
>>
>> In my case it's:
>> /usr/lib/frr/zebra --daemon -A 127.0.0.1
>> /usr/lib/frr/bgpd --daemon -A 127.0.0.1
>> /usr/lib/frr/pimd --daemon -A 127.0.0.1
>>
>> Then connect with vtysh.
>>
>> donald
>>
>> On Wed, Jun 14, 2017 at 12:48 PM, Dimitris Kalogeras
>> <D.Kalogeras at noc.ntua.gr> wrote:
>>>
>>> Hi to all of you,
>>>
>>> I am trying to establish an initial setup of FRR on a freebsd box.
>>> I have followed the instructions on
>>>
>>> https://github.com/FRRouting/frr/blob/master/doc/Building_FRR_on_FreeBSD11.md
>>> .
>>> The software was built tested and installed without any problems.
>>>
>>> However when I try to  run vtysh or vtysh -b,  I receive  exiting: failed
>>> to
>>> connect to any daemons.
>>> How do I initialize daemons ? Is there any script ?
>>>
>>> All of my configuration files are in /usr/local/etc/frr.
>>>
>>> What is the proper sequence of commands ?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>>
>>>
>>> [root at router-test2 /usr/local/etc/frr]# ls -l
>>> total 56
>>> -rw-r--r--  1 frr  frr      655 Jun 14 20:11 babeld.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 bgpd.conf
>>> -rw-r--r--  1 frr  frr      622 Jun 14 20:11 bgpd.conf.sample
>>> -rw-r--r--  1 frr  frr     2801 Jun 14 20:11 bgpd.conf.sample2
>>> -rw-r--r--  1 frr  frr     1889 Jun 14 20:11 bgpd.conf.vnc.sample
>>> -rw-r--r--  1 frr  frr      186 Jun 14 20:11 eigrpd.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 19:58 frr.conf
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 isisd.conf
>>> -rw-r--r--  1 frr  frr      789 Jun 14 20:11 isisd.conf.sample
>>> -rw-r--r--  1 frr  frr      650 Jun 14 20:11 ldpd.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 ospf6d.conf
>>> -rw-r--r--  1 frr  frr     1110 Jun 14 20:11 ospf6d.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 ospfd.conf
>>> -rw-r--r--  1 frr  frr      182 Jun 14 20:11 ospfd.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 pimd.conf
>>> -rw-r--r--  1 frr  frr      939 Jun 14 20:11 pimd.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 ripd.conf
>>> -rw-r--r--  1 frr  frr      406 Jun 14 20:11 ripd.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 ripngd.conf
>>> -rw-r--r--  1 frr  frr      390 Jun 14 20:11 ripngd.conf.sample
>>> -rw-r-----  1 frr  frrvty     0 Jun 14 20:12 vtysh.conf
>>> -rw-r--r--  1 frr  frr      128 Jun 14 20:11 vtysh.conf.sample
>>> -rw-r-----  1 frr  frr        0 Jun 14 20:12 zebra.conf
>>> -rw-r--r--  1 frr  frr      369 Jun 14 20:11 zebra.conf.sample
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Χαιρετισμούς,
>>>
>>> Δημήτρης Καλογεράς
>>> Ερευνητής Β' ΕΠΙΣΕΥ
>>>
>>> --
>>> Dimitrios K. Kalogeras
>>>
>>> Electrical Engineer Ph.D.
>>> Network Engineer
>>> NTUA/ICCS
>>>  _____________________________________
>>>  skype: aweboy
>>>  voice: +30-210-772 1863
>>>  fax: +30-210-772 1866
>>>
>>> _______________________________________________
>>> frog mailing list
>>> frog at lists.frrouting.org
>>> https://lists.frrouting.org/listinfo/frog
>
>
> --
> Χαιρετισμούς,
>
> Δημήτρης Καλογεράς
> Ερευνητής Β' ΕΠΙΣΕΥ
>
> --
> Dimitrios K. Kalogeras
>
> Electrical Engineer Ph.D.
> Network Engineer
> NTUA/ICCS
>  _____________________________________
>  skype: aweboy
>  voice: +30-210-772 1863
>  fax: +30-210-772 1866



More information about the frog mailing list