[ixpmanager] Assistance with Birdseye and HTTP 500 Error

Michel Blais michel.blais.qc at gmail.com
Sat Apr 26 13:26:25 IST 2025


Thanks Barry,

I was confused between the binary and the wrapper since they both have the
same name and are both in a directory called bin.

Thanks for pointing that out. I still get an error 500 but I will try to
figure it out with the debugging documentation and if I can't figure it
out, write back with all the needed information indicated in the doc.

Thanks again.

Le jeu. 24 avr. 2025 à 07:01, Barry O'Donovan (INEX) <barry.odonovan at inex.ie>
a écrit :

>
> 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
>


-- 
Cordialement, / With regards,

Michel Blais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20250426/b75b3697/attachment.htm>


More information about the ixpmanager mailing list