That's the thing, I haven't run it as root. As a matter of fact, I
just cleared out *everything* pertaining to slimserver on my
linkstation and reinstalled *everything* back from the official 6.0.0
release. Then I used my startup script with the --user slimserver in
it and it still does the exact same thing... 

Thankfully it seems that setting the --cachedir to the directory I
wanted did the trick though. I still think there's a bug in the code.

Thanks,
Daniel

On Tue, 29 Mar 2005 15:20:43 +0200, "Michael Herger"
<[EMAIL PROTECTED]> wrote:

>On Tue, 29 Mar 2005 12:55:22 +0000, Daniel Born <[EMAIL PROTECTED]>  
>wrote:
>
>> Hi Michael,
>>
>> I'm running slimserver on a Buffalo Linkstation. I downloaded the
>> complete .tar.gz archive and expanded it in /usr/local/slimserver
>> directory so I did not use any rpm. My call script uses --daemon and
>> --user slimserver etc...
>> (I created that user with its home directory at /home/slimserver).
>
>SlimServer tries to access its database in the /root/ folder - where the  
>user "slimserver" does not have access to. I guess the first time you ran  
>slimserver you did it as root. Try removing /etc/slimserver* as well as  
>~/.slimserver.prefs. Then start slimserver as user "slimserver". This  
>should create a new .slimserver.prefs file.
>
>Or use the --cachedir option.
>
>> This used to work just fine for V5.4.x where all "user" files would
>> get created in /home/slimserver but now it seems that --user doesn't
>> completely work (seems like some paths are hardcoded maybe?)
>
>I guess it was configured when you (accidentally?) ran it as user root.
>
>> Tonight I'll try looking at the code that generates the error to see
>> if I can find anything...
>
>Have fun :-)
>
>
>> Thanks,
>> Daniel
>>
>> On Tue, 29 Mar 2005 08:07:11 +0200, "Michael Herger"
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Daniel
>>>
>>> What linux are you using? How did you install?
>>>
>>> On Mon, 28 Mar 2005 23:21:14 +0000, Daniel Born <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> If I try to have the slimserver run as another user (slimserver), I
>>>> get this message in log file:
>>>> DBI connect('dbname=/root/.slimserversql.db','',...) failed: unable to
>>>> open database file(1) at dbdimp.c line 94 at
>>>> /usr/local/slimserver6/Slim/DataStores/DBI/DataModel.pm line 106
>>>>
>>>> Since my user "slimserver" has its home directory at /home/slimserver,
>>>> it's not surprising that it can't open the file in the root's home
>>>> directory. If I use user "root", then it works fine.
>>>>
>>>> Thanks,
>>>> Daniel
>>>>
>>>>
>>>> _______________________________________________
>>>> Discuss mailing list
>>>> [email protected]
>>>> http://lists.slimdevices.com/lists/listinfo/discuss
>>
>>
>> _______________________________________________
>> Discuss mailing list
>> [email protected]
>> http://lists.slimdevices.com/lists/listinfo/discuss


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

Reply via email to