PDA

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



Johnny Stork
2005-04-01, 16:08
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

Dan Sully
2005-04-01, 17:14
* 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.

mherger
2005-04-02, 00:17
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/)

Adrian Merwood
2005-04-04, 10:15
I get exactly the same error on my Mac OS setup.....any resolution yet???

Adrian

Dan Sully
2005-04-04, 10:20
* 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

tarmistead
2005-04-08, 13:57
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


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

tarmistead
2005-04-08, 15:01
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


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

relen
2005-04-09, 12:28
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

Jack Coates
2005-04-09, 20:00
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!

relen
2005-04-10, 01:11
grab the djb daemontools package and use setuidgid from it.


Thanks! I'll give it a go.
--Richard E