PDA

View Full Version : Use of uninitialized value in join or string......



Paul Williams
2004-05-03, 13:10
I've a feeling I'm about to publicly embarrass myself but am driven to
frustration at the moment.

I'm running (or have been) SlimServer on SuSE 9.0 and have been a
SlimP3 owner since Server v4 and I've never had a problem, at all.
I've seen posts suggesting that problems might be experienced using the
rpm's as they're written for RedHat not SuSE, however I've always used
the rpm's and they've worked fine on my SuSE installations.

Having recently upgraded my server I've installed SlimServer v5.1.5.
I'm sure previously that I've had an earlier v5 version running OK but
I can't seem to get it going anymore and suspect it must be something
to do with my Linux setup. Whilst far from a Linux expert I thought I
could find way around - apparently not.

Specifically on server startup I get a whole ream of "Use of
uninitialized value in join or string at
/usr/lib/perl5/5.8.1/File/Spec/Unix.pm line 73." messages as well as:

Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
Use of uninitialized value in array element at Slim/Music/Info.pm line
639.
Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
Use of uninitialized value in array element at Slim/Music/Info.pm line
639.


The server then appears to start OK but does not scan the library. If
I force a scan of the library it dies putting an entry in the log about
not being able to create "slimserver.db" I've checked directory
permissions but nothing obvious stands out to me. I've reinstalled
both Linux and the SlimServer several times and used different version
of v5 and get the same problem in all those I've tried. I've tried
rpms and .tar.gz installs and get the same problems in them all.

I've reverted to server v4.2.6 which seems like a drastic step, but it
works fine.

Any advice or pointers as to what I should look at to get v5 running on
Suse 9.0 standard install would be greatly appreciated.

Regards,
Paul Williams

Karl Auer
2004-05-03, 14:42
On Monday, 3 May 2004 21:10:30 +0100, Paul Williams <paul (AT) tagliavini (DOT) co.uk> wrote:
> I'm running (or have been) SlimServer on SuSE 9.0 and have been a
> SlimP3 owner since Server v4

Ooh, ooh! *I've* been an owner since the early 3's! And had to walk *miles* to school, too...

> Specifically on server startup I get a whole ream of "Use of
> uninitialized value in join or string at
> [...]
> it dies putting an entry in the log about
> not being able to create "slimserver.db"

Turn off all caching. There is (was?) an issue where the server decides what paths to use based on the real rather than the effective user.

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer (AT) biplane (DOT) com.au) +41-43-2660706 (h)
http://www.biplane.com.au/~kauer/ +41- 1-6327531 (w)

Paul Williams
2004-05-04, 14:16
Thanks for the help, I think.

Paul.

On 3 May 2004, at 22:42, Karl Auer wrote:

> On Monday, 3 May 2004 21:10:30 +0100, Paul Williams
> <paul (AT) tagliavini (DOT) co.uk> wrote:
>> I'm running (or have been) SlimServer on SuSE 9.0 and have been a
>> SlimP3 owner since Server v4
>
> Ooh, ooh! *I've* been an owner since the early 3's! And had to walk
> *miles* to school, too...
>
>> Specifically on server startup I get a whole ream of "Use of
>> uninitialized value in join or string at
>> [...]
>> it dies putting an entry in the log about
>> not being able to create "slimserver.db"
>
> Turn off all caching. There is (was?) an issue where the server
> decides what paths to use based on the real rather than the effective
> user.
>
> Regards, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer (AT) biplane (DOT) com.au) +41-43-2660706 (h)
> http://www.biplane.com.au/~kauer/ +41- 1-6327531 (w)
>

dean
2004-05-04, 14:49
Hi Paul,

Try updating to the latest nightly release:

<http://www.slimdevices.com/downloads/nightly/latest>

I believe that all the bugs you noted are fixed there.

-dean

On May 3, 2004, at 1:10 PM, Paul Williams wrote:

