PDA

View Full Version : Slimserver 6..5.5 on Buffalo Linkstation - MySQL Problem



hazzy
2007-12-29, 09:13
Hello, I hope someone can shed some light on my problems.

After many days of struggling, I have now finally installed the Debian Freelink version of Linux on my Linkstaion Live. This seems to work well now.

I followed the instructions to install SlimServer as per here http://wiki.slimdevices.com/index.cgi?FreelinkLinkstationPro

I installed MySQL from mysql-5.0.51.tar.gz and complied it all with

cd my*
./configure;make;make install

This took ages but seemed to work.

The Slimserver webpages come up ok. My problem is that the scan of my music folder does not set anything up in the database. It always shows 0 Albums and 0 Tracks.

The SlimServer log shows:-

2007-12-29 15:54:54.6451 ERROR: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver','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


I am not sure why this is happening but any help appreciated.

If I do the following

mv /usr/sbin/mysqld /usr/sbin/mysqld.old
cp /usr/local/libexec/mysqld /usr/sbin/mysqld
mkdir /usr/local/etc
cp /etc/mysql/my.cnf /usr/local/etc/my.cnf


bit then MySQL does not seem to start at all. I donít understand what this is supposed to do but maybe the mysqld I created is not valid in some way.

MySQL from a command line shows the following :-

127:/usr/share/slimserver# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.32-Debian_7etch3-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


So I suppose I did not succeed in installing the new version correctly.


John

slimnick
2008-01-02, 13:41
John

I recently re-instaled slimserver 6.5.4 on my LinkStation Pro. I too tried installing the latest mysql and got, if I remeber rightly, the same error as yourself.

I then reverted to mysql v5.0.45 which installed fine. I suggest you try that.

5.0.45 can be downloaded from here:

http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-5.0/mysql-5.0.45.tar.gz

Nick

jwepugh
2008-01-07, 03:34
nick

I note you are running SlimServer 6.5.4 on your Linkstation Pro

Can you help me out with some simple instructions to upgrade my installation from 6.5.1 to 6.5.4

I tried to do a new install pointing my wget to 6.5.4 in the last statement in the SlimServer Installation instructions but it seems it does not exist.

Thanks in advance

eddie

slimnick
2008-01-07, 12:04
Hi Eddie

The following few lines should get you upgraded:

wget http://debian.slimdevices.com/pool/main/s/slimserver/slimserver_6.5.4_all.deb
dpkg -i slimserver_6.5.4_all.deb
rm slimserver_6.5.4_all.deb

Regards
Nick.

jwepugh
2008-01-07, 13:57
Nick

That seems to have done the job nicely.

Now for AlienBBC and a few pluggins.

Many many thanks.

Eddie

hazzy
2008-01-11, 03:34
Hi Slimnick,

I tried MySQL 5.0.45 and that seemed to fix the problem I was having. I wonder what's up with 5.0.32.

Thanks for the suggestion.

John

tman2001
2008-01-14, 06:42
i am a user of both transporter and squeezebox v3 with a slimserver served Quap 209pro to which was setup by my friend, i really enjoy it so much. about 2 weeks ago, i bought a used Buffalo Linkstation HD-H250LAN NAS through auction on the net. i tried and tried my great efforts to install a slimserver on it like the said 209pro but without any success. honestly speaking, i am a computer idiot and know nothing about those complicated command and language. i would be deeply appreciated if SB experts can teach/show me step by step for how to install the slimserver program on both my Qnap TS-209pro (in case to replace a new hardisk in future) as well as the aforesaid Linkstation HD-H250LAN. i do know that's a time consuming work and i am willing to pay a reasonable and affordable handling charges. thanks so much and so much. experts and friends are pleased to communicate with me at my email at : marcoboy1991@gmail.com