[ixpmanager] Assistance with Birdseye and HTTP 500 Error
Barry O'Donovan (INEX)
barry.odonovan at inex.ie
Thu Apr 24 12:01:42 IST 2025
Hi Michel,
>I'm new to IXP manager and would need help with birdseye.
Welcome!
Did you see the debugging section at:
https://docs.ixpmanager.org/latest/features/looking-glass/#debugging
And can you run through this providing the output along the way?
Other notes:
>Initially tried version 2.0 with PHP 8.2 from the Debian repository
This should probably have worked? But:
>Then installed PHP 8.3 from the sury.org repository and tried Birdseye
>2.1
>Also tried PHP 8.4 briefly but encountered many deprecated warnings in
>the Lighttpd logs, so I reverted to 8.3
2.1 is a better choice; depreciation warnings can be ignored (and turned
off).
>My .env file for the route server looks like this:
>cat birdseye-rs1-cabId-dcName-ipv4.env
>IRDC="/usr/bin/sudo /usr/local/sbin/birdc -s
>/var/run/bird/bird-rs1-cabId-dcName-ipv4.ctl"
Why are you calling birdc directly? You should be using the wrapper
script (or a modified version of it if necessary) as supplied in the
Birdseye bin/ directory. This ensures birdc is run in restricted
(read-only) mode.
(Preumably you cut the ‘B’ from the start of the above line when pasting
also).
>The www-data user is able to successfully run Bird commands via the
>CLI:
>su -l www-data -s /bin/bash
>/usr/bin/sudo /usr/local/sbin/birdc -s
>/var/run/bird/bird-rs1-cabId-dcName-ipv4.ctl "show status”
You need to do this with the wrapper script.
>but I had to remove the "-2" because this option doesn't seem to be
>supported anymore in bird 2.17.
-2 is not a bircd parameter but a wrapper script parameter:
# parameter $1: either -4 or -6 to chose between birdc and birdc6, or -2
for Bird v2
- Barry
More information about the ixpmanager
mailing list