systemctl doesn't specify the syntax error during service restart/reload in bird version 2

Jimmy Lim jhalim10 at gmail.com
Wed Jul 5 09:19:40 CEST 2023


Hi guys,

I have just upgraded the bird version to version 2. I just wonder whether
there is anything we should configure for systemd to notify us of a syntax
error in bird.conf while doing systemctl reload/restart bird?

It is no longer informing me somehow now.

# systemctl reload bird
#

# systemctl restart bird
Job for bird.service failed because the control process exited with error
code.
See "systemctl status bird.service" and "journalctl -xe" for details.
# systemctl status bird.service
● bird.service - BIRD Internet Routing Daemon
   Loaded: loaded (/lib/systemd/system/bird.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2023-07-05 07:15:25 UTC; 9s
ago
  Process: 71401 ExecStartPre=/usr/lib/bird/prepare-environment
(code=exited, status=0/SUCCESS)
  Process: 71409 ExecStartPre=/usr/sbin/bird -p (code=exited,
status=1/FAILURE)

Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session1: State changed to
down
Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session1: Channel ipv4 removed
Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session2: State changed to
down
Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session2: Channel ipv4 removed
Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session3: State changed to
down
Jul 05 07:15:25 n246-040-093 bird[27010]: BGP_session3: Channel ipv4 removed
Jul 05 07:15:25 n246-040-093 bird[27010]: Shutdown completed
Jul 05 07:15:25 n246-040-093 systemd[1]: bird.service: Control process
exited, code=exited, status=1/FAILURE
Jul 05 07:15:25 n246-040-093 systemd[1]: bird.service: Failed with result
'exit-code'.
Jul 05 07:15:25 n246-040-093 systemd[1]: Failed to start BIRD Internet
Routing Daemon.

It is only when I manually enable, it triggers the error line:
# /usr/sbin/bird -f -u bird -g bird
bird: /etc/bird/bird.conf:4:1 syntax error, unexpected CF_SYM_UNDEFINED

I wonder whether I need to configure anything for BIRD 2?

Thanks,
Jimmy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230705/3faa2d5f/attachment.htm>


More information about the Bird-users mailing list