<div dir="ltr"><div dir="ltr"><div>Hello team,</div><div><br></div><div>Need your assistance in setting up LG; The platform is testing, not production one.</div><div>IXP manager Ubuntu 16.04.6 LTS built from scripts; RS Ubuntu 18.04.2 LTS uses bird 2.0.4 | birdeye 1.1.4</div><div>All the VMs are freshly installed;</div><div><br></div><div>*********************************</div><div><br></div><div>mysql> SELECT * FROM routers WHERE id = 1\G</div><div>*************************** 1. row ***************************</div><div>          id: 1</div><div>     vlan_id: 1</div><div>      handle: rs1-lan1-ipv4</div><div>    protocol: 4</div><div>        type: 1</div><div>        name: IXP LAN1 - IPv4</div><div>   shortname: RS1 - LAN1 - IPv4</div><div>   router_id: 10.81.15.49</div><div>  peering_ip: 10.81.15.49</div><div>         asn: 64540</div><div>    software: 1</div><div>   mgmt_host: 10.81.5.49</div><div>         api: <a href="http://rs1-lan1-ipv4.litix.lt/api/status">http://rs1-lan1-ipv4.litix.lt/api/status</a></div><div>    api_type: 1</div><div>   lg_access: 0</div><div>  quarantine: 0</div><div>      bgp_lc: 0</div><div>    template: api/v4/router/server/bird/standard</div><div>    skip_md5: 1</div><div>last_updated: NULL</div><div>1 row in set (0.00 sec)</div><div><br></div><div>*****************************************</div><div><br></div><div>vvle@IXP-Manager-T72:~$ ping <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> -c 1</div><div>PING <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> (10.81.5.49) 56(84) bytes of data.</div><div>64 bytes from <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> (10.81.5.49): icmp_seq=1 ttl=62 time=1.43 ms</div><div><br></div><div>--- <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> ping statistics ---</div><div>1 packets transmitted, 1 received, 0% packet loss, time 0ms</div><div>rtt min/avg/max/mdev = 1.432/1.432/1.432/0.000 ms</div><div><br></div><div>******************************************</div><div><br></div><div>vvle@IXP-Manager-T72:~$ dig +short <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a></div><div>vvle@IXP-Manager-T72:~$</div><div><br></div><div>I've added static entry in /etc/hosts;</div><div>10.81.5.49      <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a></div><div><br></div><div>*******************************************</div><div><br></div><div>vvle@IXP-Manager-T72:~$ curl -v <a href="http://rs1-lan1-ipv4.litix.lt/api/status">http://rs1-lan1-ipv4.litix.lt/api/status</a></div><div>*   Trying 10.81.5.49...</div><div>* Connected to <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> (10.81.5.49) port 80 (#0)</div><div>> GET /api/status HTTP/1.1</div><div>> Host: <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a></div><div>> User-Agent: curl/7.47.0</div><div>> Accept: */*</div><div>></div><div>< HTTP/1.1 200 OK</div><div>< Cache-Control: no-cache</div><div>< Content-Type: application/json</div><div>< Date: Mon, 01 Apr 2019 15:44:22 GMT</div><div>< Content-Length: 168</div><div>< Server: lighttpd/1.4.45</div><div><</div><div>* Connection #0 to host <a href="http://rs1-lan1-ipv4.litix.lt">rs1-lan1-ipv4.litix.lt</a> left intact</div><div>{"api":{"from_cache":true,"ttl_mins":1,"version":"1.1.4","max_routes":1000},"status":{"version":"2.0.4","router_id":"10.81.15.49","message":"Daemon is up and running"}}vvle@IXP-Manager-T72:~$</div><div><br></div><div>*********************************************</div><div>/srv/ixpmanager/storage/logs/laravel.log</div><div>[2019-04-01 17:11:17] production.ERROR: file_get_contents(<a href="http://rs1-lan1-ipv4.litix.lt/api/status/status?use_cache=0">http://rs1-lan1-ipv4.litix.lt/api/status/status?use_cache=0</a>): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found</div><div> {"exception":"[object] (ErrorException(code: 0): file_get_contents(<a href="http://rs1-lan1-ipv4.litix.lt/api/status/status?use_cache=0">http://rs1-lan1-ipv4.litix.lt/api/status/status?use_cache=0</a>): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found</div><div> at /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php:104)</div><div>[stacktrace]</div><div>*********************************************</div><div>vvle@rs2-1804:~$ ls -la /usr/var/run</div><div>total 8</div><div>drwxr-xr-x 2 root root 4096 Apr  1 17:08 .</div><div>drwxr-xr-x 3 root root 4096 Mar 29 11:15 ..</div><div>srw-rw---- 1 root root    0 Apr  1 17:08 bird.ctl</div><div>vvle@rs2-1804:~$</div><div>*********************************************</div><div>vvle@rs2-1804:~$ ls -la /srv/birdseye/</div><div>-rw-r--r--  1 root     root       2884 Apr  1 16:12 .env</div><div>*********************************************</div><div>vvle@rs2-1804:~$ sudo cat /srv/birdseye/.env | egrep -v '(^#)|(^\s*$)'</div><div>BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -4 -s /usr/var/run/bird.ctl"</div><div>CACHE_DRIVER=file</div><div>LOOKING_GLASS_ENABLED=true</div><div>*********************************************</div><div>vvle@rs2-1804:~$ sudo /usr/sbin/birdc -s /usr/var/run/bird.ctl show status</div><div>BIRD 2.0.4 ready.</div><div>BIRD 2.0.4</div><div>Router ID is 10.81.15.49</div><div>Current server time is 2019-04-01 17:16:47.706</div><div>Last reboot on 2019-04-01 17:08:47.929</div><div>Last reconfiguration on 2019-04-01 17:08:47.929</div><div>Daemon is up and running</div><div>**********************************************</div><div>vvle@rs2-1804:~$ sudo cat /etc/sudoers /etc/sudoers.d/* | grep birdseye</div><div>www-data        ALL=(ALL)       NOPASSWD: /srv/birdseye/bin/birdc</div><div>**********************************************</div><div>vvle@rs2-1804:~$ sudo /srv/birdseye/bin/birdc -4 -s /usr/var/run/bird.ctl show status</div><div>BIRD 2.0.4 ready.</div><div>Access restricted</div><div>BIRD 2.0.4</div><div>Router ID is 10.81.15.49</div><div>Current server time is 2019-04-01 17:18:12.655</div><div>Last reboot on 2019-04-01 17:08:47.929</div><div>Last reconfiguration on 2019-04-01 17:08:47.929</div><div>Daemon is up and running</div><div>************************************************</div><div>vvle@rs2-1804:~$ sudo netstat -lpn | grep lighttpd</div><div>tcp        0      0 <a href="http://10.81.5.49:80">10.81.5.49:80</a>           0.0.0.0:*               LISTEN      1256/lighttpd</div><div>unix  2      [ ACC ]     STREAM     LISTENING     24497    1268/php-cgi         /var/run/lighttpd/php.socket-0</div><div>************************************************</div><div>vvle@rs2-1804:~$ sudo netstat -lpn | grep php</div><div>unix  2      [ ACC ]     STREAM     LISTENING     24497    1268/php-cgi         /var/run/lighttpd/php.socket-0</div><div>************************************************</div><div>vvle@rs2-1804:~$ sudo cat /etc/lighttpd/lighttpd.conf</div><div># Sample Bird's Eye Lighttpd config - just added a small amount to</div><div># the standard Lighttpd configuration.</div><div><br></div><div>server.modules = (</div><div>        "mod_access",</div><div>        "mod_alias",</div><div>        "mod_compress",</div><div>        "mod_redirect",</div><div>        "mod_rewrite",</div><div>)</div><div><br></div><div>server.document-root        = "/srv/birdseye/public"</div><div>server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )</div><div>server.errorlog             = "/var/log/lighttpd/error.log"</div><div>server.pid-file             = "/var/run/lighttpd.pid"</div><div>server.username             = "www-data"</div><div>server.groupname            = "www-data"</div><div>server.port                 = 80</div><div>server.bind                 = "10.81.5.49"</div><div><br></div><div><br></div><div>index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )</div><div>url.access-deny             = ( "~", ".inc" )</div><div>static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )</div><div><br></div><div>compress.cache-dir          = "/var/cache/lighttpd/compress/"</div><div>compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )</div><div><br></div><div># default listening port for IPv6 falls back to the IPv4 port</div><div>## Use ipv6 if available</div><div>#include_shell "/usr/share/lighttpd/<a href="http://use-ipv6.pl">use-ipv6.pl</a> " + server.port</div><div>include_shell "/usr/share/lighttpd/<a href="http://create-mime.assign.pl">create-mime.assign.pl</a>"</div><div>include_shell "/usr/share/lighttpd/<a href="http://include-conf-enabled.pl">include-conf-enabled.pl</a>"</div><div><br></div><div>url.redirect = ()</div><div>url.rewrite-once = (</div><div>        "^/(css|img|js|fonts)/.*\.(jpg|jpeg|gif|png|swf|avi|mpg|mpeg|mp3|flv|ico|css|js|woff|ttf)$" => "$0",</div><div>        "^/(favicon\.ico|robots\.txt|sitemap\.xml)$" => "$0",</div><div>        "^/[^\?]*(\?.*)?$" => "index.php/$1"</div><div>)</div><div>********************************************************</div><div>vvle@IXP-Manager-T72:/srv/birdseye$ curl -v <a href="http://10.81.5.49/lg">http://10.81.5.49/lg</a></div><div>*   Trying 10.81.5.49...</div><div>* Connected to 10.81.5.49 (10.81.5.49) port 80 (#0)</div><div>> GET /lg HTTP/1.1</div><div>> Host: 10.81.5.49</div><div>> User-Agent: curl/7.47.0</div><div>> Accept: */*</div><div>></div><div>< HTTP/1.1 302 Found</div><div>< Cache-Control: no-cache</div><div>< Location: <a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a></div><div>< Date: Mon, 01 Apr 2019 17:47:31 GMT</div><div>< Content-type: text/html; charset=UTF-8</div><div>< Content-Length: 380</div><div>< Server: lighttpd/1.4.45</div><div><</div><div><!DOCTYPE html></div><div><html></div><div>    <head></div><div>        <meta charset="UTF-8" /></div><div>        <meta http-equiv="refresh" content="1;url=<a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a>" /></div><div><br></div><div>        <title>Redirecting to <a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a></title></div><div>    </head></div><div>    <body></div><div>        Redirecting to <a href="<a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a>"><a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a></a>.</div><div>    </body></div><div>* Connection #0 to host 10.81.5.49 left intact</div><div>************************************************************</div><div>vvle@rs2-1804:~$ curl -v <a href="http://10.81.5.49/lg/protocols/bgp">http://10.81.5.49/lg/protocols/bgp</a></div><div>*   Trying 10.81.5.49...</div><div>* TCP_NODELAY set</div><div>* Connected to 10.81.5.49 (10.81.5.49) port 80 (#0)</div><div>> GET /lg/protocols/bgp HTTP/1.1</div><div>> Host: 10.81.5.49</div><div>> User-Agent: curl/7.58.0</div><div>> Accept: */*</div><div>></div><div>< HTTP/1.1 500 Internal Server Error</div><div>< Content-type: text/html; charset=UTF-8</div><div>< Content-Length: 0</div><div>< Date: Mon, 01 Apr 2019 17:21:52 GMT</div><div>< Server: lighttpd/1.4.45</div><div><</div><div>* Connection #0 to host 10.81.5.49 left intact</div><div>**************************************************************</div><div>vvle@rs2-1804:/srv/birdseye$ ls -la</div><div>total 240</div><div>drwxr-xr-x 13 root     root       4096 Apr  1 16:12 .</div><div>drwxr-xr-x  3 root     root       4096 Mar 29 11:59 ..</div><div>drwxr-xr-x 10      501 staff      4096 Mar 29 11:54 app</div><div>-rwxr-xr-x  1      501 staff      1094 Apr 26  2017 artisan</div><div>drwxr-xr-x  2      501 staff      4096 Apr  1 07:32 bin</div><div>drwxr-xr-x  2      501 staff      4096 Mar 29 11:54 bootstrap</div><div>-rw-r--r--  1      501 staff       798 Jul  3  2018 composer.json</div><div>-rw-r--r--  1      501 staff    125370 Jul  3  2018 composer.lock</div><div>drwxr-xr-x  6      501 staff      4096 Mar 29 11:54 data</div><div>drwxr-xr-x  5      501 staff      4096 Mar 29 11:54 database</div><div>-rw-r--r--  1 root     root       2884 Apr  1 16:12 .env</div><div>-rw-r--r--  1      501 staff      2890 Jun  8  2017 .env.example</div><div>-rw-r--r--  1      501 staff      2951 Jun  8  2017 .env.vagrant</div><div>-rw-r--r--  1      501 staff        96 May 30  2017 .gitignore</div><div>drwxr-xr-x  3      501 staff      4096 Jul  3  2018 .idea</div><div>-rw-r--r--  1      501 staff      1115 Apr 26  2017 LICENSE.md</div><div>-rw-r--r--  1      501 staff       951 Apr 26  2017 phpunit.xml</div><div>drwxr-xr-x  2      501 staff      4096 Apr  1 12:06 public</div><div>-rw-r--r--  1      501 staff     14217 Jul  3  2018 README.md</div><div>drwxr-xr-x  3      501 staff      4096 Mar 29 11:54 resources</div><div>-rw-r--r--  1      501 staff       316 Apr 26  2017 skipcache_ips.php.dist</div><div>drwxrwxrwx  5 www-data www-data   4096 Mar 29 11:54 storage</div><div>*******************************************************************</div><div>*******************************************************************</div><div>vvle@rs2-1804:/srv/birdseye$ php -S <a href="http://10.81.5.49:8000">10.81.5.49:8000</a> -t public</div><div>PHP 7.2.15-0ubuntu0.18.04.2 Development Server started at Mon Apr  1 17:39:59 2019</div><div>Listening on <a href="http://10.81.5.49:8000">http://10.81.5.49:8000</a></div><div>Document root is /srv/birdseye/public</div><div>Press Ctrl-C to quit.</div><div>[Mon Apr  1 17:40:11 2019] PHP Fatal error:  Uncaught Error: Class 'Monolog\Logger' not found in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php:378</div><div>Stack trace:</div><div>#0 /srv/birdseye/vendor/illuminate/container/Container.php(731): Laravel\Lumen\Application->Laravel\Lumen\{closure}(Object(Laravel\Lumen\Application), Array)</div><div>#1 /srv/birdseye/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array)</div><div>#2 /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php(206): Illuminate\Container\Container->make('Psr\\Log\\LoggerI...', Array)</div><div>#3 /srv/birdseye/vendor/laravel/lumen-framework/src/helpers.php(39): Laravel\Lumen\Application->make('Psr\\Log\\LoggerI...', Array)</div><div>#4 /srv/birdseye/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(40): app('Psr\\Log\\LoggerI...')</div><div>#5 /srv/birdseye/app/Exceptions/Handler.php(36): Laravel\Lumen\Exceptions\Handler->report(Object(ErrorException))</div><div>#6 /srv/birdseye/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(123): App\Excepti in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php on line 378</div><div>[Mon Apr  1 17:40:11 2019] <a href="http://10.81.15.1:63409">10.81.15.1:63409</a> [500]: / - Uncaught Error: Class 'Monolog\Logger' not found in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php:378</div><div>Stack trace:</div><div>#0 /srv/birdseye/vendor/illuminate/container/Container.php(731): Laravel\Lumen\Application->Laravel\Lumen\{closure}(Object(Laravel\Lumen\Application), Array)</div><div>#1 /srv/birdseye/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array)</div><div>#2 /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php(206): Illuminate\Container\Container->make('Psr\\Log\\LoggerI...', Array)</div><div>#3 /srv/birdseye/vendor/laravel/lumen-framework/src/helpers.php(39): Laravel\Lumen\Application->make('Psr\\Log\\LoggerI...', Array)</div><div>#4 /srv/birdseye/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(40): app('Psr\\Log\\LoggerI...')</div><div>#5 /srv/birdseye/app/Exceptions/Handler.php(36): Laravel\Lumen\Exceptions\Handler->report(Object(ErrorException))</div><div>#6 /srv/birdseye/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(123): App\Excepti in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php on line 378</div><div>[Mon Apr  1 17:40:11 2019] PHP Fatal error:  Uncaught Error: Class 'Monolog\Logger' not found in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php:378</div><div>Stack trace:</div><div>#0 /srv/birdseye/vendor/illuminate/container/Container.php(731): Laravel\Lumen\Application->Laravel\Lumen\{closure}(Object(Laravel\Lumen\Application), Array)</div><div>#1 /srv/birdseye/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array)</div><div>#2 /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php(206): Illuminate\Container\Container->make('Psr\\Log\\LoggerI...', Array)</div><div>#3 /srv/birdseye/vendor/laravel/lumen-framework/src/helpers.php(39): Laravel\Lumen\Application->make('Psr\\Log\\LoggerI...', Array)</div><div>#4 /srv/birdseye/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(40): app('Psr\\Log\\LoggerI...')</div><div>#5 /srv/birdseye/app/Exceptions/Handler.php(36): Laravel\Lumen\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))</div><div>#6 /srv/birdseye/vendor/laravel/lumen-framework/src/Concerns/Registers in /srv/birdseye/vendor/laravel/lumen-framework/src/Application.php on line 378</div><div>^Cvvle@rs2-1804:/srv/birdseye$</div><div><br></div><div>Found in mailing list with similar problem: <a href="https://www.inex.ie/pipermail/ixpmanager/2017-September/001159.html">https://www.inex.ie/pipermail/ixpmanager/2017-September/001159.html</a></div><div>but it had been already fixed in later releases of birdeye.</div><div>Please suggest the way/approach to resolve;</div><div><br></div><div>Thank you,</div><div><br></div><div>V. Leontjev,</div></div></div>