Hello
I'm trying to get the latest stable LMS 8.1.1 running on this new debian server I'm moving my media stuff over to, but the service won't start.
The installation process I've undertaken:
I can't find any kind of error, nothing is appended to /var/log/squeezeboxserver/server.logCode:$ sudo dpkg -i logitechmediaserver_8.1.1_amd64.deb Selecting previously unselected package logitechmediaserver. (Reading database ... 144653 files and directories currently installed.) Preparing to unpack logitechmediaserver_8.1.1_amd64.deb ... Unpacking logitechmediaserver (8.1.1) ... Setting up logitechmediaserver (8.1.1) ... Adding system user `squeezeboxserver' (UID 118) ... Adding new user `squeezeboxserver' (UID 118) with group `nogroup' ... Not creating home directory `/usr/share/squeezeboxserver'. invoke-rc.d: policy-rc.d denied execution of start. $ sudo systemctl start logitechmediaserver.service $ sudo systemctl status logitechmediaserver.service ● logitechmediaserver.service - LSB: Startup script for the Logitech Media Server Loaded: loaded (/etc/init.d/logitechmediaserver; generated) Active: active (exited) since Sun 2021-06-13 12:36:49 BST; 18min ago Docs: man:systemd-sysv-generator(8) Tasks: 0 (limit: 9486) Memory: 0B CPU: 0 CGroup: /system.slice/logitechmediaserver.service Jun 13 12:36:49 brian-syno systemd[1]: Starting LSB: Startup script for the Logitech Media Server... Jun 13 12:36:49 brian-syno logitechmediaserver[422]: Making sure that Logitech Media Server is not running first: Jun 13 12:36:49 brian-syno logitechmediaserver[463]: Warning: Fake start-stop-daemon called, doing nothing. Jun 13 12:36:49 brian-syno logitechmediaserver[422]: Starting Logitech Media Server Jun 13 12:36:49 brian-syno logitechmediaserver[465]: Warning: Fake start-stop-daemon called, doing nothing. Jun 13 12:36:49 brian-syno logitechmediaserver[422]: . Jun 13 12:36:49 brian-syno systemd[1]: Started LSB: Startup script for the Logitech Media Server.
However if I use this:
After a first installation or following a apt purge squeezeboxserver I need to install LMS again to fix sqlite errors, but once that is done it loads with the --debug above and I can see the web page on port 9000, but the systemctl service still will not start.Code:sudo /usr/sbin/squeezeboxserver --user squeezeboxserver --group nogroup --debug
Any Ideas?
Thanks
Karl.
Results 1 to 4 of 4
-
2021-06-13, 05:12 #1
- Join Date
- Aug 2005
- Posts
- 14
LMS won't start on new Debian server
-
2021-06-13, 05:58 #2
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,076
I don't know if this is helpful, but I recently installed version 8.1.2 on an old computer running LInux Mint
LINUS MINT --AMD 64
Code:wget -O logitechmediaserver_amd64.deb $(wget -q -O - "https://www.mysqueezebox.com/update/?version=8.1.2&revision=1&geturl=1&os=debamd64")
-----------------------------------------------------------------------------------------------------------
Code:sudo apt install./the downloaded file title
----------------------------------------------------------------------------------------------------------------------
#sudo apt install libcrypt-openssl-rsa-perl lame -y
these are for lame and one of philippe's plugins
-----------------------------------------------------------------------------------------------------------
or you could just run
Code:sudo apt install libnet-ssleay-perl libio-socket-ssl-perl
ronnie
-
2021-06-13, 06:32 #3
Running
Code:sudo apt-get --reinstall install dpkg sudo apt-get --reinstall install upstart
And/or there's:
Warning: Fake start-stop-daemon called
If you're running into this issue, it means that the OS installation didn't clean up after itself properly.
All you have to do is
# mv /sbin/start-stop-daemon.REAL /sbin/start-stop-daemon
And the services that require this utility will work properly.Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10) + OMV on a Pi4 (4GB RAM) in an Argon Neo case.
-
2021-06-13, 07:37 #4
- Join Date
- Aug 2005
- Posts
- 14
Hello
Thanks both, one or more of these got it working:
Code:sudo apt install libnet-ssleay-perl libio-socket-ssl-perl sudo apt-get --reinstall install dpkg sudo apt --reinstall install ./logitechmediaserver_8.1.1_amd64.deb
Thanks again
Karl.