SqueezeBox links

Algemene info Logitech Squeezebox:


Download Squeezebox Server:


WIKI SqueezeServer:


Handleidingen SqueezeServer:





After upgrading my Ubuntu box to version 9.10 Squeezebox Server decided to stop working.

The reason for the failure is that there is a dependency on MySQL 5.0 and Ubuntu 9.10 upgrading to MySQL 5.1.  I’ve searched about and seen some people forcing installing Squeezebox, etc, but decided to modify the package instead, more as an exercise than anything.

First I extracted the package:
dpkg -e squeezeboxserver_7.4.0_all.deb

Then opened the control file:
gedit control

Added the new dependency by replacing the “Depends:” line and saved file:
Depends: perl (>= 5.8.1), mysql-server-4.1 | mysql-server-5.0 | mysql-server-5.1, libmysqlclient14-dev | libmysqlclient15-dev, mysql-client-4.1 | mysql-client-5.0, adduser, libfreetype6

Rebuilt the changes into deb file:
tar -czvf ../control.tar.gz *
cd ..
ar r squeezeboxserver_7.4.0_all.deb control.tar.gz


I was going to attach the debian package however it’ll become out of date very quickly, so this is for information only or if you are having similar problem with another package. Of course, modifying dependencies may not always be a good idea as program may be incompatible.


Installatie op Ubuntu / Debian:

I’ll go over Squeeze Center installation on a Ubuntu server (running 8.10) in a few basic steps… First edit your sources.list file to add the Squeeze Center repository, as you may have noticed that Squeeze Center does not appear in the list of available software. Any dependencies should be taken care of.

deb http://debian.slimdevices.com stable main

Next, run apt-get and install the software…

$ sudo apt-get install squeezecenter

Once the install has completed, it should then be a case of firing up a web browser and heading to http://localhost:9000 (if not ‘localhost’, then the IP address or DNS name of the machine). If you get a nice setup page, you are done!

The Squeezebox is a breeze to set up – turn it on, and follow the on screen instructions. That’s it! Don’t forget to plug the output into a stereo amp, else you’ll not hear a lot of music…


In the possible event of problems, Squeeze Center’s logs are actually quite helpful – they can be located here…


In order to control the Squeeze Center server, there is a start/stop/restart script located at:


Some of the problems I have come across include things like Squeeze Center having issues communicating with the MySQL db  server (Is MySQL installed? / Is the database set up? / Does Squeeze Center have user permissions to access the MySQL server?) or file permissions for the music you plan to let Squeeze Center have access to – as I say, the log should tell all.


Richard says:

Hi, I also love the squeeze centre, but under ubuntu, I was wondering how to get it to start automatically or at least show up in the services menu.. I guess it is about editing a text file somewhere, but being a coward I am not sure which file to edit

Hello Richard,
The simplest thing to do is make sure that there is a certain file in the /etc/init.d/ directory called squeezecenter. It should look something like the following:

# $Id$
# squeezecenter initscript for squeezecenter.pl
# This file should be placed in /etc/init.d.
# Original Author: Mattias Holmlund
# Updated By: Dan Sully
# Provides: squeezecenter
# Required-Start: $all
# Required-Stop: $all
# Should-Start: $all
# Should-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Startup script for the SqueezeCenter Music Server
# Description: SqueezeCenter powers the Squeezebox, Transporter and SLIMP3 network music \
# players and is the best software to stream your music to any software MP3 \
# player. It supports MP3, AAC, WMA, FLAC, Ogg Vorbis, WAV and more!
set -e
DESC="SqueezeCenter Audio Server"
# Read config file if it is present.
if [ -r /etc/default/$NAME ]
. /etc/default/$NAME
# Function that starts the daemon/service.
d_start() {
# Use squeezecenter_safe to restart the daemon when
# it dies. This must be done to handle mysql restarts.
start-stop-daemon --start --quiet \
--chuid $SLIMUSER \
--pidfile $PIDFILE \
--exec $DAEMON_SAFE \
--background \
--make-pidfile \
-- \
--prefsdir $PREFSDIR \
--logdir $LOGDIR \
--cachedir $CACHEDIR \
--charset=$CHARSET \
d_start_direct() {
start-stop-daemon --start --quiet \
--chuid $SLIMUSER \
--pidfile $PIDFILE \
--exec $DAEMON \
-- \
--pidfile $PIDFILE \
--daemon \
--prefsdir $PREFSDIR \
--logdir $LOGDIR \
--cachedir $CACHEDIR \
--charset=$CHARSET \
# Function that stops the daemon/service.
d_stop() {
## This is a bug in the start-stop-daemon that checks the PID name from the /proc/PID/stat filesystem...
## Unfortunately this cuts-off the name of the daemon because its longer now, and then it doesnt get
## caught by the start-stop-daemon. The daemon actually reports it as squeezecenter_s instead of
## squeezecenter_safe.
start-stop-daemon -o --stop --pidfile $PIDFILE --name squeezecenter_s
# Function that sends a SIGHUP to the daemon/service.
d_reload() {
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--name $NAME --signal 1
case "$1" in
echo -n "Starting $DESC"
echo "."
echo -n "Stopping $DESC"
echo "."
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
echo -n "Restarting $NAME"
sleep 1
echo "."
# echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 1
exit 0

You can then start or stop or restart SC by running (on the command line) /etc/init.d/squeezecenter start (stop/restart). It also means that SC will start automagically the next time you restart your machine.


Geplaatst in Audio en Video, Linux, SqueezBox, Windows
%d bloggers liken dit: