[ixpmanager] Setting up Looking Glass

Noa Paguera Contelles noa.paguera at csuc.cat
Thu Jul 24 12:47:26 IST 2025


Hello everyone,

Need your help in setting up LG.
Rocky Linux 9.5 uses bird 2.15.1 and has birdseye 2.1.0 installed.

[root at bird-lg-2025-03 ~]# php -v
PHP 8.4.10 (cli)

[root at bird-lg-2025-03 ~]# ls -la /usr/local/var/run/
drwxrwxr-x 2 root bird 4096 Jul 24 12:40 .
drwxr-xr-x 3 root root 4096 Mar 13 11:31 ..
srw-rw---- 1 root root    0 Jul 24 12:40 bird.ctl

[root at bird-lg-2025-03 ~]# sudo cat /srv/birdseye/.env | egrep -v '(^#)|(^\s*$)'
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -2 -s /usr/local/var/run/bird.ctl"
CACHE_DRIVER=file
USE_BIRD_DUMMY=true
LOOKING_GLASS_ENABLED=true

[root at bird-lg-2025-03 run]# birdc
BIRD 2.15.1 ready.
bird> show status
BIRD 2.15.1
Router ID is router_id
Hostname is bird-lg-2025-03
Current server time is 2025-07-24 12:44:49
Last reboot on 2025-07-24 12:40:03
Last reconfiguration on 2025-07-24 12:40:03
Daemon is up and running

[root at bird-lg-2025-03 ~]# sudo cat /etc/sudoers /etc/sudoers.d/* | grep birdseye
apache  ALL=(ALL)       NOPASSWD: /srv/birdseye/bin/birdc

[root at bird-lg-2025-03 ~]# sudo netstat -lpn | grep php
unix  2      [ ACC ]     STREAM     LISTENING     9740546  762407/php-fpm: mas  /run/php-fpm/www.sock
[root at bird-lg-2025-03 ~]# sudo netstat -lpn | grep httpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      784649/httpd
unix  2      [ ACC ]     STREAM     LISTENING     15021374 1163457/httpd        /etc/httpd/run/cgisock.784649

in the file /etc/httpd/conf/httpd.conf
DocumentRoot "/srv/birdseye/public"

<Directory /srv/birdseye/public>
     Require all granted
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} -s [OR]
     RewriteCond %{REQUEST_FILENAME} -l [OR]
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule ^.*$ - [NC,L]
     RewriteRule ^.*$ /index.php [NC,L]
</Directory>

[root at bird-lg-2025-03 ~]# curl -v http://lookingglass_ip/lg
* Uses proxy env variable no_proxy == 'repositori.csuc.cat'
*   Trying lookingglass_ip:80...
* Connected to lookingglass_ip (lookingglass_ip) port 80 (#0)
> GET /lg HTTP/1.1
> Host: lookingglass_ip
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Date: Thu, 24 Jul 2025 11:09:59 GMT
< Server: Apache/2.4.62 (Rocky Linux)
< X-Powered-By: PHP/8.4.10
< Content-Length: 0
< Connection: close
< Content-Type: text/html; charset=UTF-8
<
* Closing connection 0

I really appreciate your time and assistance.

Thank you very much,
Noa Paguera


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20250724/47e06a4c/attachment-0001.htm>


More information about the ixpmanager mailing list