Closed vijayqwe closed 2 weeks ago
This is a sysadmin question, not an exabgp issue. I appreciate that it prevents you from doing what you want, but this is not something I can "fix". It is probably an issue with the current working directory, path and/or env. I wish you good luck in debugging it.
If you are generous, please help us with the Wiki and provide a page for other users which may encounter the same challenge as you do.
Thanks thomas for the response. let me check from my end . do you have any sample systemd config with trigger exabgp and python script inside exabgp to announce route.
Thomas after modifying systemd config file exabgp.service like below it worked. Thanks again.
[Unit] Description=ExaBGP Documentation=man:exabgp(1) Documentation=man:exabgp.conf(5) Documentation=https://github.com/Exa-Networks/exabgp/wiki After=network.target
[Service] User=cisco Group=cisco Environment=exabgp_daemon_daemonize=false PermissionsStartOnly=true ExecStart=/usr/local/bin/exabgp /tmp/blk/exabgp.conf ExecReload=/bin/kill -USR1 $MAINPID Restart=always CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
[Install] WantedBy=multi-user.target
thanks
Here is the config file :
Systemd config: