inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.
https://www.ixpmanager.org/
GNU General Public License v2.0
375 stars 160 forks source link

Collector Startup Failure After Upgrade to Version 6.4.0 #895

Closed elias0311 closed 4 months ago

elias0311 commented 4 months ago

This report details an issue with the route collector failing to start after upgrading to IXP Manager version 6.4.0. Despite updating the provisioning script, the route collector still encounters an error preventing its startup.

Error Message:

ERROR: /usr/sbin/bird was not running for /etc/bird/bird-rc1-lan1-ipv4.conf.1550 and could not be started Analysis:

While the configuration files in the /etc/bird/ directory have been downloaded successfully, it appears there is a configuration issue preventing the bird service from starting using these configurations. This issue is specific to the route collector and does not affect the route-servers, which are functioning as expected.

barryo commented 4 months ago

Hi @elias0311 - can you provide the output of:

bird --version
bird -c test.conf -p

and then the configuration around the lines it complains about?

elias0311 commented 4 months ago

Hi @barryo

bird --version BIRD version 2.0.7

bird -c test.conf -p bird: Unable to open configuration file test.conf: No such file or directory

Instance for rc1-lan1-ipv4: Lock:LOCKED Config:DOWNLOADED Reconfig:ERROR: /usr/sbin/bird was not running for /etc/bird/bird-rc1-lan1-ipv4.conf.19932 and could not be started Instance for rc1-lan1-ipv6: Lock:LOCKED Config:DOWNLOADED Reconfig:ERROR: /usr/sbin/bird was not running for /etc/bird/bird-rc1-lan1-ipv6.conf.19932 and could not be started

barryo commented 4 months ago

@elias0311 - please replace test.conf with the appropriate configuration file for you.

E.g. if /etc/bird/bird-rc1-lan1-ipv4.conf.1550 still exists:

bird -c /etc/bird/bird-rc1-lan1-ipv4.conf.1550 -p
elias0311 commented 4 months ago

@barryo

bird -c /etc/bird/bird-rc1-lan1-ipv4.conf.19932 -p no showing error but when i try to connect to bird with socket say connection refused

birdc -s /var/run/bird/bird-rc1-lan1-ipv4.ctl Unable to connect to server control socket (/var/run/bird/bird-rc1-lan1-ipv4.ctl): Connection refused

nickhilliard commented 4 months ago

@elias0311 this looks like a configuration problem rather than a bug. Can you take the issue to the ixpmanager users mailing list:

https://www.ixpmanager.org/support/mailing-lists

barryo commented 4 months ago

bird -c /etc/bird/bird-rc1-lan1-ipv4.conf.19932 -p no showing error but when i try to connect to bird with socket say connection refused

Is there any output? What is the return code (echo $?)?

What happens if you try to run it manually:

/usr/sbin/bird -c /etc/bird/bird-rc1-lan1-ipv4.conf.19932 -s /var/run/bird/bird-rc1-lan1-ipv4.ctl
elias0311 commented 4 months ago

What happens if you try to run it manually:

/usr/sbin/bird -c /etc/bird/bird-rc1-lan1-ipv4.conf.19932 -s /var/run/bird/bird-rc1-lan1-ipv4.ctl Nothing happend, bird still not running

barryo commented 4 months ago

@elias0311 I think you need to engage someone with Linux command line skills locally to help you diagnose this as it does not seem like an IXP Manager issue.