PDA

View Full Version : Can no longer use SB2, conflict with OS X.4.9?, Log contains many error messages.



patrickw59
2007-04-18, 13:29
I have been reporting recently in several posts that my SB2 stopped working a few weeks ago, and that it no longer connects to the Slimserver with the message "player not found". Multiple scenarii have been considered.

After browsing for hours through this forum, I have no longer had the time to enjoy my music, but I have learned:
- how to comprehensively remove traces of the Slimserver on Apple's OS X.
- how to look at the log file.
- that several customers have similar problems since upgrading to OS X.4.9

So I have performed the following;
- completely removed the Slimserver and other parts of the software.
- performed a clean install of the software.
- re-initialised the device with the ADD button.
- look at the log.

and I find that a number of error messages are logged only after the software install, computer restart and when the first connection attempt is performed via the remote control. The error messages relate to MySQL.

For me it's chinese but maybe some developpers out there understand it and can help me to listen to music again, or find a solution helping many more people than just me. In the meantime, I can no longer use the SB2, and will disconnect it.

--------------
start of file not provided, seems ok.

2007-04-18 22:02:02.8948 SlimServer cleaning up.
2007-04-18 22:02:07.0210 Got sigterm.
2007-04-18 22:02:07.0214 SlimServer scanner cleaning up.
2007-04-18 22:02:07.0417 ERROR: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (61) at /Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 652

2007-04-18 22:02:07.0510 ERROR: Backtrace follows:

2007-04-18 22:02:07.0523 Backtrace:

