Question

vtysh Exiting: failed to connect to any daemons.

  • 29 May 2019
  • 4 replies
  • 388 views

Hi!

Does anyone experience same issue as mine when I use sudo vtysh I am experiencing an error "Exiting: failed to connect to any daemons."

Thanks

4 replies

Userlevel 4
@cathy-chan have you enabled the zebra daemon and either the bgpd or ospf(6)d daemons in the /etc/frr/daemons file? I see this error when nothing is enabled.
Userlevel 5
Or when Sudo is not called in front of the vtysh command.
Thanks everyone! Ill check this tomorrow but to note I did use the sudo vtysh. 🙂

Thank you!
1- enable Zebra, and other protocols you want,
#sudo nano /etc/frr/daemons
edit it by enable zebra=yes bgpd=yes ...

2- restart frr service
# sudo systemctl restart frr.services

3- run vtysh or any frr services,
# sudo vtysh

Reply