Hi Roland0

First, thanks very much for helping me in this exercise.

Second, don't waste your time on this at the moment. It's not a priority
for me but at the same time I would like to get it working.

It's fine if we can pick it up again after Christmas and the New Year.

This is my update:


> What's the output of  perl -V|grep archname and
> /opt/perl-5.26.3/bin/perl -V|grep archname ?


Code:
--------------------
    ronnie@shuttle:~$  perl -V|grep archname
  archname=i686-linux-gnu-thread-multi-64int
  config_args='-Dusethreads -Duselargefiles -Dcc=i686-linux-gnu-gcc 
-Dcpp=i686-linux-gnu-cpp -Dld=i686-linux-gnu-gcc -Dccflags=-DDEBIAN -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-qZqgkt/perl-5.28.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -Dldflags= 
-Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC 
-Darchname=i686-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.28 
-Darchlib=/usr/lib/i386-linux-gnu/perl/5.28 -Dvendorprefix=/usr 
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/i386-linux-gnu/perl5/5.28 
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.28.1 
-Dsitearch=/usr/local/lib/i386-linux-gnu/perl/5.28.1 
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 
-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 
-Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs 
-Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Ui_xlocale -Uversiononly 
-DDEBUGGING=-g -Do
 ptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.28.1'
  ronnie@shuttle:~$
  
--------------------



Code:
--------------------
    ronnie@shuttle:~$ /opt/perl-5.26.3/bin/perl -V|grep archname
  Can't locate Config.pm in @INC (you may need to install the Config module) 
(@INC contains: /home/ronnie/localperl/lib/site_perl/5.26.3/i686-linux 
/home/ronnie/localperl/lib/site_perl/5.26.3 
/home/ronnie/localperl/lib/5.26.3/i686-linux /home/ronnie/localperl/lib/5.26.3).
  BEGIN failed--compilation aborted.
  ronnie@shuttle:~$
  
--------------------



I uninstalled the Logitech Media Server: Debian Installer Package (i386)
and installed Logitech Media Server: Debian Installer Package (i386,
x86_64, ARM EABI, PowerPC)


Code:
--------------------
    Unpacking logitechmediaserver (7.9.2~1576909043) ...
  Setting up logitechmediaserver (7.9.2~1576909043) ...
  changed ownership of '/var/lib/squeezeboxserver/cache' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver/prefs' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver/Plugins' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver' from root:root to 
squeezeboxserver:nogroup
  invoke-rc.d: policy-rc.d denied execution of start.
  Processing triggers for systemd (241-7~deb10u2) ...
  ronnie@shuttle:~$ sudo apt -f install
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  
--------------------




> edit  /usr/sbin/squeezeboxserver and scanner.pl (not sure of the latter 
> file name - iirc the dpk renames it) and change the first line from 
> #!/usr/bin/perl to #!/opt/perl-5.26.3/bin/perl
> 

Done:- it is /usr/sbin/squeezeboxserver and
/usr/sbin/squeezeboxserver-scanner

Rebooted the Shuttle

Tried connecting through a web browser

> Firefox can't establish a connection to the server at 192.168.1.28:9000.



Code:
--------------------
    ronnie@shuttle:~$ sudo nano /var/log/squeezeboxserver/server.log
  [sudo] password for ronnie:
  GNU nano 3.2                                                                
/var/log/squeezeboxserver/server.log
  
  2019-12-23 20:46:10 Logitech Media Server died. Restarting.
  2019-12-23 20:46:15 Logitech Media Server died. Restarting.
  2019-12-23 20:46:20 squeezeboxserver_safe stopped.
  2019-12-23 20:47:06 squeezeboxserver_safe started.
  2019-12-23 20:47:11 Logitech Media Server died. Restarting.
  2019-12-23 20:47:16 Logitech Media Server died. Restarting.
  
--------------------



a status query gave 


Code:
--------------------
    ronnie@shuttle:~$ sudo service logitechmediaserver status
  ● logitechmediaserver.service - LSB: Startup script for the Logitech Media 
Server
  Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
  Active: active (running) since Tue 2019-12-24 08:41:17 GMT; 16min ago
  Docs: man:systemd-sysv-generator(8)
  Process: 408 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, 
status=0/SUCCESS)
  Tasks: 2 (limit: 4915)
  Memory: 6.4M
  CGroup: /system.slice/logitechmediaserver.service
  ├─ 457 /bin/bash /usr/sbin/squeezeboxserver_safe 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squ
  └─1802 sleep 5
  
  Dec 24 08:41:16 shuttle systemd[1]: Starting LSB: Startup script for the 
Logitech Media Server...
  Dec 24 08:41:17 shuttle logitechmediaserver[408]: Making sure that Logitech 
Media Server is not running first: No process in pidfile 
'/var/run/logitechmediaserver.pid' found running; none k
  Dec 24 08:41:17 shuttle logitechmediaserver[408]: Starting Logitech Media 
Server.
  Dec 24 08:41:17 shuttle systemd[1]: Started LSB: Startup script for the 
Logitech Media Server.
  lines 1-15/15 (END)
  
--------------------



> The situation with ARM is different - there is support for 32 bit 
> (arm-linux-gnueabihf-thread-multi-64int) and 64 bit 
> (aarch64-linux-thread-multi) with perl 5.28, and for neither with 5.30.
> As mentioned above, check 'the LMS repo'
> (https://github.com/Logitech/slimserver/tree/public/7.9/CPAN/arch)


I know about ARM, the image I linked to is for old computers running on
Windows or Mac (typically Intel processors).

Again, many thanks and enjoy your Holiday time.

ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to