I had this with FC3 and filed it as bug 1085.
I ran the RPM installation as 'root' and so it created the slimserver.db and
slimserversql.db files in /root/ and the cachedir at
/root/usr/local/slimserver/..
Hmm... the rpm should create a user "slimserver" and install the script to run using this user. Have you ever tried to remove everything slimserver related (rpm, ~/.slimserver.pref, /etc/slim*) and reinstalling the rpm from scratch? When slimserver is started for the first time it will create the configuration file (where the path to db & cie. is stored) with the user's permission. I guess you ran it the very first time as user root which created the wrong paths.
I had to change permissions on /root/ and on the browser chchedirs so that any user could access them.
...and that's definitely not what you wanted to do :-/
Patrick
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Herger Sent: 29 March 2005 07:07 To: Slim Devices Discussion Subject: Re: [slim] Unable to run slimserver 6.0.0 on linux as user other thanroot
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 Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
--
Michael
----------------------------------------------------------- Help translate SlimServer by using the StringEditor Plugin (http://www.herger.net/slim/)
_______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
_______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
--
Michael
----------------------------------------------------------- Help translate SlimServer by using the StringEditor Plugin (http://www.herger.net/slim/)
_______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss