Description:
When you run the command in the linux shell vtysh to connect to the quagga daemons (such as bgpd, ospfd, etc) returns the following error "Exiting: failed to connect to any daemons"
Just like this:
alejandro @ miserver: ~ $ vtysh -d bgpd
Exiting: failed to connect to any daemons.
alejandro @ miserver: ~ $ vtysh
Exiting: failed to connect to any daemons.
Solution:
The solution is to add the user that is executing vtysh to the quagga group. To do this edit the /etc/group file.
After editing /etc/group should be something like:
quagga:x:1003:alejandro
You can specify multiple users doing:
quagga:x:1003:alejandro, john
This is necessary because vtysh tries to connect to the daemons using UNIX domain sockets and not all users (for security reasons) have access to these sockets.
Another solution:
Another solution might be during the compilation phase where you can specify the linux/unix group for sockets mentioned above. Example:
./configure --enable-vty-group = group
Good luck, I hope this helped,
Site dedicated mainly to internetworking. The goal is to share experiences, teach IP, IPv6. Talk about Linux, IP services, servers, promote IPv6 adoption, routing protocols, security and in some cases just some thoughts. Keywords: linux, cisco, ospf, bgp, eigrp, ip, ipv6, sla, link, routers, routings, telco, telecommunications, security, ipv4
Showing posts with label quagga. Show all posts
Showing posts with label quagga. Show all posts
Tuesday, February 17, 2015
Subscribe to:
Posts (Atom)