<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Please ignore my last mail, the problem is solved.</div><div><br></div><div><div><font face="monospace, monospace" size="1">$ <b>curl <a href="http://rs1-lan1-ipv4.netlabs.tst/api/status">http://rs1-lan1-ipv4.netlabs.tst/api/status</a></b></font></div><div><font face="monospace, monospace" size="1">{"api":{"from_cache":true,"ttl_mins":1,"version":"1.1.4","max_routes":1000},"status":{"version":"1.6.3","router_id":"199.9.9.1","server_time":"2019-04-18T13:56:38+00:00","last_reboot":"2019-04-18T13:22:57+00:00","last_reconfig":"2019-04-18T13:22:57+00:00","message":"Daemon is up and running"}}</font></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div>regards,</div><div><br></div><div>Diarmuid</div><div dir="ltr">--</div><div dir="ltr"><br><div><b style="font-size:small"><i><font color="#38761d">Irish by birth,</font><font color="#ff9900"> located in Uganda</font> but <font color="#cc0000">Munster by the grace of the Gods.</font></i></b><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Apr 2019 at 16:47, Diarmuid O Briain <<a href="mailto:diarmuid@obriain.com">diarmuid@obriain.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I had birdseye working fine before and I returned to do some work with it to find it is not working. All the various steps appear file however the lighttpd webserver doesn't appear to be linking to bird as it is giving a 404 error. </div><div><br></div><div><div><font size="1" face="monospace, monospace">root@rs1:~#<b> ip addr show dev ens4</b></font></div><div><font size="1" face="monospace, monospace">276: ens4@if277: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000</font></div><div><font size="1" face="monospace, monospace"> link/ether 00:16:3e:90:48:8a brd ff:ff:ff:ff:ff:ff link-netnsid 0</font></div><div><font size="1" face="monospace, monospace"> inet <a href="http://198.8.8.232/24" target="_blank">198.8.8.232/24</a> brd 198.8.8.255 scope global ens4</font></div><div><font size="1" face="monospace, monospace"> valid_lft forever preferred_lft forever</font></div><div><font size="1" face="monospace, monospace"> inet6 2a98:8:8::232/48 scope global </font></div><div><font size="1" face="monospace, monospace"> valid_lft forever preferred_lft forever</font></div><div><font size="1" face="monospace, monospace"> inet6 fe80::216:3eff:fe90:488a/64 scope link </font></div><div><font size="1" face="monospace, monospace"> valid_lft forever preferred_lft forever</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~#<b> cat /etc/sudoers.d/91-www-data-user</b></font></div><div><font size="1" face="monospace, monospace"># Gives the www-data user permission to run the birdc script.</font></div><div><font size="1" face="monospace, monospace">www-data ALL=(ALL) NOPASSWD: /srv/birdseye/bin/birdc</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~# <b>ls -la /etc/sudoers.d/91-www-data-user </b></font></div><div><font size="1" face="monospace, monospace">-r--r----- 1 root root 128 Apr 18 11:19 /etc/sudoers.d/91-www-data-user</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~#<b> cat /srv/birdseye/birdseye-rs1-lan1-ipv4.env | grep -E -v '(^#|^$)'</b></font></div><div><font size="1" face="monospace, monospace">CACHE_DRIVER=file</font></div><div><font size="1" face="monospace, monospace">BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -4 -s /var/run/bird/bird.ctl"</font></div><div><font size="1" face="monospace, monospace">LOOKING_GLASS_ENABLED=true</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~# <b>/usr/bin/sudo /srv/birdseye/bin/birdc -4 -s /var/run/bird/bird.ctl show protocol</b></font></div><div><font size="1" face="monospace, monospace">BIRD 1.6.3 ready.</font></div><div><font size="1" face="monospace, monospace">Access restricted</font></div><div><font size="1" face="monospace, monospace">name proto table state since info</font></div><div><font size="1" face="monospace, monospace">device1 Device master up 2019-04-18 13:22:57 </font></div><div><font size="1" face="monospace, monospace">kernel1 Kernel master up 2019-04-18 13:22:57 </font></div><div><font size="1" face="monospace, monospace">ISP1 BGP master up 2019-04-18 13:23:02 Established </font></div><div><font size="1" face="monospace, monospace">ISP2 BGP master up 2019-04-18 13:23:01 Established </font></div><div><font size="1" face="monospace, monospace">ISP3 BGP master up 2019-04-18 13:25:38 Established </font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~# <b>ls -la /var/run/bird</b></font></div><div><font size="1" face="monospace, monospace">total 0</font></div><div><font size="1" face="monospace, monospace">drwxrwxr-x 2 bird bird 80 Apr 18 13:22 .</font></div><div><font size="1" face="monospace, monospace">drwxr-xr-x 21 root root 740 Apr 18 10:54 ..</font></div><div><font size="1" face="monospace, monospace">srw-rw---- 1 bird bird 0 Apr 18 13:22 bird.ctl</font></div><div><font size="1" face="monospace, monospace">srw-rw---- 1 bird bird 0 Apr 18 12:05 bird6.ctl</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~# <b>ls -la /srv/birdseye/*env</b></font></div><div><font size="1" face="monospace, monospace">-rw-r--r-- 1 root root 2994 Apr 18 11:19 /srv/birdseye/birdseye-rs1-lan1-ipv4.env</font></div><div><font size="1" face="monospace, monospace">-rw-r--r-- 1 root root 2995 Apr 18 11:19 /srv/birdseye/birdseye-rs1-lan1-ipv6.env</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~#<b> sudo /usr/sbin/birdc -s /var/run/bird/bird.ctl show status</b></font></div><div><font size="1" face="monospace, monospace">BIRD 1.6.3 ready.</font></div><div><font size="1" face="monospace, monospace">BIRD 1.6.3</font></div><div><font size="1" face="monospace, monospace">Router ID is 199.9.9.1</font></div><div><font size="1" face="monospace, monospace">Current server time is 2019-04-18 13:32:10</font></div><div><font size="1" face="monospace, monospace">Last reboot on 2019-04-18 13:22:57</font></div><div><font size="1" face="monospace, monospace">Last reconfiguration on 2019-04-18 13:22:57</font></div><div><font size="1" face="monospace, monospace">Daemon is up and running</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">root@rs1:~# <b>systemctl status lighttpd.service</b></font></div><div><font size="1" face="monospace, monospace">● lighttpd.service - Lighttpd Daemon</font></div><div><font size="1" face="monospace, monospace"> Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)</font></div><div><font size="1" face="monospace, monospace"> Active: active (running) since Thu 2019-04-18 12:59:45 UTC; 41min ago</font></div><div><font size="1" face="monospace, monospace"> Process: 11457 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)</font></div><div><font size="1" face="monospace, monospace"> Main PID: 11462 (lighttpd)</font></div><div><font size="1" face="monospace, monospace"> Tasks: 6 (limit: 4915)</font></div><div><font size="1" face="monospace, monospace"> CGroup: /system.slice/lighttpd.service</font></div><div><font size="1" face="monospace, monospace"> ├─11462 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf</font></div><div><font size="1" face="monospace, monospace"> ├─11467 /usr/bin/php-cgi</font></div><div><font size="1" face="monospace, monospace"> ├─11468 /usr/bin/php-cgi</font></div><div><font size="1" face="monospace, monospace"> ├─11469 /usr/bin/php-cgi</font></div><div><font size="1" face="monospace, monospace"> ├─11470 /usr/bin/php-cgi</font></div><div><font size="1" face="monospace, monospace"> └─11471 /usr/bin/php-cgi</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">Apr 18 12:59:45 rs1 systemd[1]: Starting Lighttpd Daemon...</font></div><div><font size="1" face="monospace, monospace">Apr 18 12:59:45 rs1 systemd[1]: Started Lighttpd Daemon.</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><span style="font-family:monospace,monospace;font-size:x-small">ubuntu@IXP:~$ <b>fping -4 -A rs1-lan1-ipv4.netlabs.tst</b></span><br></div><div><font size="1" face="monospace, monospace">198.8.8.232 is alive</font></div><div><font size="1" face="monospace, monospace"><br></font></div><div><font size="1" face="monospace, monospace">ubuntu@IXP:~$ <b>curl <a href="http://rs1-lan1-ipv4.netlabs.tst/api/status" target="_blank">http://rs1-lan1-ipv4.netlabs.tst/api/status</a></b></font></div><div><font size="1" face="monospace, monospace"><?xml version="1.0" encoding="iso-8859-1"?></font></div><div><font size="1" face="monospace, monospace"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"</font></div><div><font size="1" face="monospace, monospace"> "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"></font></div><div><font size="1" face="monospace, monospace"><html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"></font></div><div><font size="1" face="monospace, monospace"> <head></font></div><div><font size="1" face="monospace, monospace"> <title>404 - Not Found</title></font></div><div><font size="1" face="monospace, monospace"> </head></font></div><div><font size="1" face="monospace, monospace"> <body></font></div><div><font size="1" face="monospace, monospace"> <h1>404 - Not Found</h1></font></div><div><font size="1" face="monospace, monospace"> </body></font></div><div><font size="1" face="monospace, monospace"></html></font></div></div><div><br></div><div>regards,<br></div><div><br></div><div>Diarmuid</div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail-m_4271902927130408089gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">--</div><div dir="ltr"><br><div><b style="font-size:small"><i><font color="#38761d">Irish by birth,</font><font color="#ff9900"> located in Uganda</font> but <font color="#cc0000">Munster by the grace of the Gods.</font></i></b><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>