PDA

View Full Version : Broken on Mac OS X 10.4.9



douglasdd
2007-04-14, 14:18
SlimServer no longer starts after updating my dual G5 Power Mac to

Mac OS X 10.4.9
iTunes 7.1.1


The error that appears in ~/Library/Logs/slimserver.log is:


Storable object version 2.13 does not match $Storable::VERSION 2.15 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 253.
Compilation failed in require at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
BEGIN failed--compilation aborted at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
Compilation failed in require at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
BEGIN failed--compilation aborted at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
Compilation failed in require at ./slimserver.pl line 115.
BEGIN failed--compilation aborted at ./slimserver.pl line 115.


I've followed the instructions (here http://slimdevices.custhelp.com/cgi-bin/slimdevices.cfg/php/enduser/std_adp.php?p_faqid=6004) to completely remove SlimServer ; then re-installed 6.5.1, and still have exactly the same error.

Note also, that as a perl and command-line junkie, I use
fink (http://www.finkproject.org/)
MacPorts (http://www.macports.org/)
`perl -MCPAN -eshell` to install other perl stuff


...So if you guys aren't ruling @INC with an iron fist, then you may be picking up non-SlimServer versions of common modules (esp. 'Storable')

If there's nightly build (or svn tag) that might fix this issue, let me know and I can give it a shot.

Thanks in advance,
./ddd
----
Tons of other sys info:


$ uname -a
Darwin quickbeam 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc PowerMac7,2 Darwin

$ type -a perl
perl is /usr/bin/perl

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level
uname='darwin b07.apple.com 8.0 darwin kernel version 8.3.0: mon oct 3 20:04:04 pdt 2005; root:xnu-792.6.22.obj~2release_ppc power macintosh powerpc '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
optimize='-Os',
cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1819)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
23953 - fix for File::Path::rmtree CAN-2004-0452 security issue
33990 - fix for setuid perl security issues
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
Built under darwin
Compiled at Nov 2 2006 10:37:00
%ENV:
PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin:/sw/lib/perl5"
@INC:
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/sw/lib/perl5/darwin
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6
/Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1
.

Eric Seaberg
2007-04-14, 16:49
I've been running on 10.4.9 since it came out, not only on my G5 but also on a G4 and Mac MINI. No problems...

Are you using it with iTunes or just having iTunes do the ripping and tagging? I don't have Slim using the iTunes library info. Can you try it that way?

andyg
2007-04-14, 17:13
You just need to reinstall Storable. We don't ship core modules with SlimServer.

> sudo cpan Storable

douglasdd
2007-04-15, 19:54
`cpan` completes normally and says "Storable is up to date (2.15)."
...and slimserver.pl still dies with the same message.

But I found some interesting things while trying to look for other culprits...


$ perl -e 'print join("\n", @INC) . "\n" '
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/sw/lib/perl5/darwin
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6
/Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6
/Library/Perl/5.8.1
.

I don't know anything about messing with the system @INC path, but I can see that fink (/sw/...) comes first and that is a potential culprit.

Interestingly when I try to run `fink` to see if a conflicting version is installed from it, I get exactly the same DynaLoader failure:


$ fink list
Storable object version 2.13 does not match $Storable::VERSION 2.15 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 253.
Compilation failed in require at /sw/lib/perl5/Fink/Services.pm line 38.
BEGIN failed--compilation aborted at /sw/lib/perl5/Fink/Services.pm line 38.
Compilation failed in require at /sw/lib/perl5/Fink/Config.pm line 27.
BEGIN failed--compilation aborted at /sw/lib/perl5/Fink/Config.pm line 27.
Compilation failed in require at /sw/lib/perl5/Fink.pm line 79.
BEGIN failed--compilation aborted at /sw/bin/fink line 29.


So I tried temporarily dispabling fink by renamin /sw to /sw.del, but still have the same failure from slimserver.pl, so the culprit doesn't seem to be the fink perl libraries.

Next, I went looking for Storable.pm off of each of @INC, and checked the version number of each:


$ for d in $( perl -e '$,="\n"; print @INC' ); do (cd $d && find $d -type f -name Storable.pm ); done
/sw/lib/perl5/MLDBM/Serializer/Storable.pm
/sw/lib/perl5/MLDBM/Serializer/Storable.pm
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm
/System/Library/Perl/5.8.6/Memoize/Storable.pm
-bash: cd: /Network/Library/Perl/5.8.6/darwin-thread-multi-2level: No such file or directory
-bash: cd: /Network/Library/Perl/5.8.6: No such file or directory
-bash: cd: /Network/Library/Perl: No such file or directory
/System/Library/Perl/Extras/5.8.6/MLDBM/Serializer/Storable.pm
-bash: cd: /Library/Perl/5.8.1: No such file or directory

$ fgrep VERSION /sw/lib/perl5/MLDBM/Serializer/Storable.pm \
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm \
/System/Library/Perl/5.8.6/Memoize/Storable.pm \
/System/Library/Perl/Extras/5.8.6/MLDBM/Serializer/Storable.pm

/System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm:use vars qw($canonical $forgive_me $VERSION);
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm:$VERSION = '2.15';
/System/Library/Perl/5.8.6/Memoize/Storable.pm:$VERSION = 0.65;



So, at this point I can't even seem to find the erroneous version of Storable ("2.13") that DynaLoader is complaining about.

Very strange, indeed!
Is there, perhaps, a corrupted cache somewhere that I can nuke?

Thanks in advance,
./ddd

----
PS - That `cpan` command is really handy! (I always used to do `sudo perl -MCPAN -e shell` then interact manually)

douglasdd
2007-04-15, 20:24
As you can probably tell from my 20 min ago post, I'm out of my element here but in a fit of desperation I went into the cpan shell

$ sudo perl -MCPAN -e shell
and ran the following:

cpan[1]> force install Storable

...and now slimserver.pl launches correctly and is currently rescanning my library.
(fink is also working again)

Many thanks to Andy & Eric

All the best,
./ddd

patrickw59
2007-04-17, 06:03
Interesting messages.
I don't understand what you are talking about, I don't want to know...all I want is to listen to my music and to my radios!
I thought this is the objective of buying simple appliances.

I may have a similar problem, maybe related to upgrading to the same version of OS.X. I am at work now, so cannot check the logs, will do this evening.

But all I want is to ENJOY the equipement.

barty
2007-04-17, 07:13
Ummm.... I think you should change the title to "I messed with all the code and now it doesn't work"

davidmac27
2007-04-18, 23:10
I bought a brand new Mac Pro a few weeks ago. It had 10.4.8 I updated this to 10.4.9 and then installed slim server 6.5.2 and when I manually start the server, it stops itself after 1-2 seconds.

Slim Devices, what is an ordinary (non PERL wizard) supposed to do to get the software running? I have had my SB1 for several years and greatly miss the tunes.

PLEASE HELP!!!!

There is a problem with 6.5.1 and 6.5.2 working on the above configuration.

oldmanmusic
2007-04-19, 11:29
I too am having problems. When Squeezebox tries to play AAC files all I get is static. This appears to be due to OS X upgrade.

I am no tech genius - I don't understand any of the jargon in these posts (Storable??). All I want to do is play music.

I've used Squeezeboxes since version 1 and am now on V3 and never had a problem like this.

Please, please help me out (in layman's terms)

Many thanks

douglasdd
2007-04-19, 11:41
...when I manually start the server, it stops itself after 1-2 seconds.

This sounds like similar symptoms to my issue...

Look for the file:
/Users/(you)/Library/Logs/slimserver.log


Rename that file to slimserver.log.old
Then try to start the SlimServer from the control panel
Copy/paste the new log file into [ code ] block in the forums here so we can all see what happening


Also do you get anything when you point your web browser at
<http://localhost:9000>?

That should give us more info to go on.

All the best,
./ddd

oldmanmusic
2007-04-19, 12:45
Many thanks for your reply. This is the new .log file

2007-04-19 20:41:03.7236 SlimServer OSDetect init...
2007-04-19 20:41:03.7238 SlimServer OS Specific init...
2007-04-19 20:41:03.7238 SlimServer daemonizing...
2007-04-19 20:41:03.7246 SlimServer saving pid file.
2007-04-19 20:41:03.7253 Got to the END.
2007-04-19 20:41:03.7271 SlimServer settings effective user and group if requested...
2007-04-19 20:41:03.7277 SlimServer settings init...
2007-04-19 20:41:03.7504 SlimServer strings init...
2007-04-19 20:41:03.8496 SlimServer Setup init...
2007-04-19 20:41:03.8581 SlimServer setting language...
2007-04-19 20:41:03.8582 SlimServer MySQL init...
2007-04-19 20:41:04.9179 Firmware init...
2007-04-19 20:41:04.9194 SlimServer Info init...
2007-04-19 20:41:05.1106 SlimServer IR init...
2007-04-19 20:41:05.1156 SlimServer Request init...
2007-04-19 20:41:05.1202 SlimServer Buttons init...
2007-04-19 20:41:05.1233 SlimServer Graphic Fonts init...
2007-04-19 20:41:05.1275 UDP init...
2007-04-19 20:41:05.1290 Slimproto Init...
2007-04-19 20:41:05.1298 mDNS init...
2007-04-19 20:41:05.1300 Async Networking init...
2007-04-19 20:41:05.1837 Cache init...
2007-04-19 20:41:05.1853 UPnP init...
2007-04-19 20:41:05.1868 SlimServer HTTP init...
2007-04-19 20:41:05.1908 Source conversion init..
2007-04-19 20:41:05.1921 SlimServer Plugins init...
2007-04-19 20:41:05.4446 mDNS startAdvertising...
2007-04-19 20:41:05.4530 SlimServer checkDataSource...
2007-04-19 20:41:05.5063 SlimServer persist playlists...
2007-04-19 20:41:05.5069 SlimServer done init...
2007-04-19 20:41:15.0068 Cache purge: FileCache - skipping, purged recently
2007-04-19 20:41:15.1188 Cache purge: Artwork - skipping, purged recently



If I point my web browser at <http://localhost:9000> it starts up Slimserver.

Any help you can give would be great.


:>)

oldmanmusic
2007-04-20, 04:17
Here is another slimserver.log once the Mac has been running for a bit. Still getting static on many of the tracks.

2007-04-19 20:41:03.7236 SlimServer OSDetect init...
2007-04-19 20:41:03.7238 SlimServer OS Specific init...
2007-04-19 20:41:03.7238 SlimServer daemonizing...
2007-04-19 20:41:03.7246 SlimServer saving pid file.
2007-04-19 20:41:03.7253 Got to the END.
2007-04-19 20:41:03.7271 SlimServer settings effective user and group if requested...
2007-04-19 20:41:03.7277 SlimServer settings init...
2007-04-19 20:41:03.7504 SlimServer strings init...
2007-04-19 20:41:03.8496 SlimServer Setup init...
2007-04-19 20:41:03.8581 SlimServer setting language...
2007-04-19 20:41:03.8582 SlimServer MySQL init...
2007-04-19 20:41:04.9179 Firmware init...
2007-04-19 20:41:04.9194 SlimServer Info init...
2007-04-19 20:41:05.1106 SlimServer IR init...
2007-04-19 20:41:05.1156 SlimServer Request init...
2007-04-19 20:41:05.1202 SlimServer Buttons init...
2007-04-19 20:41:05.1233 SlimServer Graphic Fonts init...
2007-04-19 20:41:05.1275 UDP init...
2007-04-19 20:41:05.1290 Slimproto Init...
2007-04-19 20:41:05.1298 mDNS init...
2007-04-19 20:41:05.1300 Async Networking init...
2007-04-19 20:41:05.1837 Cache init...
2007-04-19 20:41:05.1853 UPnP init...
2007-04-19 20:41:05.1868 SlimServer HTTP init...
2007-04-19 20:41:05.1908 Source conversion init..
2007-04-19 20:41:05.1921 SlimServer Plugins init...
2007-04-19 20:41:05.4446 mDNS startAdvertising...
2007-04-19 20:41:05.4530 SlimServer checkDataSource...
2007-04-19 20:41:05.5063 SlimServer persist playlists...
2007-04-19 20:41:05.5069 SlimServer done init...
2007-04-19 20:41:15.0068 Cache purge: FileCache - skipping, purged recently
2007-04-19 20:41:15.1188 Cache purge: Artwork - skipping, purged recently
2007-04-19 21:03:13.8774 ERROR: openSong: [file:///Volumes/Raid%201/Music/iTunes%20Music/Mika/Life%20In%20Cartoon%20Motion/01%20Grace%20Kelly.m4p] Unrecognized type unk!

2007-04-19 21:03:13.8825 ERROR: openSong: [file:///Volumes/Raid%201/Music/iTunes%20Music/Mika/Life%20In%20Cartoon%20Motion/04%20Love%20Today.m4p] Unrecognized type unk!

2007-04-19 21:03:13.8859 ERROR: openSong: [file:///Volumes/Raid%201/Music/iTunes%20Music/Mika/Life%20In%20Cartoon%20Motion/05%20Relax,%20Take%20It%20Easy.m4p] Unrecognized type unk!

2007-04-19 21:33:43.2859 ERROR: openSong: [file:///Volumes/Raid%201/Music/iTunes%20Music/Van%20Morrison/Magic%20Time/02%20Celtic%20New%20Year%201.m4p] Unrecognized type unk!

2007-04-20 08:36:51.9530 SlimServer OSDetect init...
2007-04-20 08:36:51.9655 SlimServer OS Specific init...
2007-04-20 08:36:51.9655 SlimServer settings init...
2007-04-20 08:36:51.9773 SlimServer strings init...
2007-04-20 08:36:52.1888 SlimServer Info init...
2007-04-20 08:36:52.8339 SlimServer changing process priority to 0
2007-04-20 08:36:52.9092 SlimServer done init...
2007-04-20 08:37:12.9569 About to look for files in /Users/j_marriott/Music/iTunes
2007-04-20 08:37:12.9575 For files with extensions in: [(?i-xsm:\.(?:ape|wma|shn|wav|wave|mp3|mp2|flc|flac|m4a |mov|m4b|mp4|mp+|mpc|ogg|aif|aiff|cue)$)]
2007-04-20 08:37:16.7098 Found 7816 files in /Users/j_marriott/Music/iTunes
Size mismatch on COMM
at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Formats/MP3.pm line 131
substr outside of string at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 2024, <$fh> line 1.
Use of uninitialized value in division (/) at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 716, <$fh> line 1.
Size mismatch on COMM
at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Formats/MP3.pm line 131
substr outside of string at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 2024, <$fh> line 1.
Use of uninitialized value in division (/) at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 716, <$fh> line 1.
2007-04-20 08:47:09.3027 About to look for files in /Users/j_marriott/Music/Playlists
2007-04-20 08:47:09.3166 For files with extensions in: [(?i-xsm:\.(?:asf|wax|asx|lnk|wpl|m3u|pls|xspf|cue)$)]
Size mismatch on COMM
at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Formats/MP3.pm line 256
substr outside of string at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 2024, <$fh> line 1.
Use of uninitialized value in division (/) at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 716, <$fh> line 1.
Size mismatch on COMM
at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Formats/MP3.pm line 256
substr outside of string at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 2024, <$fh> line 1.
Use of uninitialized value in division (/) at /Users/j_marriott/Library/PreferencePanes/SlimServer.prefPane/Contents/server/lib/MP3/Info.pm line 716, <$fh> line 1.
2007-04-20 08:49:22.0467 Got to the END.
2007-04-20 08:49:22.0468 Got sigint.
2007-04-20 08:49:22.0468 SlimServer scanner cleaning up.
2007-04-20 12:12:31.1597 ERROR: Async: Couldn't resolve IP address for www.rollingstone.com: Send: Network is down

2007-04-20 12:12:31.1628 ERROR: Async: Couldn't resolve IP address for rss.slashdot.org: Send: Network is down

2007-04-20 12:12:31.1659 ERROR: Async: Couldn't resolve IP address for rss.news.yahoo.com: Send: Network is down

2007-04-20 12:12:31.1688 ERROR: Async: Couldn't resolve IP address for news.bbc.co.uk: Send: Network is down

2007-04-20 12:12:31.1716 ERROR: Async: Couldn't resolve IP address for news.com.com: Send: Network is down



Thanks

oldmanmusic
2007-04-20, 08:26
Having messed about with Slimserver, it would appear that the problem lies with AAC Audio files. They either produce static or silence. If I convert them to Apple Lossless Files they play fine.

Sorry to be thick about this. I'm sure there must be a simple solution but it's driving me nuts.

Any help would be much appreciated.


:>)

Siduhe
2007-04-20, 08:36
No practical experience of Mac OS, but have you looked at the wiki?

http://wiki.slimdevices.com/index.cgi?AAC

Steven Moore
2007-04-20, 11:14
Having messed about with Slimserver, it would appear that the problem lies with AAC Audio files. They either produce static or silence. If I convert them to Apple Lossless Files they play fine.

Sorry to be thick about this. I'm sure there must be a simple solution but it's driving me nuts.

Any help would be much appreciated.


:>)

It is strange. I would try a reinstall of quicktime.
http://www.apple.com/quicktime/download/mac.html

I know quicktime probably takes care of lossless etc but you never know.

davidmac27
2007-04-20, 14:34
Here is my log file.

I have 6.5.1 installed. When I try to run Slimserver from the preference pane, it starts for 2 seconds then stops.

When I enter http://localhost:9000 into my browser address, nothing happens.

Thanks for the help!!!

===== Friday, April 20, 2007 2:15:27 PM America/Los_Angeles =====
2007-04-20 14:15:39.7587 SlimServer OSDetect init...
2007-04-20 14:15:39.7768 SlimServer OS Specific init...
2007-04-20 14:15:39.7769 SlimServer daemonizing...
2007-04-20 14:15:39.7777 SlimServer saving pid file.
2007-04-20 14:15:39.7786 Got to the END.
2007-04-20 14:15:39.7829 SlimServer settings effective user and group if requested...
2007-04-20 14:15:39.7840 SlimServer settings init...
2007-04-20 14:15:40.0449 SlimServer strings init...
2007-04-20 14:15:40.2405 SlimServer Setup init...
2007-04-20 14:15:40.2491 SlimServer setting language...
2007-04-20 14:15:40.2492 SlimServer MySQL init...
2007-04-20 14:15:42.4360 Firmware init...
2007-04-20 14:15:42.4565 SlimServer Info init...
2007-04-20 14:15:43.1921 SlimServer IR init...
2007-04-20 14:15:43.2377 SlimServer Request init...
2007-04-20 14:15:43.2888 SlimServer Buttons init...
2007-04-20 14:15:43.2930 SlimServer Graphic Fonts init...
2007-04-20 14:15:44.0363 UDP init...
2007-04-20 14:15:44.0754 Slimproto Init...
2007-04-20 14:15:44.0842 mDNS init...
2007-04-20 14:15:44.0844 Async Networking init...
2007-04-20 14:15:44.2122 Cache init...
2007-04-20 14:15:44.2498 UPnP init...
2007-04-20 14:15:44.2779 SlimServer HTTP init...
can't setup the listening port 9000 for the HTTP server: Address already in use at /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Web/HTTP.pm line 172.
2007-04-20 14:15:44.3291 Got to the END.

Steven Moore
2007-04-21, 04:21
Restart the machine and router, if that doesn't help.
Check you've got port 9000 open in the firewall.
systems preferences>sharing>firewall.

davidmac27
2007-04-21, 09:00
Thanks for the advice. I tried both of these and it didn't help. I went into the Firewall interface but did not see anything that would tell me if port 9000 was open or not. Any other suggestions?

davidmac27
2007-04-21, 09:09
I deleted the cache folder in \library\caches and slimserver ran for about 15 seconds this time before stopping automatically. There was a log file in the caches directory - here are the contents:

InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
070421 9:04:10 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
070421 9:04:10 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
070421 9:04:10 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
070421 9:04:10 InnoDB: Started; log sequence number 0 0
070421 9:04:10 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
070421 9:04:10 [ERROR] Do you already have another mysqld server running on port: 9092 ?
070421 9:04:10 [ERROR] Aborting

070421 9:04:10 InnoDB: Starting shutdown...
070421 9:04:12 InnoDB: Shutdown completed; log sequence number 0 43655
070421 9:04:12 [Note] /Library/PreferencePanes/SlimServer.prefPane/Contents/server/Bin/darwin/mysqld: Shutdown complete

Steven Moore
2007-04-21, 09:18
In the firewall pane click new button.
In port name select other.
In TCP port numbers type:9000, 3483, 9090
In UDP port numbers type:9000, 3483, 9090
In Description type:slimp
Click ok and see if that helps.

davidmac27
2007-04-21, 09:52
Hi Steven,

Thanks again. I added these but it still stops after a few seconds. Thanks for the continued effort!!!

Steven Moore
2007-04-21, 10:29
Another option is to hit the nuclear button.
Delete the following:
In your home directory>Library> delete slimdevices folder
In home directory>Library>preferences delete slimserver.pref
In home directory>Library>PreferencePanes delete SlimServer.prefPane (this could be in Harddrive>Library>PreferencePanes if you installed slimserver for all users)
That should delete all slimserver stuff.
Then restart the machine, and re-download and install slimserver again, install for just yourself and start when you log in.
If this doesn't work then it must be something with the computer and we can try and eliminate other stuff.

danco
2007-04-21, 11:13
Another option is to hit the nuclear button.
Delete the following:
In your home directory>Library> delete slimdevices folder
In home directory>Library>preferences delete slimserver.pref
In home directory>Library>PreferencePanes delete SlimServer.prefPane (this could be in Harddrive>Library>PreferencePanes if you installed slimserver for all users)
That should delete all slimserver stuff.


Not quite. A full delete of all SlimServer stuff also requires deletion of

home directory>Library>Caches>Slimserver

and there are circumstances in which this deletion has to be done to get things going again.

Steven Moore
2007-04-21, 11:40
Yes forgot about that one, thanks.

davidmac27
2007-04-21, 13:07
Well, I think I am making progress...maybe.

I uninstalled Slimserver as you described. Then I downloaded 6.5.2 and tried to install it for just myself. The install would fail immediately. If I chose to install it for all users, it would succeed but when I try to start Slimserver, you guessed it, it starts and then immediately stops.

Arrgh!

Steven Moore
2007-04-22, 05:23
I would start to look at the computer now. Failing to install is not good.
Repair disk permissions, and verify the disk using disk utility.
If that fails to fix it, you could back up any valuable data and download the 10.4.9 combo updater from Apple for your system(intel or ppc) and try installing that. It sometimes clears any borked files.

davidmac27
2007-04-22, 09:38
Thanks Steven,

I have repaired disk permissions with the latest version of Onyx with same results. Some background: This is a brand new Mac Pro. It came with 10.4.8 and I immediately updated it to 10.4.9 when I brought it home about a month ago. Everything works flawlessly except this Slimserver program.

Steven Moore
2007-04-22, 10:14
At a loss really, I think the next step is slimdevices support:
http://www.slimdevices.com/su_tech.html?

Sorry I couldn't help more.

tome
2007-04-23, 15:25
I have this same problem. I have been happily running 6.5.0 and many other versions on my Mac and I upgraded to 10.4.9 and now Slimserver won't start. I have done all the suggestions above. My (re)install for a single user didn't cause any problems but still won't start. I wiped it again and installed for all users, again with no problems but once again it won't start.

I don't see any messages in any log.

Any suggestions?

Tom

tome
2007-04-23, 18:17
More information.

There is log information in ~Library/Logs/slimserver.log

It shows this when I try to run the server:

more slimserver.log
Storable object version 2.13 does not match $Storable::VERSION 2.15 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 253.
Compilation failed in require at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
BEGIN failed--compilation aborted at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
Compilation failed in require at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
BEGIN failed--compilation aborted at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
Compilation failed in require at ./slimserver.pl line 115.
BEGIN failed--compilation aborted at ./slimserver.pl line 115.


Running the server under the debugger yields similar errors:

/usr/bin/perl -w -d ./slimserver.pl --help

Loading DB routines from perl5db.pl version 1.28
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

Storable object version 2.13 does not match $Storable::VERSION 2.15 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line 253.
Compilation failed in require at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
Slim::Player::Client::BEGIN() called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
eval {...} called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
require Slim/Player/Client.pm called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
Slim::Buttons::Common::BEGIN() called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
eval {...} called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
require Slim/Buttons/Common.pm called at ./slimserver.pl line 115
main::BEGIN() called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
eval {...} called at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/Storable.pm line 17
BEGIN failed--compilation aborted at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17.
at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
require Slim/Player/Client.pm called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
Slim::Buttons::Common::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
require Slim/Buttons/Common.pm called at ./slimserver.pl line 115
main::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 17
Compilation failed in require at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
Slim::Buttons::Common::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 44
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 44
require Slim/Buttons/Common.pm called at ./slimserver.pl line 115
main::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 44
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/Client.pm line 44
BEGIN failed--compilation aborted at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44.
at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
require Slim/Buttons/Common.pm called at ./slimserver.pl line 115
main::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 44
Compilation failed in require at ./slimserver.pl line 115.
at ./slimserver.pl line 115
main::BEGIN() called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 115
eval {...} called at /Users/tom/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Buttons/Common.pm line 115
BEGIN failed--compilation aborted at ./slimserver.pl line 115.
at ./slimserver.pl line 115
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
DB<1>

andyg
2007-04-23, 18:30
Run: sudo cpan Storable

tome
2007-04-23, 21:12
Run: sudo cpan Storable

I get this:
SmallusMacus:~ tom$ sudo cpan Storable
Password:
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[File '01mailrc.txt.gz' not found]
Fetching with Net::FTP:
ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from csociety-ftp.ecn.purdue.edu
Fetching with LWP:
ftp://cpan.cse.msu.edu/authors/01mailrc.txt.gz
LWP failed with code[400] message[FTP return code 000]
Fetching with Net::FTP:
ftp://cpan.cse.msu.edu/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from cpan.cse.msu.edu
Fetching with LWP:
ftp://cpan.cs.utah.edu/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[File '01mailrc.txt.gz' not found]
Fetching with Net::FTP:
ftp://cpan.cs.utah.edu/pub/CPAN/authors/01mailrc.txt.gz

...which is strange because I can go to the first site by hand and get that file...


....ah, wait there it goes. Now it has updated Storable....

And I think it worked! SlimServer is running and scanning my music so I can't test it until later.

Thanks!!
-Tom

tome
2007-04-24, 05:17
That did indeed fix the problem.
Thanks!
Tom