> I've a feeling I'm about to publicly embarrass myself but am driven to
> frustration at the moment.
>
> I'm running (or have been) SlimServer on SuSE 9.0 and have been a
> SlimP3 owner since Server v4 and I've never had a problem, at all.
> I've seen posts suggesting that problems might be experienced using
> the rpm's as they're written for RedHat not SuSE, however I've always
> used the rpm's and they've worked fine on my SuSE installations.
>
> Having recently upgraded my server I've installed SlimServer v5.1.5.
> I'm sure previously that I've had an earlier v5 version running OK but
> I can't seem to get it going anymore and suspect it must be something
> to do with my Linux setup. Whilst far from a Linux expert I thought I
> could find way around - apparently not.
>
> Specifically on server startup I get a whole ream of "Use of
> uninitialized value in join or string at
> /usr/lib/perl5/5.8.1/File/Spec/Unix.pm line 73." messages as well as:
>
> Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
> Use of uninitialized value in array element at Slim/Music/Info.pm line
> 639.
> Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
> Use of uninitialized value in array element at Slim/Music/Info.pm line
> 639.
>
>
> The server then appears to start OK but does not scan the library. If
> I force a scan of the library it dies putting an entry in the log
> about not being able to create "slimserver.db" I've checked directory
> permissions but nothing obvious stands out to me. I've reinstalled
> both Linux and the SlimServer several times and used different version
> of v5 and get the same problem in all those I've tried. I've tried
> rpms and .tar.gz installs and get the same problems in them all.
>
> I've reverted to server v4.2.6 which seems like a drastic step, but it
> works fine.
>
> Any advice or pointers as to what I should look at to get v5 running
> on Suse 9.0 standard install would be greatly appreciated.
>
> Regards,
> Paul Williams
>
>

Paul Williams
2004-05-04, 16:02
It certainly seems to, although the latest rpm didn't create the
slimserver user and directory permissions fail. Also get "Use of
uninitialized value in string eq at
/usr/local/slimserver/Slim/Utils/Prefs.pm line 346". Functionally
though the server runs with caching turned on and seems to work.

thanks,
Paul.



On 4 May 2004, at 22:49, dean blackketter wrote:

> Hi Paul,
>
> Try updating to the latest nightly release:
>
> <http://www.slimdevices.com/downloads/nightly/latest>
>
> I believe that all the bugs you noted are fixed there.
>
> -dean
>
> On May 3, 2004, at 1:10 PM, Paul Williams wrote:
>
>> I've a feeling I'm about to publicly embarrass myself but am driven
>> to frustration at the moment.
>>
>> I'm running (or have been) SlimServer on SuSE 9.0 and have been a
>> SlimP3 owner since Server v4 and I've never had a problem, at all.
>> I've seen posts suggesting that problems might be experienced using
>> the rpm's as they're written for RedHat not SuSE, however I've always
>> used the rpm's and they've worked fine on my SuSE installations.
>>
>> Having recently upgraded my server I've installed SlimServer v5.1.5.
>> I'm sure previously that I've had an earlier v5 version running OK
>> but I can't seem to get it going anymore and suspect it must be
>> something to do with my Linux setup. Whilst far from a Linux expert
>> I thought I could find way around - apparently not.
>>
>> Specifically on server startup I get a whole ream of "Use of
>> uninitialized value in join or string at
>> /usr/lib/perl5/5.8.1/File/Spec/Unix.pm line 73." messages as well as:
>>
>> Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
>> Use of uninitialized value in array element at Slim/Music/Info.pm
>> line 639.
>> Use of uninitialized value in exists at Slim/Music/Info.pm line 639.
>> Use of uninitialized value in array element at Slim/Music/Info.pm
>> line 639.
>>
>>
>> The server then appears to start OK but does not scan the library.
>> If I force a scan of the library it dies putting an entry in the log
>> about not being able to create "slimserver.db" I've checked
>> directory permissions but nothing obvious stands out to me. I've
>> reinstalled both Linux and the SlimServer several times and used
>> different version of v5 and get the same problem in all those I've
>> tried. I've tried rpms and .tar.gz installs and get the same
>> problems in them all.
>>
>> I've reverted to server v4.2.6 which seems like a drastic step, but
>> it works fine.
>>
>> Any advice or pointers as to what I should look at to get v5 running
>> on Suse 9.0 standard install would be greatly appreciated.
>>
>> Regards,
>> Paul Williams
>>
>>

=?ISO-8859-1?Q?G=F6tz_G=F6risch?=
2004-05-05, 10:07
Hi Dean,

The nightly from 2004-05-04 fixed the problem for me.

The my thread :
http://lists.slimdevices.com/archives/discuss/2004-May/029172.html

Thanks,

Goetz

dean blackketter wrote:

> Hi Paul,
>
> Try updating to the latest nightly release:
>
> <http://www.slimdevices.com/downloads/nightly/latest>
>
> I believe that all the bugs you noted are fixed there.
>
> -dean
>