Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
Replying to myself here. Just after my last post, I found the cause and remedy for the appender error in 'another thread' (http://forums.slimdevices.com/showthread.php?p=245155#post245155)! Simply removing the empty file prefs/log.conf made the error go away. I'm quite confused by this, however, since my original instructions involved creating this file in order to get the ownership right. Anyway, I'm very happy to report that SqueezeboxServer 7.4.1 now works, and music is again pumping out of my Squeezebox :-D -- bogomipz bogomipz's Profile: http://forums.slimdevices.com/member.php?userid=3743 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
Just got my Squeezebox (Classic), it works great and was a really nice match to Audioengine 5. However, I have a small problem with the server. It starts fine with the --daemon flag on Arch but when I try to use bogomipz rc-file then I get the following error: ERROR: you didn't tell me how to implement your appender 'server' at /home/slimserver/squeezecenter-7.3.2/CPAN/Log/Log4perl/Config.pm line 346. Any idea why? -- lundh lundh's Profile: http://forums.slimdevices.com/member.php?userid=30970 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
radish;427720 Wrote: The method of downsampling changed between 7.2 and 7.3, but the new method should work on all platforms. If you're having problems on XP it would be worth posting a new thread in the SC forum. It works for me (on 7.3.2 (on Archlinux)) -- th00ht SqueezeBox v3 SqueezeCenter7.4 Quad 303 + Two Quad Electrostats 'last.fm' (http://www.last.fm/user/th00ht) th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
BastiaanR;427332 Wrote: Just curious, what is the cause of not being able to play 88.2 FLAC? Is it a hardware limitation, or a matter of a firmware update? Hardware is limited to 48kHz. As sox seems to transcode it on Linux, would transcoding also be done automatically on Windows XP? Yes. I ask, because 88.2 FLAC does seem to work on XP with SC 7.2 but not SC 7.3.2. The method of downsampling changed between 7.2 and 7.3, but the new method should work on all platforms. If you're having problems on XP it would be worth posting a new thread in the SC forum. -- radish radish's Profile: http://forums.slimdevices.com/member.php?userid=77 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
th00ht;424519 Wrote: I had a couple of 88.2 FLAC files which cannot be played by the SqueezeBox and are transcoded to 44.1. Just curious, what is the cause of not being able to play 88.2 FLAC? Is it a hardware limitation, or a matter of a firmware update? As sox seems to transcode it on Linux, would transcoding also be done automatically on Windows XP? I ask, because 88.2 FLAC does seem to work on XP with SC 7.2 but not SC 7.3.2. Apologies if my post if offtopic wrt the thread. -- BastiaanR If it doesn't work the first time around, get a bigger hammer. BastiaanR's Profile: http://forums.slimdevices.com/member.php?userid=22178 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
For some reason the manual approach included various perl packages that SC didn't like. Don't ask me the details but I you use the procedure in http://forums.slimdevices.com/showthread.php?t=63617 you should be fine. -- th00ht SqueezeBox v3 SqueezeCenter7.4 Quad 303 + Two Quad Electrostats 'last.fm' (http://www.last.fm/user/th00ht) th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
sox is required for transcoding I believe. I had a couple of 88.2 FLAC files which cannot be played by the SqueezeBox and are transcoded to 44.1. Apparently by sox. -- th00ht SqueezeBox v3 SqueezeCenter7.4 Quad 303 + Two Quad Electrostats 'last.fm' (http://www.last.fm/user/th00ht) th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
So which steps did you have to complete to install SC7 on Archlinux? That might be interesting for other users as well..:.. -- th00ht SqueezeBox v3 SqueezeCenter7.3 Quad 303 + Two Quad Electrostats 'last.fm' (http://www.last.fm/user/th00ht) th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
This is what I did to get it up and running. I usually build packages for everything I install because it makes it easier to upgrade or uninstall, but for this I chose to simply untar in a home directory. Install libgd and sox (not entirely sure if the latter is required). Code: $ sudo pacman -S gd sox Create a user, I named it 'slim'. I then locked it down to be on the safe side. Code: $ sudo adduser $ sudo passwd -l slim Untar the software (using the actual path to where it was downloaded). Code: $ cd /home/slim $ sudo -u slim tar xzf squeezecenter-7.2.1.tgz Create a couple of empty files and directories as the slim user. This is the fix that this thread was about. Code: $ sudo -u slim mkdir -p cache prefs/plugin $ sudo -u slim touch slimserver.log prefs/log.conf Create /etc/rc.d/slimserver, like this; Code: #!/bin/bash . /etc/rc.conf . /etc/rc.d/functions progdir=/home/slim/squeezecenter-7.2.1 pidfile=/home/slim/slimserver.pid logfile=/home/slim/slimserver.log prefsdir=/home/slim/prefs cachedir=/home/slim/cache case $1 in start) stat_busy Starting SlimServer cd $progdir ./slimserver.pl --daemon --user slim --group users --pidfile $pidfile --logfile $logfile --prefsdir $prefsdir --cachedir $cachedir --diag if [ $? -gt 0 ]; then stat_fail else add_daemon slimserver stat_done fi ;; stop) stat_busy Stopping SlimServer kill `cat $pidfile` /dev/null if [ $? -gt 0 ]; then stat_fail else rm_daemon slimserver stat_done fi ;; restart) $0 stop sleep 1 $0 start ;; *) echo usage: $0 {start|stop|restart} esac Add slimserver to DAEMONS in /etc/rc.conf That should be it if you want to use the mysql that comes with SC. I wanted to use the already installed mysql, so I needed to do the following steps. Start and stop the server once, so that it creates initial config files. Code: $ sudo /etc/rc.d/slimserver start $ sudo /etc/rc.d/slimserver stop Edit server.pref to set a value for dbpassword, change the hostname from 127.0.0.1 to localhost, and set the port to 3306. Remove the database that was created on first run since it is not going to be used. Code: $ sudo vi prefs/server.pref $ sudo rm -rf cache/* Create the new database and grant rights to the slimserver user, making sure to set the same password as in the config file above. Code: $ sudo mysql -u root -p mysql create database slimserver; mysql grant all on slimserver.* to slimserver identified by 'passwd'; mysql flush privileges; mysql quit And that's it. I have not tried installing 7.3 yet, though. -- bogomipz bogomipz's Profile: http://forums.slimdevices.com/member.php?userid=3743 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
Yes, ownership of slimserver.log and directory prefs/plugin was the problem. Thank you, yannick, for bringing this to my attention. The end result now is that setting up SC 7.2 was actually -very- easy, using perl-5.10 from Arch and CPAN from Slim Devices. The trickiest part was because I opted for using an existing MySQL install. Other than that, I think library requirements could've been better documented. While fighting the software earlier on, I randomly noticed that some other distro had libgd as a dependency for SC. Installing that made slimserver.pl shut up about running build-perl-modules.pl GD (which silently did nothing when libgd was not installed...) Additionally, I installed sox which also pulled in lame, libmad, libvorbis, and libsndfile. If there are other requirements, it was pure luck that I had them installed. -- bogomipz bogomipz's Profile: http://forums.slimdevices.com/member.php?userid=3743 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] SqueezeCenter 7.2.1 trouble on Archlinux
I had exactly the same error messages as I tried to setup SC on a DNS-323 (a NAS). For some reason there is a bug in the logger and you get a Can't call method log on an undefined value at... instead of seeing the real error message. In the case of the DNS-323 I got stuck on this error for a while and had to add some extra print statements in the Log4Perl module just to find out that the problem was simply that the log files which had been created had the wrong ownership and that SC couldn't write into them with the user used to start the server. Have a look at this thread: http://forums.slimdevices.com/showthread.php?t=52664 I have documented exactly the installation procedure on the DNS-323. Some steps in the tutorial are specific to the DNS-323, but basically it's nothing else than a linux. Look especially at the steps 5.1-5.4. Maybe the problem is the same on your case. Good luck... Yannick -- yannick yannick's Profile: http://forums.slimdevices.com/member.php?userid=19770 View this thread: http://forums.slimdevices.com/showthread.php?t=55017 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix