Robin Bowes Wrote: 
> Ok, I suggest you try this:
> 
> 1. stop slimserver
> 2. Take a copy of your prefs file
> 3. Edit your prefs file and remove the lines beginning with "db", eg.:
> 
> dbpassword:
> dbsource:
> dbusername:
> 
> 4. Restart slimserver.
> 
> This should cause slimserver to startup its own version of MySQL.
> 
> R.

Right I have done that. I've also mounted the NTFS folder that contains
the music folders & tracks to /mnt/Music using

-sudo mount --bind /media/hdd1/"My Documents/My Music" /mnt/Music-

I've then changed the music folder in Slimserver and restarted. Now
when I go to the log I get

-2006-07-03 16:01:15.0485 DBI
connect('mysql_socket=/var/cache/slimserver/slimserver-mysql.sock','',...)
failed: Can't connect to local MySQL server through socket
'/var/cache/slimserver/slimserver-mysql.sock' (2) at
/usr/share/perl5/Slim/Utils/MySQLHelper.pm line 324
2006-07-03 16:01:43.7892 opendir failed: /mnt/Music: Permission denied
2006-07-03 16:01:52.7781 find:
2006-07-03 16:01:52.7786 running resultset on: album-

which has the extra line about permission denied, even though I can
view the contents of /mnt/Music via the GUI or command line....?

Stinga Wrote: 
> No, that error you was due to it not being able to connect to mysql.
> nothing to do with ntfs disks.
> If you can see the ntfs disk from linux then slimserver can see it.
> What happens if you do...
> 
> netstat -anp|grep mysql
> 
> I would expect there to be some ports showing.

Running that gives....

[EMAIL PROTECTED]:~$ netstat -anp|grep mysql
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
unix  2      [ ACC ]     STREAM     LISTENING     79380    -           
/var/cache/slimserver/slimserver-mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     12513    -           
/var/run/mysqld/mysqld.sock
-

Thanks again for any help.


-- 
phazon
------------------------------------------------------------------------
phazon's Profile: http://forums.slimdevices.com/member.php?userid=6141
View this thread: http://forums.slimdevices.com/showthread.php?t=24952

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

Reply via email to