May 17, 201016 yr Posted this in the big Slimserver thread but not sure if anyone's really looking at that one anymore. Borrowing a Squeezebox Boom this week so need to get the server working ASAP..... I've installed perl from unmenu and untar'd the Squeeze Server 7.5. Then I do the following: root@Tower:/boot/squeezeboxserver# echo >> /etc/passwd root@Tower:/boot/squeezeboxserver# echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd root@Tower:/boot/squeezeboxserver# cd .. root@Tower:/boot# chmod -R 755 squeezeboxserver root@Tower:/boot# cd squeezeboxserver root@Tower:/boot/squeezeboxserver# perl slimserver.pl --daemon --user slimserverperl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_COLLATE = "C", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Your locale was detected as C, you may have problems with non-Latin filenames. Consider changing your LANG variable to the correct locale, i.e. en_US.utf8 [10-05-15 23:46:28.4401] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000 root@Tower:/boot/squeezeboxserver# Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored 100515 23:46:29 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys' 100515 23:46:29 [ERROR] Aborting Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored repeated a lot This line looks bad I guess: 100515 23:46:29 [ERROR] Aborting IT looks like the inbuilt mysql isn't working properly? [10-05-15 23:46:28.4404] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000 [10-05-15 23:47:02.2933] Slim::Utils::MySQLHelper::createSystemTables (506) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)] Can't start that manually: root@Tower:/boot/squeezeboxserver# Bin/i386-linux/mysqld 100515 23:56:51 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys' 100515 23:56:51 [ERROR] Aborting
May 17, 201016 yr Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys' I don't know anything about squeezeboxserver, but these two lines jump out at my as your likely issue. The config file is world writeable, and so being ignored. I'd fix that first. chmod 644 /boot/squeezeboxserver/Cache/my.cnf That _may_ clear up the second error, but if it doesn't, then it looks like you're missing a file, or that file is in the wrong place. See if you can find it and move it to where it's looking. But that conf file probably has a different location for it, and fixing the permissions on it could very well make the second error disappear.
May 17, 201016 yr Author Thanks Doc. For some reason chmod doesn't seem to be working root@Tower:/boot/squeezeboxserver/Cache# chmod 755 my.cnf root@Tower:/boot/squeezeboxserver/Cache# ls -ltr total 176 drwxrwxrwx 2 root root 4096 May 15 22:42 MySQL/ drwxrwxrwx 2 root root 4096 May 15 22:42 InstalledPlugins/ drwxrwxrwx 2 root root 4096 May 15 22:42 DownloadedPlugins/ -rwxrwxrwx 1 root root 135876 May 15 23:46 stringcache.i686-linux.bin* -rwxrwxrwx 1 root root 22724 May 16 00:17 plugin-data.yaml* -rwxrwxrwx 1 root root 1175 May 16 00:17 my.cnf*
May 17, 201016 yr By any chance, is the /boot/squeezeboxserver/ directory on the flash drive? If so, thats your issue. The filesystem used on the flash drive does not support file permissions.
May 17, 201016 yr BRIT's right, you can't have permissions on the flash drive. You'll have to move the squeezebox stuff elsewhere in order to do it.
May 17, 201016 yr Author Yup figured that out in the meantime So now I'm getting something totally different..... [10-05-17 19:52:28.7628] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000 [10-05-17 19:52:28.7785] main::init (400) Warning: Can't locate UUID/Tiny.pm in @INC (@INC contains: /mnt/wd1/squeezeboxserver/CPAN/arch/5.10/i386-linux-thread-multi /mnt/wd1/squeezeboxserver/CPAN/arch/5.10/i386-linux-thread-multi/auto /mnt/wd1/squeezeboxserver/CPAN/arch/5.10.0/i486-linux-thread-multi /mnt/wd1/squeezeboxserver/CPAN/arch/5.10.0/i486-linux-thread-multi/auto /mnt/wd1/squeezeboxserver/CPAN/arch/5.10/i486-linux-thread-multi /mnt/wd1/squeezeboxserver/CPAN/arch/5.10/i486-linux-thread-multi/auto /mnt/wd1/squeezeboxserver/CPAN/arch/i486-linux-thread-multi /mnt/wd1/squeezeboxserver/lib /mnt/wd1/squeezeboxserver/CPAN /mnt/wd1/squeezeboxserver /mnt/wd1/squeezeboxserver /usr/lib/perl5/5.10.0/i486-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at slimserver.pl line 400.
Archived
This topic is now archived and is closed to further replies.