I started by following the instructions on the Debian Package Wiki:
http://wiki.slimdevices.com/index.cgi?DebianPackage
This happily installed Slimserver version 6.5.4
Mysql was also installed as a dependency and mysql --version gives:
mysql  Ver 14.12 Distrib 5.0.38, for pc-linux-gnu (i486) using readline
5.2

If I go to http://localhost:9000 I get the slimserver web page - great.
Looking at server settings shows me the following detailed version
info:

SlimServer Version: 6.5.4 - 12506 - Debian - EN - utf8
Server IP address: 192.168.0.99
Perl Version: 5.8.8 i486-linux-gnu-thread-multi
MySQL Version: 5.0.38-Ubuntu_0ubuntu1

So - what's the problem?

Well, the server plays my music fine, however when trying to install
AlienBBC I ran into problems and started looking at the log file.
Before even installing AlienBBC I am getting errors like:
2007-08-08 14:41:29.0975 ERROR: DBI Connection failed: DBI
connect('hostname=127
.0.0.1;port=9092;database=slimserver','slimserver',...) failed: Can't
connect to
MySQL server on '127.0.0.1' (111) at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm
line 654

This is then followed by many other that result from the fact the
slimserver can't connect to the database.
I therefore looked at the database. It seems that the version of mysql
installed is the Ubuntu Feisty standard version with no modifications.
/etc/mysql/ contains my.cnf and debian.cnf that are used to provide the
starting parameters to the mysql server. However, after some poking
around I then find that /var/cache/slimserver/ contains its own version
of my.cnf. It seems like this is not getting read, though as I cannot
connect to the mysql database using mysqladmin -uslimserver but I can
connect with mysqladmin -uroot

If I copy /var/cache/slimserver/my.cnf or to debian.cnf the ,ysql
server won't start. So my question is: how should I merge the
slimserver mysql configuration files with the ones that are installed
by Ubuntu? I am not using mysqld for anything else on this server. I am
surprised that no one else appears to have run into this problem given
the number of Ubuntu users at the moment.

Anyway, any help/suggestions would be appreciated.


-- 
azelter
------------------------------------------------------------------------
azelter's Profile: http://forums.slimdevices.com/member.php?userid=12709
View this thread: http://forums.slimdevices.com/showthread.php?t=37455

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to