[ixpmanager] Birdseye integration

Kyle Spencer kyle at stormzero.com
Tue Sep 12 13:03:26 IST 2017


This at least gets phpinfo.php working:

cd /srv/birdseye
php -S <ip address>:8000 -t public

But / and /lg still do nothing and return red errors in the CLI logger
activated by that command :(


On Tue, Sep 12, 2017 at 2:58 PM, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>
>
> Kyle Spencer wrote:
>> This fails.
>>
>> It seems Lighttpd is at least one issue. I attached my lighttpd.conf
>> in a previous e-mail in this thread. Note that restoring the default
>> lighttpd.conf works (i.e. it shows the default lighttpd page).
>
> Bad news: I'm not a Lighttpd expert. Maybe add:
>
> phpinfo(); die();
>
> in a new line just after '<?php' in index.php and see what happens?
>
> Are you using version 1.1.0 of Bird's Eye by the way?
>
> You can work around Lighttpd for testing by:
>
> cd /srv/birdseye
> php -S <ip address>:8000 -t public
>
> and then connect to the server on port 8000.
>
> I'd also try redoing the install.
>
> I've run the same instructions on 6+ production servers without issue.
> Maybe you typo'd something?
>
>  - Barry
>
>
>>
>> Alternatively: Got a copy of a valid Apache config we could try with?
>>
>> On Tue, Sep 12, 2017 at 2:40 PM, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>>> Can you create a file in public/ called 'phpinfo.php' which just contains:
>>>
>>>
>>> <?php
>>> phpinfo();
>>>
>>>
>>>
>>> and then try and access that via your web browser?
>>>
>>> That'll at least show if Lighttp is working.
>>>
>>>  - Barry
>>>
>>> Kyle Spencer wrote:
>>>> So, if I try to execute the index.php script from the CLI, it triggers
>>>> an error (of course) which populates
>>>> /srv/birdseye/storage/logs/lumen.log
>>>>
>>>> But that error data is the only thing in lumen.log...
>>>>
>>>> On Tue, Sep 12, 2017 at 1:59 PM, Kyle Spencer <kyle at stormzero.com> wrote:
>>>>> Now I have both access and error logging enabled for Lighttpd but
>>>>> neither seem verbose enough to be of help. Tried enabling error
>>>>> logging for PHP via /etc/php/7.0/cgi/php.ini but can't seem to trigger
>>>>> anything that outputs to the logfile I created and gave www-data
>>>>> access to in /var/log/php-error.log
>>>>>
>>>>> On Tue, Sep 12, 2017 at 1:37 PM, Kyle Spencer <kyle at stormzero.com> wrote:
>>>>>> Yes and see nothing. I have also confirmed that www-data has write
>>>>>> access to /storage/ and all subdirectories as instructed in the
>>>>>> installation doc:
>>>>>>
>>>>>> root at rs1:/srv/birdseye# ls -la
>>>>>> total 248
>>>>>> drwxr-xr-x 13 root     root       4096 Sep 12 13:17 .
>>>>>> drwxr-xr-x  3 root     root       4096 Sep 12 00:33 ..
>>>>>> drwxr-xr-x 10 root     root       4096 Sep 12 00:33 app
>>>>>> -rwxr-xr-x  1 root     root       1094 Sep 12 00:33 artisan
>>>>>> drwxr-xr-x  2 root     root       4096 Sep 12 00:33 bin
>>>>>> drwxr-xr-x  2 root     root       4096 Sep 12 12:33 bootstrap
>>>>>> -rw-r--r--  1 root     root        758 Sep 12 00:33 composer.json
>>>>>> -rw-r--r--  1 root     root     125345 Sep 12 00:33 composer.lock
>>>>>> drwxr-xr-x  6 root     root       4096 Sep 12 00:33 data
>>>>>> drwxr-xr-x  5 root     root       4096 Sep 12 00:33 database
>>>>>> -rw-r--r--  1 root     root       2879 Sep 12 13:17 .env
>>>>>> -rw-r--r--  1 root     root       2888 Sep 12 12:45 .env.example
>>>>>> -rw-r--r--  1 root     root       2951 Sep 12 00:33 .env.vagrant
>>>>>> drwxr-xr-x  8 root     root       4096 Sep 12 00:33 .git
>>>>>> -rw-r--r--  1 root     root         96 Sep 12 00:33 .gitignore
>>>>>> -rw-r--r--  1 root     root       1115 Sep 12 00:33 LICENSE.md
>>>>>> -rw-r--r--  1 root     root        951 Sep 12 00:33 phpunit.xml
>>>>>> drwxr-xr-x  2 root     root       4096 Sep 12 00:33 public
>>>>>> -rw-r--r--  1 root     root      14378 Sep 12 00:33 README.md
>>>>>> drwxr-xr-x  3 root     root       4096 Sep 12 00:33 resources
>>>>>> -rw-r--r--  1 root     root        321 Sep 12 12:50 skipcache_ips.php
>>>>>> -rw-r--r--  1 root     root        316 Sep 12 00:33 skipcache_ips.php.dist
>>>>>> drwxr-xr-x  5 www-data www-data   4096 Sep 12 00:33 storage
>>>>>> drwxr-xr-x  2 root     root       4096 Sep 12 00:33 tests
>>>>>> -rw-r--r--  1 root     root       1049 Sep 12 00:33 Vagrant-bootstrap.sh
>>>>>> -rw-r--r--  1 root     root       3627 Sep 12 00:33 Vagrantfile
>>>>>> drwxr-xr-x 23 root     root       4096 Sep 12 00:38 vendor
>>>>>> -rw-r--r--  1 root     root         48 Sep 12 00:33 version.php
>>>>>>
>>>>>> I know Apache uses www-data by default -- does lighttpd as well? Not
>>>>>> as familiar with it.
>>>>>>
>>>>>> On Tue, Sep 12, 2017 at 1:07 PM, Athanasios Douitsis
>>>>>> <aduitsis at noc.ntua.gr> wrote:
>>>>>>> On Tue, Sep 12, 2017 at 01:01:24PM +0300, Kyle Spencer wrote:
>>>>>>>
>>>>>>>> Trying to configure Birdseye on a dedicated BIRD VM with a single v4
>>>>>>>> instance of the daemon by following the instructions here:
>>>>>>>> https://github.com/inex/birdseye/blob/master/README.md
>>>>>>>>
>>>>>>>> Used composer to install, used lighttpd, created a single .env file
>>>>>>>> with a correct/tested birdrc variable.
>>>>>>>>
>>>>>>>> However, IXP Manager does not seem to poll the route servers, and I do
>>>>>>>> not know how to verify whether or not Birdseye is working locally on
>>>>>>>> the BIRD VM. I enabled the looking glass feature in .env but going to
>>>>>>>> http://<BIRD IP>/lg shows a blank page.
>>>>>>>>
>>>>>>>> Any clue how to debug or verify that Birdseye is working, at least
>>>>>>>> locally? Are there test URL strings I can put in my browser?
>>>>>>>>
>>>>>>>> Kyle
>>>>>>>>
>>>>>>>> --
>>>>>>>> Cell/WhatsApp/Signal: +256790884905
>>>>>>>> _______________________________________________
>>>>>>>> INEX IXP Manager mailing list
>>>>>>>> ixpmanager at inex.ie
>>>>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> Did you try setting APP_DEBUG=true in your env file and then see
>>>>>>> whether the blank page emits any errors? Just my 2 cents.
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> --
>>>>>>> Athanasios Douitsis
>>>>>>> National Technical University of Athens NOC
>>>>>>> e: aduitsis at noc.ntua.gr | t: +302107722409
>>>>>>> _______________________________________________
>>>>>>> INEX IXP Manager mailing list
>>>>>>> ixpmanager at inex.ie
>>>>>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>>>>>
>>>>>> --
>>>>>> Cell/WhatsApp/Signal: +256790884905
>>>>>
>>>>> --
>>>>> Cell/WhatsApp/Signal: +256790884905
>>>>
>>>>
>>> --
>>>
>>> Kind regards,
>>> Barry O'Donovan
>>> INEX Operations
>>>
>>> https://www.inex.ie/support/
>>> +353 1 531 3339
>>>
>>>
>>> _______________________________________________
>>> INEX IXP Manager mailing list
>>> ixpmanager at inex.ie
>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>>
>>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager



-- 
Cell/WhatsApp/Signal: +256790884905


More information about the ixpmanager mailing list