[ixpmanager] Birdseye Looking Glass error version.

Ikusan Charles Abimbola c.ikusan at ixp.net.ng
Thu Apr 23 04:54:40 IST 2020


Dear Barry/Team,

Kindly bear with me for not explaining in detailed.

I set up another machine that runs both Birdv2 and Birdseye and I 
followed the debugging steps from the manual to see what was working an 
not working.

root at ixp-manager:/srv/ixpmanager# curl -v 
http://196.216.148.190/api/status
* Trying 196.216.148.190...
* TCP_NODELAY set
* Connected to 196.216.148.190 (196.216.148.190) port 80 (#0)
 > GET /api/status HTTP/1.1
 > Host: 196.216.148.190
 > User-Agent: curl/7.58.0
 > Accept: */*
 >
< HTTP/1.1 404 Not Found
< Content-Type: text/html
< Content-Length: 345
< Date: Thu, 23 Apr 2020 02:16:58 GMT
< Server: lighttpd/1.4.45
<
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
   <title>404 - Not Found</title>
  </head>
  <body>
   <h1>404 - Not Found</h1>
  </body>
</html>
* Connection #0 to host 196.216.148.190 left intact


root at ixp-manager:/srv/ixpmanager# tail -f storage/logs/laravel.log
#58 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): 
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): 
Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), 
Object(Closure))
#60 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): 
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): 
Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), 
Object(Closure))
#62 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): 
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): 
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#64 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): 
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#65 /srv/ixpmanager/public/index.php(85): 
Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#66 {main}
"}


root at birdtest:/etc/bird# cat /srv/birdseye/version.php
<?php

$_ENV['BIRDSEYE_API_VERSION'] = '1.2.2';


root at birdtest:/etc/bird# ls -la /var/run/bird
total 0
drwxrwxr-x  2 bird bird  60 Apr 14 19:13 .
drwxr-xr-x 28 root root 940 Apr 23 01:47 ..
srw-rw----  1 bird bird   0 Apr 14 19:13 bird.ctl


root at birdtest:/srv/birdseye-1.2.0# ls -la /srv/birdseye-1.2.0/*env
-rw-r--r-- 1 root root 2894 Apr 23 03:39 
/srv/birdseye-1.2.0/birdseye-rs1-lan1-ipv4.env


root at birdtest:/srv/birdseye-1.2.0# cat /srv/birdseye-1.2.0/*env | egrep 
-v '(^#)|(^\s*$)'
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -2 -s 
/var/run/bird/rs1-lan1-ipv4.ctl"
CACHE_DRIVER=file
LOOKING_GLASS_ENABLED=true

root at birdtest:/srv/birdseye-1.2.0# /usr/sbin/birdc -s 
/var/run/bird/bird.ctl show status
BIRD 2.0.7 ready.
BIRD 2.0.7
Router ID is 198.51.100.2
Current server time is 2020-04-23 03:50:20
Last reboot on 2020-04-14 19:13:44
Last reconfiguration on 2020-04-23 03:10:03
Daemon is up and running


root at birdtest:/srv/birdseye-1.2.0# netstat -lpn | grep lighttpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               
LISTEN      22977/lighttpd
unix  2      [ ACC ]     STREAM     LISTENING     3755379  22978/php-cgi 
        /var/run/lighttpd/php.socket-0

https://pastebin.ibn.ie/?4e784b3779dc96f3#7vTGoVDAeBJCnvLzQkfZoRNRoDkNuEBCkqUAL2D7eB4X

------ Original Message ------
From: "Barry O'Donovan" <barry.odonovan at inex.ie>
To: "INEX IXP Manager Users Mailing List" <ixpmanager at inex.ie>; "Ikusan 
Charles" <c.ikusan at ixp.net.ng>
Sent: 15-Apr-20 12:09:18 AM
Subject: Re: [ixpmanager] Birdseye Looking Glass error version.

>
>
>Nick Hilliard (INEX) wrote on 14/04/2020 23:49:
>>Ikusan Charles wrote on 14/04/2020 23:17:
>>>I followed your advice by using different vm for bird2 and ixpmanager but can't get the birdseye working.
>>>
>>>I will appreciate if anyone could assist.
>>
>>Hi Charles,
>>
>>Can you check out the paragraph entitled "The Best Way to Ask for Help" at https://www.ixpmanager.org/support?
>
>Also, I previously provided this link:
>
>https://docs.ixpmanager.org/features/looking-glass/#debugging
>
>which asks anyone with issues to:
>
>>email the IXP Manager mailing list with the output of all of the following commands from both sections.
>
>
>  - Barry
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200423/317ab2fe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41p24m52.png
Type: image/png
Size: 21357 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200423/317ab2fe/attachment-0001.png>


More information about the ixpmanager mailing list