<html theme="themeKey88rand710" iconset="monochrome"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000">Hi Paul,<br>
<br>
<span>Paul Emmons via ixpmanager wrote on 11/04/2022 03:00:</span><br>
<blockquote type="cite"
cite="mid:4fce0142-403b-4880-0c97-c0543161bf18@ninja-ix.net">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p><font face="monospace">I'm trying to get Birdseye deployed On
Ubuntu 20.02 LTS. Got lighttpd responding but having an issue
getting birdseye running.</font></p>
<p><font face="monospace"><b>I am getting access restricted when I
run from command line:<br>
</b></font></p>
<p><font face="monospace">root@ric-as112:/srv/birdseye#
/usr/bin/sudo /srv/birdseye/bin/birdc -2 -s
/var/run/bird/bird-ric-as112-ipv4.ctl ?<br>
BIRD 2.0.7 ready.<br>
Access restricted<b><br></b></font></p>
</blockquote>
<br>
"Access restricted" is expected as Birdseye runs the birdc command in
restricted mode (read only) as a security measure.<br>
<br>
<blockquote type="cite"
cite="mid:4fce0142-403b-4880-0c97-c0543161bf18@ninja-ix.net">
<p><font face="monospace"><b>
</b></font></p>
<p><font face="monospace"><b>Do I need to setup a cache key?</b></font></p>
</blockquote>
<br>
No.<br>
<br>
<blockquote type="cite"
cite="mid:4fce0142-403b-4880-0c97-c0543161bf18@ninja-ix.net">
<p><b><font face="monospace">Cant pull up the api:</font></b></p>
<p><font face="monospace">curl -v
<a class="moz-txt-link-freetext"
href="http://as112.ric.nix-ops.net/api/status" moz-do-not-send="true">http://as112.ric.nix-ops.net/api/status</a><br></font></p>
</blockquote>
<br>
<blockquote type="cite"
cite="mid:4fce0142-403b-4880-0c97-c0543161bf18@ninja-ix.net">
<p><font face="monospace">< HTTP/1.1 500 Internal Server Error<br>
</font></p>
</blockquote>
<br>
Okay, so 500 from the web server is what we need to track down. Looking
at your env:<br>
<br>
<blockquote type="cite"
cite="mid:4fce0142-403b-4880-0c97-c0543161bf18@ninja-ix.net">
<p><font face="monospace">
# To query Bird securely, we use a wrapper script<br>
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -2 -s
/usr/local/etc/bird"<br>
<br></font></p>
</blockquote>
<br>
Your -s here looks wrong. It should be the full path and name of your
socket. E.g.<br>
<br>
<span style="font-family: monospace;">BIRDC="/usr/bin/sudo
/srv/birdseye/bin/birdc -2 -s /var/run/bird/bird-rc1-lan1-ipv4.ctl"</span><br>
<br>
<br>
- Barry<br>
<br>
<br>
<div class="moz-signature">-- <br><br>
Kind regards,
<br>
Barry O'Donovan
<br>
INEX <br>
<br>
<a class="moz-txt-link-freetext" href="https://www.inex.ie/support/">https://www.inex.ie/support/</a>
<br>
+353 1 531 3339<br>
<br>
<br>
</div>
</body></html>