PDA

View Full Version : Contents of slimserver.conf?



PAUL WILLIAMSON
2004-04-13, 16:10
I just downloaded the 5.1.1 stable (non-cvs) slimserver and the /etc/slimserver.conf file is empty. I looked around the slimdevices site and didn't see an example of one of them. There is an /etc/sysconfig/slimserver file whose contents seem to look like a config file.

If this is the case, when attempting to start slimserver, it appears to hang for a long time (at least an hour) and never starts.

I am running RH 9.

Any help?

Paul

Pat Farrell
2004-04-13, 16:31
At 07:10 PM 4/13/2004, PAUL WILLIAMSON wrote:
>I just downloaded the 5.1.1 stable (non-cvs) slimserver and the
>/etc/slimserver.conf file is empty. I looked around the slimdevices site
>and didn't see an example of one of them. There is an
>/etc/sysconfig/slimserver file whose contents seem to look like a config file.

When the slimserver starts the first time, it writes out one.
Not much in it, but enough to get it happy.

>If this is the case, when attempting to start slimserver, it appears to
>hang for a long time (at least an hour) and never starts.

This is not normal. Especially with an empty config file.


>I am running RH 9.

I'm running Fedora One, which is pretty close to RH9.

How do you start it? the /etc/rc.d/init.d/slimserver script
really wants to be started while you are root, either su
or do a
su -c /etc/rc.d/init.d/slimserver start

or run it by hand, go to the /usr/local/slimserver directory
and run the perl script manually.
you probably should try --d_stdio --d_source . --logfile foo.log

The basic config for the slimserver is specified in
/etc/slimserver.conf

Control for the daemon startup and stop is in
/etc/sysconfig/slimserver

Be careful, is there is no /etc/slimserver.conf, the server will write one
to ~ and call it ~.slimserver.conf which will not show up when you do
a casual ls command due to the leading dot

When you start empty, there is no music libarary to scan.
The first scan takes a while,
Sometimes it can take so long to scan a large library that
I get tired of waiting.

Pat