Hi,
I just successfully installed LMS on my new RPi 4+ 4GB. Works like a
charm.
Except when it comes to a restart:
If I use
Code:
--------------------
service logitechmediaserver restart
--------------------
or
Code:
--------------------
sudo systemctl restart logitechmediaserver.service
--------------------
the LMS always starts a full scan upon restart. This is also true for a
reboot or general start of LMS.
If I use
Code:
--------------------
service logitechmediaserver status
--------------------
, I get the following error of a "left-over process":
Code:
--------------------
pi@RPiWohnzimmer:/proc/2885 $ service logitechmediaserver status
● logitechmediaserver.service - LSB: Startup script for the Logitech
Media Server
Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
Active: active (running) since Wed 2019-11-13 14:11:05 CET; 23h ago
Docs: man:systemd-sysv-generator(8)
Process: 2878 ExecStart=/etc/init.d/logitechmediaserver start (code=exited,
status=0/SUCCESS)
Tasks: 6 (limit: 4915)
Memory: 1.3G
CGroup: /system.slice/logitechmediaserver.service
├─2885 /bin/bash /usr/sbin/squeezeboxserver_safe
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir
/var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache
--charset=utf8
└─2887 /usr/bin/perl /usr/sbin/squeezeboxserver
/usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver
/usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver --prefsdir
/var/lib/squeezeboxserver/prefs --logdir /var/log/squeezebox
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: Stopped LSB: Startup script for the
Logitech Media Server.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: logitechmediaserver.service: Found
left-over process 441 (squeezeboxserve) in control group while starting unit.
Ignoring.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: This usually indicates unclean
termination of a previous run, or service implementation deficiencies.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: Starting LSB: Startup script for
the Logitech Media Server...
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: Making sure that
Logitech Media Server is not running first: start-stop-daemon: warning: failed
to kill 437: No such process
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: No process in
pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: Starting Logitech
Media Server.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: Started LSB: Startup script for the
Logitech Media Server.
--------------------
Now, specifically, might this error be the cause for a full re-scan on
every startup:
Code:
--------------------
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: logitechmediaserver.service:
Found left-over process 441 (squeezeboxserve) in control group while starting
unit. Ignoring.
--------------------
Or are these 2 issues which I should separate? I would love to solve
both!
Regards, Till
------------------------------------------------------------------------
mi6's Profile: http://forums.slimdevices.com/member.php?userid=22783
View this thread: http://forums.slimdevices.com/showthread.php?t=111211
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix