OpenBGPD 0.5.2 unable to start
-
I'm trying to learn something about BGP. Right now I'm just newbie ;)
So, I have 2 VMs running with pfSense i386 2.0.1 and OpenBGPD 0.5.2.First of all, I had problem:
bgpctl: connect: /var/run/bgpd.sock: No such file or directory
so I solved this by simple:
touch /var/run/bgpd.sockNow I'm facing with:
bgpctl: connect: /var/run/bgpd.sock: Socket operation on non-socket
My configs:
node1# This file was created by the pfSense package manager. Do not edit! AS 1 fib-update yes holdtime 90 listen on 192.168.56.254 router-id 192.168.56.254 network 192.168.56.0/24 group "grupabgpLAN" { remote-as 2 neighbor 192.168.56.0/24 { descr "BGP on LAN" tcp md5sig password md5p@ssword tcp md5sig key md5hash announce all } } deny from any deny to any allow from 192.168.56.0/24 allow to 192.168.56.0/24
node2
# This file was created by the pfSense package manager. Do not edit! AS 2 fib-update yes holdtime 90 listen on 192.168.56.253 router-id 192.168.56.253 network 192.168.56.0/24 group "grupabgpLAN" { remote-as 1 neighbor 192.168.56.0/24 { descr "grupa-bgp-LAN" tcp md5sig password md5p@ssword tcp md5sig key md5hash announce all } } deny from any deny to any allow from 192.168.56.253 allow to 192.168.56.253
Probably something I did not understand..
-
Hi,
I ran into the same problem with OpenBGP not starting.
touch /var/run/bgpd.sock does not fix the issue, remove that file; rm /var/run/bgpd.sockThe problem is with the permissions on the config file. To fix this run
/var/etc/openbgpd/bgpd.confRestart and openbgp should start. I am going to try contact the package maintainer about this
-
I am facing the same problem , what do you mean by "run /var/etc/openbgpd/bgpd.conf" ?