Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    14

    LMS won't start on new Debian server

    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:
    Code:
    $ 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.
    I can't find any kind of error, nothing is appended to /var/log/squeezeboxserver/server.log

    However if I use this:
    Code:
    sudo /usr/sbin/squeezeboxserver --user squeezeboxserver --group nogroup --debug
    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.

    Any Ideas?
    Thanks
    Karl.

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,426
    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")
    Just change the version numbers

    -----------------------------------------------------------------------------------------------------------


    Code:
    sudo apt install./the downloaded file title
    This drags in nearly all the binaries needed

    ----------------------------------------------------------------------------------------------------------------------

    #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
    atb

    ronnie

  3. #3
    Senior Member SpiderJon's Avatar
    Join Date
    Dec 2008
    Location
    Cardiff, Wales, UK
    Posts
    221
    Quote Originally Posted by karl101 View Post
    logitechmediaserver[463]: Warning: Fake start-stop-daemon called, doing nothing.
    Running

    Code:
    sudo apt-get --reinstall install dpkg
    sudo apt-get --reinstall install upstart
    may well fix it. (The problem may be due to a damaged installation of one or both of dpkg or 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.
    See https://leavingwithnothing.blogspot....on-called.html
    Duet x 3, via various hi-fi. LMS on Raspberry Pi OS (Debian 10) on a Pi4.

  4. #4
    Junior Member
    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
    upstart is not being used in Debian

    Thanks again
    Karl.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •