Bugzilla – Bug 1085
Slimserver daemon fails to start in FC3
Last modified: 2008-12-15 13:37:01 UTC
Slimserver V6.0b1 Fedora Core 3 On boot, slimserver carshes out with log file error: "DBI connect('dbname=/root/.slimserversql.db','',...) failed: unable to open database file(1) at dbdimp.c line 94 at /usr/local/slimserver//Slim/DataStores/DBI/DataModel.pm line 106"
Patrick - this looks like a permission problem. Are you running the server as root? I just installed FC3, and am having no issues with SlimServer
Patrick - can you give this a try with the latest nightly? I'm having no problems running SlimServer on FC3. Thanks.
I am running the server as root: /etc/init.d/slimserver start It also fails on boot into runlevel 5, before any logins are enabled. I have downloaded the 14/3/05 nightly, and the problem persists. I assume the problems is whatever is causing the "//" ?
No - the // shouldn't have any effect. The filesystem (or the shell) will just resolve that to one slash. Try: ls -l ///tmp
You're correct (of course), "ls -l /usr/local/slimserver//Slim/DataStores/DBI/DataModel.pm" works fine. DataModel.pm line 106 looks like it's trying to open the dB, so if it's a permissions problem where should I look? Running as root, "perl -w /usr/local/slimserver/slimserver.pl" works fine, whereas "/etc/init.d/slimserver start" doesn't (it says [OK] - but it isn't). So what's the difference?
OK - I'm getting somewhere with this: I've done "chown -R slimserver:slimserver /usr/local/slimserver" to get rid of various files owned by "1000" and "root" (didn't solve it). .slimserver.db .silmserversql.db have been installed in /root on my machine, owned by root with permissions 644. /root has permissions set 750. "chmod 777 /root/" enables root to start the slimserver daemon - but having /root set with 777 permissions doesn't seem ideal. So where should .slim*.db go, and what ownership/permissions are required for the directory/files?
Permissions problem also with /root/usr/local/squeezebox/.... which chmod -R 777 /root/usr/local/squeezebox resolves. Seems like these are just getting installed in the wrong place?
Patrick - where are we with this? Is SlimServer running for you now, but still have lingering permissions problems?
Patrick - from your list comments, it sounds like you're up and running on FC3. Please reopen if that is not the case. Thanks.
Closing forgotten bug