Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1

    LMS 7.9 on CentOS 8, not working

    Hi forum
    I'm trying to install latest LMS 7.9.2 on CentOS 8 server.
    Managed to install most (all ?) packages in locations searchable by @INC.
    Now seeing an annoying message in the logs :

    Starting Squeezebox Server: Can't locate object method "canDBHighMem" via package "Slim::Utils::OS::RedHat" at /usr/share/squeezeboxserver/CPAN/Slim/Utils/Prefs/Migration/V9.pm line 16.

    Perhaps something not quite right with Slim/Utils/OS/RedHat.pm ?

    Pleases and thankyous for any clues to solve this issue.
    Server: Intel Core i5-2400, >24,000 bogomips, 16GB RAM, Linux 4.18.x
    Players: 2 x SB3's, SB-Receiver, SB-Controller, SB-Boom
    Amplification: NAD C720BEE, NAD 7130 Receiver
    Loudspeakers: Krix Lyrix Gold (Sadly, no longer in production)

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,388

    LMS 7.9 on CentOS 8, not working

    > I'm trying to install latest LMS 7.9.2 on CentOS 8 server.
    > Managed to install most (all ?) packages in locations searchable by
    > @INC.


    Did you have to install anything manually? What was that?

    > Now seeing an annoying message in the logs :
    >
    > -Starting Squeezebox Server: Can't locate object method "canDBHighMem"
    > via package "Slim::Utils::OS::RedHat" at
    > /usr/share/squeezeboxserver/CPAN/Slim/Utils/Prefs/Migration/V9.pm line
    > 16. -
    >
    > Perhaps something not quite right with Slim/Utils/OS/RedHat.pm ?


    That module is based on Slim::Utils::OS::Linux, which implements
    canDBHighMem.

    Please post the full server.log.

    --

    Michael

  3. #3
    Thanks for reply.

    I'll search for some time to try this over again, with fresh install of CentOS 8, and document all the steps along the way.
    Then I'll be equipped to ask better questions.
    Your patience is awesome.
    Server: Intel Core i5-2400, >24,000 bogomips, 16GB RAM, Linux 4.18.x
    Players: 2 x SB3's, SB-Receiver, SB-Controller, SB-Boom
    Amplification: NAD C720BEE, NAD 7130 Receiver
    Loudspeakers: Krix Lyrix Gold (Sadly, no longer in production)

  4. #4
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,446
    Quote Originally Posted by bluegroper View Post
    Hi forum
    I'm trying to install latest LMS 7.9.2 on CentOS 8 server.
    Managed to install most (all ?) packages in locations searchable by @INC.
    Now seeing an annoying message in the logs :

    Starting Squeezebox Server: Can't locate object method "canDBHighMem" via package "Slim::Utils::OS::RedHat" at /usr/share/squeezeboxserver/CPAN/Slim/Utils/Prefs/Migration/V9.pm line 16.

    Perhaps something not quite right with Slim/Utils/OS/RedHat.pm ?

    Pleases and thankyous for any clues to solve this issue.
    I have LMS 7.9.2 - 1577548976 running on Centos 8 and have had 7.9.2 running since the day after Centos 8 was released.

    I do not remember doing anything more than I did to install on Centos 7

    Jeff

    Edit:
    What do you mean by
    Managed to install most (all ?) packages in locations searchable by @INC.
    ?
    Did you not use the RPM ?
    Last edited by Jeff07971; 2020-01-09 at 04:06.
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
    Server: LMS Version: Latest Nightly on Centos 8.0 VM on ESXi 6.5.0U3 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
    Music: 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  5. #5

    Solved

    Ok, I went back to basics and tried to install LMS 7.9.2-1 to CentOS 8

    Fresh install of CentOS 8.1 as virtual machine. Small webserver, no GUI. Apply all updates.
    # dnf install epel-release
    # dnf update

    Then
    # wget http://downloads.slimdevices.com/Log...2-1.noarch.rpm
    # dnf localinstall ./logitechmediaserver-7.9.2-1.noarch.rpm
    Automatically installs many required perl modules as expected.

    Disable firewalld.service to ensure no unwanted dropped packets. Stir and sweeten to taste and local conditions.

    # systemctl start logitechmediaserver.service

    Cannot start LMS. From the logs :

    Feb 22 13:14:33 localhost systemd[1]: Starting LSB: Startup script for the Logitech Media Server...
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC (you may need to install the Slim::bootstrap module) (@INC contains: /usr/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/libexec/squeezeboxserver line 169.
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line 169.
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: [FAILED]
    Feb 22 13:14:33 localhost systemd[1]: squeezeboxserver.service: Control process exited, code=exited status=1
    Feb 22 13:14:33 localhost systemd[1]: squeezeboxserver.service: Failed with result 'exit-code'.
    Feb 22 13:14:33 localhost systemd[1]: Failed to start LSB: Startup script for the Logitech Media Server.

    Located the bootstrap.pm in
    /usr/lib/perl5/vendor_perl/Slim/bootstrap.pm

    So made a symlink as
    # ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/vendor_perl/Slim
    # systemctl restart logitechmediaserver.service

    LogitechMediaServer now working as intended. :-)

    Please, for any next time/s, is there a-better-way (tm) to do this ?
    And big thanks to the forum for all the helps.

    Edit. How do I add [SOLVED] to the original topic heading ? TIA's
    Last edited by bluegroper; 2020-02-21 at 20:17.
    Server: Intel Core i5-2400, >24,000 bogomips, 16GB RAM, Linux 4.18.x
    Players: 2 x SB3's, SB-Receiver, SB-Controller, SB-Boom
    Amplification: NAD C720BEE, NAD 7130 Receiver
    Loudspeakers: Krix Lyrix Gold (Sadly, no longer in production)

  6. #6
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,446
    Quote Originally Posted by bluegroper View Post
    Ok, I went back to basics and tried to install LMS 7.9.2-1 to CentOS 8

    Fresh install of CentOS 8.1 as virtual machine. Small webserver, no GUI. Apply all updates.
    # dnf install epel-release
    # dnf update

    Then
    # wget http://downloads.slimdevices.com/Log...2-1.noarch.rpm
    # dnf localinstall ./logitechmediaserver-7.9.2-1.noarch.rpm
    Automatically installs many required perl modules as expected.

    Disable firewalld.service to ensure no unwanted dropped packets. Stir and sweeten to taste and local conditions.

    # systemctl start logitechmediaserver.service

    Cannot start LMS. From the logs :

    Feb 22 13:14:33 localhost systemd[1]: Starting LSB: Startup script for the Logitech Media Server...
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC (you may need to install the Slim::bootstrap module) (@INC contains: /usr/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/libexec/squeezeboxserver line 169.
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line 169.
    Feb 22 13:14:33 localhost squeezeboxserver[8055]: [FAILED]
    Feb 22 13:14:33 localhost systemd[1]: squeezeboxserver.service: Control process exited, code=exited status=1
    Feb 22 13:14:33 localhost systemd[1]: squeezeboxserver.service: Failed with result 'exit-code'.
    Feb 22 13:14:33 localhost systemd[1]: Failed to start LSB: Startup script for the Logitech Media Server.

    Located the bootstrap.pm in
    /usr/lib/perl5/vendor_perl/Slim/bootstrap.pm

    So made a symlink as
    # ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/vendor_perl/Slim
    # systemctl restart logitechmediaserver.service

    LogitechMediaServer now working as intended. :-)

    Please, for any next time/s, is there a-better-way (tm) to do this ?
    And big thanks to the forum for all the helps.

    Edit. How do I add [SOLVED] to the original topic heading ? TIA's

    You don't need epel-release

    https://forums.slimdevices.com/showt...l=1#post964055

    Jeff
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
    Server: LMS Version: Latest Nightly on Centos 8.0 VM on ESXi 6.5.0U3 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
    Music: 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  7. #7
    Quote Originally Posted by Jeff07971 View Post
    I always add epel-release. Its an old habit that has served me well.
    I didn't see your post before finding a solution.
    Good to see we make the same solution. :-)
    Server: Intel Core i5-2400, >24,000 bogomips, 16GB RAM, Linux 4.18.x
    Players: 2 x SB3's, SB-Receiver, SB-Controller, SB-Boom
    Amplification: NAD C720BEE, NAD 7130 Receiver
    Loudspeakers: Krix Lyrix Gold (Sadly, no longer in production)

Posting Permissions

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