Exa-Networks / exabgp

The BGP swiss army knife of networking
Other
2.07k stars 443 forks source link

Not able to start ExaBGP - directly as well as service #1105

Closed hkaur-hsc closed 2 years ago

hkaur-hsc commented 2 years ago

Pip install exaBGP - and created the /etc/exabgp/exabgp.conf and /etc/exabgp/exabgp.env. When starting exaBGP, i encounter a failure. Following is the dump

root@p4cont:~# sudo systemctl start exabgp
root@p4cont:~# sudo systemctl status exabgp
● exabgp.service - ExaBGP
   Loaded: loaded (/lib/systemd/system/exabgp.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2022-07-14 12:27:52 UTC; 6s ago
     Docs: man:exabgp(1)
           man:exabgp.conf(5)
           https://github.com/Exa-Networks/exabgp/wiki
  Process: 16381 ExecStart=/usr/sbin/exabgp /etc/exabgp/exabgp.conf (code=exited, status=217/USER)
  Process: 16380 ExecStartPre=/usr/bin/mkfifo /run/exabgp/exabgp.out (code=exited, status=217/USER)
  Process: 16379 ExecStartPre=/usr/bin/mkfifo /run/exabgp/exabgp.in (code=exited, status=217/USER)
 Main PID: 16381 (code=exited, status=217/USER)

Jul 14 12:27:52 p4cont systemd[1]: exabgp.service: Failed with result 'exit-code'.
Jul 14 12:27:52 p4cont systemd[1]: exabgp.service: Service hold-off time over, scheduling restart.
Jul 14 12:27:52 p4cont systemd[1]: exabgp.service: Scheduled restart job, restart counter is at 5.
Jul 14 12:27:53 p4cont systemd[1]: Stopped ExaBGP.
Jul 14 12:27:53 p4cont systemd[1]: exabgp.service: Start request repeated too quickly.
Jul 14 12:27:53 p4cont systemd[1]: exabgp.service: Failed with result 'exit-code'.
Jul 14 12:27:53 p4cont systemd[1]: Failed to start ExaBGP.

Version info:

ExaBGP version : 4.0.2-1c737d99
Python version : 3.6.9 (default, Mar 15 2022, 13:55:28)  [GCC 8.4.0]
System Uname   : #199-Ubuntu SMP Wed Jun 15 20:42:56 UTC 2022
System MaxInt  : 9223372036854775807
thomas-mangin commented 2 years ago

This is not an exabgp bug (this is an how-to use question), and it is was you did not provide the information requested so I can not help.

journalctl -xe exabgp may show you why exabgp failing to start (I can not recall the exact syntax from the top of my head). Most likely as you do not have a valid configuration file. It has been years I have not been actively administrating Linux servers, so good luck.

thomas-mangin commented 2 years ago

You could try to ask on Slack if someone can help you.