Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jul 2007
    Posts
    235

    No network connectivity - arch linux LMS 7.9.1 aur logitechmediaserver

    Hello,
    I have trouble getting LMS to run on my machine running an up to date version of Arch Linux Amd64.
    The package installs OK using
    aur-get -sy logitechmediaserver-git
    I enable the unit using
    systemctl enable logitechmediaserver-git
    reboot
    Systemctl is-enabled logitechmediaserver-git
    enabled
    Problem:
    Neither the players can connect nor the web UI is reachable.
    This is the server.log:
    [18-05-08 11:49:35.0369] main::init (387) Starting Logitech Media Server (v7.9.1, ARCH-AUR-GIT.20180508.26f1a0e, Tue May 8 11:39:21 CEST 2018) perl 5.026002 - x86_64-linux-thread-multi
    [18-05-08 11:49:35.0452] Slim::Utils::IPDetect::_init (140) Warning: Couldn't call connect() - falling back to 127.0.0.1
    [18-05-08 11:49:35.6606] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-08 11:49:35.6654] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-08 11:49:36.0153] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-08 11:49:36.0200] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-08 11:49:36.1178] main::checkDataSource (1110) Warning: Schema updated or no media found in the database, initiating scan.
    [18-05-08 11:49:46.1360] Slim::Formats::XML::gotErrorViaHTTP (339) Error: getting http://www.mysqueezebox.com/api/sounds/v1/opml
    Couldn't resolve IP address for: www.mysqueezebox.com
    [18-05-08 11:49:46.1366] Slim::Plugin::Sounds::Plugin::_gotSoundsError (83) Error: Unable to cache Sounds & Effects menu from SN: Couldn't resolve IP address for: www.mysqueezebox.com
    [18-05-08 11:49:48.1352] Slim::Formats::XML::gotErrorViaHTTP (339) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16
    Couldn't resolve IP address for: opml.radiotime.com
    [18-05-08 11:49:48.1358] Slim::Plugin::InternetRadio::Plugin::_gotRadioErro r (67) Unable to retrieve radio directory from SN: Couldn't resolve IP address for: opml.radiotime.com
    [18-05-08 11:50:07.5269] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::acceptHTTP: Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /opt/logitechmediaserver-git/Slim/Web/HTTP.pm line 247.
    ; fh=HTTP:aemon=GLOB(0x563f633ed990)

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    906
    Perhaps LMS started before the network was up.

    Code:
    [18-05-08 11:49:35.0452] Slim::Utils::IPDetect::_init (140) Warning: Couldn't call connect() - falling back to 127.0.0.1
    If you stop LMS and then bring it up again by hand does it work
    systemctl stop logitechmediaserver-git
    #wait a bit
    systemctl start logitechmediaserver-git

    If it then works then you could try to make that module dependent on the network being up.
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

  3. #3
    Senior Member
    Join Date
    Jul 2007
    Posts
    235
    Hello,
    thank you for your suggestion. But the network is up and running.
    I can ping the machine and ssh to it.
    Is it possible that the squeezeboxserver has to have certain privileges to access the network?

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    906
    Was the network up and you started LMS or did it come up (slowly) afterwards?
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

Posting Permissions

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