frame 0: Slim::Schema::Storage::throw_exception (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 1: DBIx::Class::Storage::DBI::_connect (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 2: DBIx::Class::Storage::DBI::_populate_dbh (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 3: DBIx::Class::Storage::DBI::ensure_connected (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Schema/Storage.pm line 28)
frame 4: (eval) (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Schema/Storage.pm line 28)
frame 5: Slim::Schema::Storage::dbh (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 677)
frame 6: DBIx::Class::Storage::DBI::txn_begin (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Schema.pm line 487)
frame 7: DBIx::Class::Schema::txn_begin (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/DBIx/Class/Schema.pm line 567)
frame 8: DBIx::Class::Schema::txn_do (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Music/Import.pm line 241)
frame 9: (eval) (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Music/Import.pm line 233)
frame 10: Slim::Music::Import::setIsScanning (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/scanner.pl line 303)
frame 11: main::cleanup (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/bootstrap.pm line 310)
frame 12: Slim::bootstrap::sigterm (/System/Library/Perl/5.8.6/File/Find.pm line 1095)
frame 13: (eval) (/System/Library/Perl/5.8.6/File/Find.pm line 1095)
frame 14: File::Find::_find_dir_symlnk (/System/Library/Perl/5.8.6/File/Find.pm line 678)
frame 15: File::Find::_find_opt (/System/Library/Perl/5.8.6/File/Find.pm line 1193)
frame 16: File::Find::find (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/File/Find/Rule.pm line 593)
frame 17: File::Find::Rule::_call_find (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Utils/FileFindRule.pm line 72)
frame 18: Slim::Utils::FileFindRule::in (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Utils/Scanner.pm line 156)
frame 19: Slim::Utils::Scanner::findFilesMatching (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Utils/Scanner.pm line 295)
frame 20: Slim::Utils::Scanner::scanDirectory (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Music/MusicFolderScan.pm line 72)
frame 21: Slim::Music::MusicFolderScan::startScan (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Music/Import.pm line 422)
frame 22: Slim::Music::Import::runImporter (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Music/Import.pm line 265)
frame 23: Slim::Music::Import::runScan (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/scanner.pl line 180)
frame 24: (eval) (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/scanner.pl line 174)
frame 25: main::main (/Users/pwG4/Library/PreferencePanes/SlimServer.prefPane/Contents/server/scanner.pl line 312)

2007-04-18 22:02:07.0554 ERROR: Unable to connect to the database - trying to bring it up!

2007-04-18 22:02:08.8393 Got to the END.
2007-04-18 22:02:10.3733 Got to the END.
2007-04-18 22:02:10.3744 Got sigint.
2007-04-18 22:02:10.3746 SlimServer scanner cleaning up.
2007-04-18 22:02:10.3900 ERROR: forceCommit: Trying to commit transactions before DB is initialized!

2007-04-18 22:05:44.6835 SlimServer OSDetect init...
2007-04-18 22:05:44.6919 SlimServer OS Specific init...
2007-04-18 22:05:44.6922 SlimServer daemonizing...
2007-04-18 22:05:44.7112 SlimServer settings effective user and group if requested...
2007-04-18 22:05:44.7127 SlimServer settings init...
2007-04-18 22:05:44.7759 SlimServer saving pid file.
2007-04-18 22:05:44.7786 Got to the END.
2007-04-18 22:05:44.8641 SlimServer strings init...
2007-04-18 22:05:46.0439 SlimServer Setup init...
2007-04-18 22:05:46.1621 SlimServer setting language...
2007-04-18 22:05:46.1625 SlimServer MySQL init...
2007-04-18 22:05:50.8533 Firmware init...
2007-04-18 22:05:50.9612 SlimServer Info init...
2007-04-18 22:05:54.6664 SlimServer IR init...
2007-04-18 22:05:54.7092 SlimServer Request init...
2007-04-18 22:05:54.7587 SlimServer Buttons init...
2007-04-18 22:05:54.7965 SlimServer Graphic Fonts init...
2007-04-18 22:05:59.0439 UDP init...
2007-04-18 22:05:59.0782 Slimproto Init...
2007-04-18 22:05:59.0810 mDNS init...
2007-04-18 22:05:59.0816 Async Networking init...
2007-04-18 22:05:59.1841 Cache init...
2007-04-18 22:05:59.2056 UPnP init...
2007-04-18 22:05:59.2105 SlimServer HTTP init...
2007-04-18 22:05:59.2377 Source conversion init..
2007-04-18 22:05:59.2789 SlimServer Plugins init...
2007-04-18 22:06:00.5692 mDNS startAdvertising...
2007-04-18 22:06:00.6442 SlimServer checkDataSource...
2007-04-18 22:06:01.3414 SlimServer persist playlists...
2007-04-18 22:06:01.3427 SlimServer done init...
2007-04-18 22:06:03.4387 SlimServer OSDetect init...
2007-04-18 22:06:03.4395 SlimServer OS Specific init...
2007-04-18 22:06:03.4395 SlimServer settings init...
2007-04-18 22:06:03.4569 SlimServer strings init...
2007-04-18 22:06:03.7335 SlimServer Info init...
2007-04-18 22:06:04.6277 SlimServer changing process priority to 0
2007-04-18 22:06:04.7083 SlimServer done init...
2007-04-18 22:06:05.4249 About to look for files in /Users/pwG4/Music
2007-04-18 22:06:05.4269 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-18 22:06:09.0478 Cache purge: FileCache - skipping, purged recently
2007-04-18 22:06:09.1028 Cache purge: Artwork - skipping, purged recently
2007-04-18 22:08:00.0475 Found 40995 files in /Users/pwG4/Music

sepstein
2007-04-18, 20:53
I'm a newbie having the same problem. I think there is a solution posted, but if I recall, it was a little difficult to implement.

Perhaps someone can point us in the correct direction?

Steve

sepstein
2007-04-18, 20:56
The Existing instance of mysql page is similar, but the error is NOT the same as yours - my error is the same error you are getting.

Steve

davidmac27
2007-04-18, 23:06
I am also having problems with Slimserver running on OSX 10.4.9

I click on start server and after a couple seconds, it stops running.

Is Slim Devices working on this?

sepstein
2007-04-19, 07:26
Some additional information for the technically minded:

What seems to happen is that SlimServer starts up, and then the embedded version of MySql crashes. Mac OS puts the log under crash reporter for mysql.

BTW - if there is a better way to post this info and not hog screen space, let me know ...

Steve


Log of ~/Library/Logs/CrashReporter/mysqld.crash.log follows:

Date/Time: 2007-04-19 10:13:28.668 -0400
OS Version: 10.4.9 (Build 8P135)
Report Version: 4

Command: mysqld
Path: ~/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Bin/darwin/mysqld
Parent: perl [779]

Version: ??? (???)

PID: 792
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 mysqld 0x0024e720 0x1000 + 2414368
1 mysqld 0x001c6d30 0x1000 + 1858864
2 mysqld 0x001e52ac 0x1000 + 1983148
3 mysqld 0x0018ad18 0x1000 + 1613080
4 mysqld 0x0018c710 0x1000 + 1619728
5 mysqld 0x0018f568 0x1000 + 1631592
6 mysqld 0x0017ca44 0x1000 + 1555012
7 mysqld 0x00119028 0x1000 + 1146920
8 mysqld 0x0010fb18 0x1000 + 1108760
9 mysqld 0x000796f0 0x1000 + 493296
10 mysqld 0x00077238 0x1000 + 483896
11 mysqld 0x00001e24 0x1000 + 3620
12 dyld 0x8fe01048 _dyld_start + 60

Thread 1:
0 libSystem.B.dylib 0x9002c548 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003102c pthread_cond_wait + 480
2 mysqld 0x00268384 0x1000 + 2519940
3 mysqld 0x0026715c 0x1000 + 2515292
4 mysqld 0x00230e28 0x1000 + 2293288
5 mysqld 0x0017b128 0x1000 + 1548584
6 libSystem.B.dylib 0x9002be88 _pthread_body + 96

Thread 2:
0 libSystem.B.dylib 0x9002c548 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003102c pthread_cond_wait + 480
2 mysqld 0x00268384 0x1000 + 2519940
3 mysqld 0x0026715c 0x1000 + 2515292
4 mysqld 0x00230e28 0x1000 + 2293288
5 mysqld 0x0017b128 0x1000 + 1548584
6 libSystem.B.dylib 0x9002be88 _pthread_body + 96

Thread 3:
0 libSystem.B.dylib 0x9002c548 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003102c pthread_cond_wait + 480
2 mysqld 0x00268384 0x1000 + 2519940
3 mysqld 0x0026715c 0x1000 + 2515292
4 mysqld 0x00230e28 0x1000 + 2293288
5 mysqld 0x0017b128 0x1000 + 1548584
6 libSystem.B.dylib 0x9002be88 _pthread_body + 96

Thread 4:
0 libSystem.B.dylib 0x9002c548 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003102c pthread_cond_wait + 480
2 mysqld 0x00268384 0x1000 + 2519940
3 mysqld 0x0026715c 0x1000 + 2515292
4 mysqld 0x00230e28 0x1000 + 2293288
5 mysqld 0x0017b128 0x1000 + 1548584
6 libSystem.B.dylib 0x9002be88 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
srr0: 0x000000000024e720 srr1: 0x000000000200f930 vrsave: 0x0000000000000000
cr: 0x24000444 xer: 0x0000000000000004 lr: 0x000000000024e714 ctr: 0x0000000090001748
r0: 0x000000000024e714 r1: 0x00000000bfffe120 r2: 0x0000000000000000 r3: 0x0000000000000188
r4: 0x0000000000000000 r5: 0x000000000000017a r6: 0x00000000ffffffff r7: 0x0000000076657279
r8: 0x0000000000000030 r9: 0x00000000003d58fc r10: 0x0000000000000060 r11: 0x00000000a0006208
r12: 0x0000000090001748 r13: 0x00000000a0001b9c r14: 0x0000000001410760 r15: 0x00000000bfffe2f4
r16: 0x00000000bfffe2f0 r17: 0x00000000003d5814 r18: 0x0000000001413060 r19: 0x00000000bfffe160
r20: 0x0000000002414000 r21: 0x0000000000000000 r22: 0x0000000000000000 r23: 0x000000007fffffff
r24: 0x0000000000000000 r25: 0x0000000000000000 r26: 0x0000000000000000 r27: 0x000000003fffffff
r28: 0x0000000082417ff8 r29: 0x0000000082414000 r30: 0x0000000082417ff8 r31: 0x000000000024e564

Binary Images Description:
0x1000 - 0x3c0fff mysqld ~/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Bin/darwin/mysqld
0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib

danco
2007-04-19, 13:27
One point that people *may* have missed.

There is a SlimServer folder in the Caches folder. In some cases removing this folder helps - and, since it is a cache, the worst that can happen if it is removed is that SlimServer takes a long time to regenerate the information.

sepstein
2007-04-19, 19:32
That seemed to work in my case. The location of the Caches folder is:

~/Library/Caches/

Steve