Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Johnny Stork
    Guest

    Is it time to recall 6? Anyone get it working on Suse or RH7.2?

    Ok, I have been happily running 5.4 on Suse 9 with no problems but now
    cannot get 6.0.1 to start on either the same Suse 9 box or a RH 7.2
    box. Under Suse, after uninstalling 5.4, I installed by rpm and tried
    to start the service and get the following:

    Use of uninitialized value in -e at
    /usr/local/slimserver/Slim/Utils/Prefs.pm line 123.
    Use of uninitialized value in -d at /usr/lib/perl5/5.8.3/File/Path.pm
    line 153.
    fileparse(): need a valid pathname at
    /usr/lib/perl5/5.8.3/File/Path.pm line 154
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Plugins.pm line 20.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Plugins.pm line 20.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Common.pm line 15.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Common.pm line 15.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Settings.pm line 11.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Settings.pm line 11.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Display/Display.pm line 14.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Display/Display.pm line 14.
    Compilation failed in require at /usr/local/slimserver/slimserver.pl
    line 205.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/slimserver.pl line 205.

    __________________________
    Johnny Stork
    Open Enterprise Solutions

    http://www.openenterprise.ca
    http://www.johnnystork.ca

  2. #2
    Perl Commando Dan Sully's Avatar
    Join Date
    Apr 2005
    Location
    Daly City, CA
    Posts
    2,865

    Is it time to recall 6? Anyone get it working on Suse orRH 7.2?

    * Johnny Stork shaped the electrons to say...

    > Ok, I have been happily running 5.4 on Suse 9 with no problems but now
    > cannot get 6.0.1 to start on either the same Suse 9 box or a RH 7.2
    > box. Under Suse, after uninstalling 5.4, I installed by rpm and tried
    > to start the service and get the following:


    SlimServer 6 does not work on RedHat 7.x - as RedHat has a broken perl there.

    It should work on SuSe, but I've not tried it personally - I know a few
    people on the list are running it.

    The error below indicates that SlimServer is having trouble finding / writing
    to the cache directory. Please make sure your permissions / users are
    correct. You might also check your pref file to make sure it's not set to an
    invalid path there.

    > Use of uninitialized value in -e at
    > /usr/local/slimserver/Slim/Utils/Prefs.pm line 123.
    > Use of uninitialized value in -d at /usr/lib/perl5/5.8.3/File/Path.pm
    > line 153.


    -D
    --
    Minds are like parachutes... they work best when open.

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

    Is it time to recall 6? Anyone get it working on Suseor RH 7.2?

    On Fri, 1 Apr 2005 16:14:49 -0800, Dan Sully <dan (AT) slimdevices (DOT) com> wrote:

    > * Johnny Stork shaped the electrons to say...
    >
    >> Ok, I have been happily running 5.4 on Suse 9 with no problems but now
    >> cannot get 6.0.1 to start on either the same Suse 9 box or a RH 7.2
    >> box. Under Suse, after uninstalling 5.4, I installed by rpm and tried
    >> to start the service and get the following:

    >
    > SlimServer 6 does not work on RedHat 7.x - as RedHat has a broken perl
    > there.


    I think you once said RedHat <=7.2 would not work. You were not talking
    about 7.3.

    --

    Michael

    -----------------------------------------------------------
    Help translate SlimServer by using the
    StringEditor Plugin (http://www.herger.net/slim/)

  4. #4
    Adrian Merwood
    Guest

    Is it time to recall 6? Anyone get it working on Suseor RH 7.2?

    I get exactly the same error on my Mac OS setup.....any resolution yet???

    Adrian

  5. #5
    Perl Commando Dan Sully's Avatar
    Join Date
    Apr 2005
    Location
    Daly City, CA
    Posts
    2,865

    Is it time to recall 6? Anyone get it working on Suse orRH 7.2?

    * Adrian Merwood shaped the electrons to say...

    >I get exactly the same error on my Mac OS setup.....any resolution yet???


    Please be more specific - which error are you referring to?

    Thanks.

    -D
    --
    <iNoah> all your base class are belong to us

  6. #6
    Junior Member
    Join Date
    Apr 2005
    Posts
    2

    Slimserver 6.0.1 running on Suse 9.2

    I'm SlimServer 6.0.1 running Suse 9.2

    The problem you're having is in the startup script...

    Remove the old slimserver rpm and remove/rename anything left over in /etc (i.e. /etc/slimserver.conf, /etc/sysconfig/slimserver, /etc/init.d/slimserver, ...).

    Now install the new rpm and start manually by su'ing to the slimserver user and running slimserver.pl

    su - slimserver
    nohup ./slimserver.pl >/dev/null 2>&1 &


    I'll try to get a init.d startup script worked up later today or over the weekend and will post when complete.

    Tom

    Quote Originally Posted by Johnny Stork
    Ok, I have been happily running 5.4 on Suse 9 with no problems but now
    cannot get 6.0.1 to start on either the same Suse 9 box or a RH 7.2
    box. Under Suse, after uninstalling 5.4, I installed by rpm and tried
    to start the service and get the following:

    Use of uninitialized value in -e at
    /usr/local/slimserver/Slim/Utils/Prefs.pm line 123.
    Use of uninitialized value in -d at /usr/lib/perl5/5.8.3/File/Path.pm
    line 153.
    fileparse(): need a valid pathname at
    /usr/lib/perl5/5.8.3/File/Path.pm line 154
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Plugins.pm line 20.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Plugins.pm line 20.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Common.pm line 15.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Common.pm line 15.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Buttons/Settings.pm line 11.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Buttons/Settings.pm line 11.
    Compilation failed in require at
    /usr/local/slimserver/Slim/Display/Display.pm line 14.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/Slim/Display/Display.pm line 14.
    Compilation failed in require at /usr/local/slimserver/slimserver.pl
    line 205.
    BEGIN failed--compilation aborted at
    /usr/local/slimserver/slimserver.pl line 205.

    __________________________
    Johnny Stork
    Open Enterprise Solutions

    http://www.openenterprise.ca
    http://www.johnnystork.ca

  7. #7
    Junior Member
    Join Date
    Apr 2005
    Posts
    2

    init.d script strangeness Suse 9.2

    There's something strange with the interaction between the Suse 9.2 startup functions (start_daemon and startproc) and perl, that is causing problems.

    I got tired of messing with it and just put this line at the end of /etc/init.d/rc

    (. /etc/sysconfig/slimserver; su - slimserver -c "./slimserver.pl $SLIMSERVER_ARGS") &

    Not the best solutions, but it work...

    Tom

    Quote Originally Posted by tarmistead
    I'm SlimServer 6.0.1 running Suse 9.2

    The problem you're having is in the startup script...

    Remove the old slimserver rpm and remove/rename anything left over in /etc (i.e. /etc/slimserver.conf, /etc/sysconfig/slimserver, /etc/init.d/slimserver, ...).

    Now install the new rpm and start manually by su'ing to the slimserver user and running slimserver.pl

    su - slimserver
    nohup ./slimserver.pl >/dev/null 2>&1 &


    I'll try to get a init.d startup script worked up later today or over the weekend and will post when complete.

    Tom

  8. #8
    Senior Member relen's Avatar
    Join Date
    Apr 2005
    Location
    Forres, Moray, Scotland
    Posts
    171

    Perl on RH7.2 and init file problems

    Quote Originally Posted by Dan Sully
    SlimServer 6 does not work on RedHat 7.x - as RedHat has a broken perl there.
    When I first ran SS6 I had perl 5.6.1 (which worked fine with 5.4.x) on my RH7.2 box. It had some problems, and I gathered that SS6 was much happier with 5.8.x, so I installed 5.8.6 with Michael Herger's "Perl 5.8 on SME6..." tar file and instructions (http://www.herger.net/slim) (for various reasons)which was really intended for RH7.3 but works fine. Then changed the #!/usr/bin/perl -w line at the head of slimserver.pl to use it.

    I also have some init file problems - my daemon function doesn't like the '--user' parameter - so I'm watching this thread with interest for ways around the problem.

    --Richard E
    Last edited by relen; 2005-04-09 at 12:29. Reason: missing title

  9. #9
    Jack Coates
    Guest

    Re: Is it time to recall 6? Anyone get itworking on Suse or RH7.2?

    relen wrote:
    > Dan Sully Wrote:
    >
    >>SlimServer 6 does not work on RedHat 7.x - as RedHat has a broken perl
    >>there.

    >
    >
    > When I first ran SS6 I had perl 5.6.1 (which worked fine with 5.4.x) on
    > my RH7.2 box. It had some problems, and I gathered that SS6 was much
    > happier with 5.8.x, so I installed 5.8.6 with Michael Herger's "Perl
    > 5.8 on SME6..." tar file and instructions (http://www.herger.net/slim)
    > (for various reasons)which was really intended for RH7.3 but works
    > fine. Then changed the #!/usr/bin/perl -w line at the head of
    > slimserver.pl to use it.
    >
    > I also have some init file problems - my daemon function doesn't like
    > the '--user' parameter - so I'm watching this thread with interest for
    > ways around the problem.
    >
    > --Richard E
    >
    >


    grab the djb daemontools package and use setuidgid from it.

    --
    Jack at Monkeynoodle dot Org: It's a Scientific Venture...
    Riding the Emergency Third Rail Power Trip since 1996!

  10. #10
    Senior Member relen's Avatar
    Join Date
    Apr 2005
    Location
    Forres, Moray, Scotland
    Posts
    171

    init file problems

    Quote Originally Posted by Jack Coates
    grab the djb daemontools package and use setuidgid from it.
    Thanks! I'll give it a go.
    --Richard E

Posting Permissions

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