Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piranha not starting #17

Open
Cinderella-Man opened this issue Feb 9, 2023 · 0 comments
Open

Piranha not starting #17

Cinderella-Man opened this issue Feb 9, 2023 · 0 comments

Comments

@Cinderella-Man
Copy link

Hello,

I'm trying to run piranha(v1.1.4) on Ubuntu, but I'm getting the following error on start:

$ sudo /opt/piranha/bin/piranhactl start
piranha start: socket error, aborting

I tried to reconfigure the piranha to be in debug and verbose mode:

./configure --debug --verbose
make
sudo make install

but this doesn't give me any additional information(I checked the Piranha's code and there should be plenty of debug info)

What am I doing wrong?

Here's my config file:

# Piranha BGP Daemon configuration file
#
# [local_as]
# Local autonmous system number

local_as 64512


# [local_ip]
# Local IP Address to listen on.
# must be set in order to work.
# if you do not want to support ipv4 or ipv6
# comment the local_ipX out.

local_ip4 127.0.0.1
local_ip6 fe80::1


# [local_port] (default:179)
# Local port in which you want to listen().

local_port4 179
local_port6 179


# [export] (default: none)
# choose which route attributes to export
# in dump files

export origin
export aspath
export community
export extcommunity
#export largecommunity


# [bgp_router_id]
# BGP Router identifier, MUST be set to something else
# than 0.0.0.0 !

bgp_router_id 127.0.0.1


# [user]

user nobody


# [neighbor]
# neighbors/peers definition
# neighbor <ip4|ipv6> <ASN> [optional password]

neighbor 127.0.0.1 65002

I'm starting a GoBGP in a docker with a config file in the working directory from where I'm starting docker:

docker run --rm -it -v $(pwd):/config jauderho/gobgp:latest

The config file needs to be called gobgp.toml and contain:

[global.config]
  as = 65002
  router-id = "192.168.255.1"

[[neighbors]]
  [neighbors.config]
    neighbor-address = "172.17.0.1"
    peer-as = 64512

Any help would be heavily appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant