I've just had this problem myself on Ubuntu 10.04 with a fresh install of squeezeboxserver and this thread helped me find a workaround. Thank you Graeme for your solution.
Here's what I did to fix it: $ sudo apt-get remove --purge squeezeboxserver $ sudo apt-get install squeezeboxserver $ dpkg -l squeezeboxserver ... ii squeezeboxserv 7.5.1 Streaming Audio Server - edit /var/lib/squeezeboxserver/prefs/server.prefs, to replace: dbsource: dbi:mysql:hostname=127.0.0.1;port=9092;database=%s with: dbsource: dbi:mysql:hostname=localhost;mysql_socket=/var/lib/squeezeboxserver/cache/squeezebox-mysql.sock;database=%s Now I can successfully start squeezeboxserver with: $ sudo -u squeezeboxserver /usr/sbin/mysqld --defaults-file=/var/lib/squeezeboxserver/cache/my.cnf & $ sudo /etc/init.d/squeezeboxserver start However my real question is why has this broken for me? Surely I'm not the only person running squeezeboxserver on Ubuntu 10.04? Why do I have to make this change to server.prefs and why doesn't /etc/init.d/squeezeboxserver start the MySQL database first? Also, note that this problem originally looked like an issue with apparmor, but I think that was a red herring. -- meowsqueak ------------------------------------------------------------------------ meowsqueak's Profile: http://forums.slimdevices.com/member.php?userid=22714 View this thread: http://forums.slimdevices.com/showthread.php?t=46851 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
