PDA

View Full Version : Slimserver 6.5.4 doesn't start on Fedora Core 6



joefred
2007-09-12, 13:19
I'm having problems running slimserver 6.5.4 on Fedora Core 6

It's installed with rpm after checking for all dependencies and in the end I get the "Point your web browser to...".

Somewhere along the line I got a message that the user slimserver didn't exist. I created the user slimserver and joined it to the group with the same name and setting the homedir to /usr/local/slimserver.

Checking the service shows slimserver as stopped and I get nothing in /etc/slimsserver.conf until I change the owner to slimserver. After that I get a config written to the file when trying to start with 'service slimserver start'

/tmp/slimserver.log give me this:
2007-09-12 22:03:55.8297 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-09-12 22:03:55.8309 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-09-12 22:03:55.8318 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-09-12 22:03:55.8324 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-09-12 22:03:55.8331 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
mkdir /MySQL: Permission denied at /usr/local/slimserver/Slim/Utils/MySQLHelper.pm line 156

I make something wrong with the permissions here, but I don't understand what. Problems creating the database?

Please - help - anyone
</jorgen>

joefred
2007-09-13, 00:00
I did not forget about SElinux, it is disabled

</jorgen>

servies
2007-09-13, 02:18
I'm not sure but the last errormessage suggest me that /usr/local/slimserver should be chowned to slimserver.
So the following will probably fix the problem:

chown -R slimserver /usr/local/slimserver

joefred
2007-09-13, 04:23
... I don't know why it worked after the second installation but it did.

The only thing that was different, that I can think of, was that the user slimserver already did exists.

</jorgen>

OldeSchule
2007-09-13, 13:25
Totally guessing - your initial install was trying to create the directory /MySQL. That won't work unless you're root. From the messages above, it's probably because it tried to look up slimserver's $HOME from /etc/passwd and didn't properly handle the fact that the ID didn't exist.

You added the ID with a proper home directory, it created $HOME/MySQL and was happy. Ta-daaa.