ingress-controller-external-example icon indicating copy to clipboard operation
ingress-controller-external-example copied to clipboard

Cannot start bird due to syntax error.

Open debendraoli opened this issue 3 years ago • 6 comments

Got this strange error while staring bird. Do I need anything else to intsall ?

BIRD version: 2.0.8
OS: Arch Linux

Systemd logs:

Starting BIRD routing daemon...
/etc/bird.conf:18:5 syntax error, unexpected IMPORT
bird: /etc/bird.conf:18:5 syntax error, unexpected IMPORT
bird.service: Control process exited, code=exited, status=1/FAILURE
bird.service: Failed with result 'exit-code'.
Failed to start BIRD routing daemon.

debendraoli avatar Feb 21 '22 16:02 debendraoli

I'm not too sure, the import keyword has been there since version 1.6. Possibly, there is an invisible character? A Windows-style line ending?

NickMRamirez avatar Feb 21 '22 19:02 NickMRamirez

I don't think it is, probably my bird version I am using likly compiled with ipv6 support.

debendraoli avatar Feb 22 '22 02:02 debendraoli

Having the same problem and there's no DOS line ending. The syntax in this example refers to Bird version 1.x Bird 2.x requires a different syntax. I can create a PR to get this addressed. Shall I?

wrkode avatar Feb 05 '23 13:02 wrkode

@wrkode Thank you! This repo contains only examples shown on our blog, but if you share your example code, I can update the blog post and documentation.

NickMRamirez avatar Feb 06 '23 14:02 NickMRamirez

I was able to fix this actually. I have to change the whole bird conf syntax.

I did implement this on my home server.

I can help if needed.

debendraoli avatar Feb 06 '23 18:02 debendraoli

We have updated the documentation to indicate that we support only the BIRD 1.x syntax.

NickMRamirez avatar Apr 24 '23 14:04 NickMRamirez