• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

OpenBGPD 0.5.2 unable to start

Scheduled Pinned Locked Moved pfSense Packages
3 Posts 3 Posters 3.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    toomeek
    last edited by Apr 21, 2012, 2:28 PM Apr 21, 2012, 2:26 PM

    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.sock

    Now 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..

    1 Reply Last reply Reply Quote 0
    • P
      pfinch
      last edited by Sep 12, 2012, 9:35 AM

      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.sock

      The problem is with the permissions on the config file. To fix this run
      /var/etc/openbgpd/bgpd.conf

      Restart and openbgp should start. I am going to try contact the package maintainer about this

      1 Reply Last reply Reply Quote 0
      • P
        parsalog
        last edited by Oct 3, 2012, 6:40 PM

        I am facing the same problem , what do you mean by "run /var/etc/openbgpd/bgpd.conf" ?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received