PDA

View Full Version : Network Drives with Slimp3



Scott Coats
2004-02-24, 14:48
I'm new here...so forgive me if this is already known.

I am trying to set my SLIMP3 server to user a network drive for my music
files. It does not seem to work. Why?

Thanks...

-Scott

Ron Thigpen
2004-02-24, 15:01
Scott Coats wrote:

> I am trying to set my SLIMP3 server to user a network drive for my music
> files. It does not seem to work. Why?


This problem is a result of the account under which the SlimServer is
running. The LocalSystem account cannot access any resource, no matter
how "fully shared", that is outside the bounds of that physical box. To
access any network resource, the SlimServer must be run under a user
account created for this purpose.

I'd imagine most users would want to run the SlimServer as a service.

To resolve:
================================================== =============
Create User Account for SlimServer
Edit SlimServer service properties to log in to this account
Create share for music directory
Set share permissions such that the SlimServer account can read
Optionally, for convenience, map a network drive to the share
Optionally, log in to OS using SlimServer account and test share access
Stop and restart the SlimServer service
Test results
================================================== =============

hth,

--rt

Pat Farrell
2004-02-24, 15:15
At 04:48 PM 2/24/2004, Scott Coats wrote:
>I am trying to set my SLIMP3 server to user a network drive for my music
>files. It does not seem to work. Why?

General answer is that the slimserver can't see the files.
A more specific answer would need more specifics about your
setup. Some Operating Systems have "protection" problems at startup
for networked files. Make sure that the userid that runs the slimserver
can read the file/directories.

Or send more specifics.

HTH,
Pat

kdf
2004-02-24, 15:18
Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:

> I'm new here...so forgive me if this is already known.
>
> I am trying to set my SLIMP3 server to user a network drive for my music
> files. It does not seem to work. Why?
>
> Thanks...

first: it should work.

second: how is it not working for you?
are you being told its not a valid directory or are you just not getting
anything read from it?

If you are getting a "still scanning" message all the time, network drives do
take longer to scan, so it can be a matter of waiting.

Third: You've provided no OS info or Server version number. If you are on
Windows, for example, and running the latest SlimServer 5.1 as a service, then
services have no permissions to use networked drives. You'd have to run the
server as a user who has permission to use the share.

for OSX, I recall there being an issue as to how to refer to the network drive,
using UNC paths instead of some other style. There are also likely permissions
to deal with.

-kdf

Scott Coats
2004-02-24, 15:26
kdf wrote:

>Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:
>
>
>
>>I'm new here...so forgive me if this is already known.
>>
>>I am trying to set my SLIMP3 server to user a network drive for my music
>>files. It does not seem to work. Why?
>>
>>Thanks...
>>
>>
>
>first: it should work.
>
>second: how is it not working for you?
>are you being told its not a valid directory or are you just not getting
>anything read from it?
>
>If you are getting a "still scanning" message all the time, network drives do
>take longer to scan, so it can be a matter of waiting.
>
>Third: You've provided no OS info or Server version number. If you are on
>Windows, for example, and running the latest SlimServer 5.1 as a service, then
>services have no permissions to use networked drives. You'd have to run the
>server as a user who has permission to use the share.
>
>for OSX, I recall there being an issue as to how to refer to the network drive,
>using UNC paths instead of some other style. There are also likely permissions
>to deal with.
>
>-kdf
>

kdf
2004-02-24, 15:36
Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:


> Sorry for not haveing the needed information:
>
> I am running Slimserver 5.1 as a service on Windows XP Pro w/SP1. The
> error text reads:
> "Oops - "N:\" doesn't seem to be a valid directory. Try again."
>
> I am able to read the songs with Winamp from that directory just fine.
> I am able to read it with Windows Media player fine as well.
>
> Please advise..
>
This would seem to follow what I suggested in my Third comment. Windows
services do not have access to network drives. You would have to run the server
under the control of a user. This user would also have to have permissions to
use the network drive, ie an account on the remote machine.

-kdf

Mitch Harding
2004-02-24, 15:40
See the previous reply to your message:

"If you are onWindows, for example, and running the latest SlimServer 5.1 as
a service, then services have no permissions to use networked drives. You'd
have to run the server as a user who has permission to use the share."

You are on Windows and running it as a serivce. The reason WinAmp and
Windows Media Player can ready the drive is because you run them as a
logged-in user, not as a service.

--
Mitch
www.mitcharf.com

"Love is a snowmobile racing across the tundra and then suddenly it flips
over, pinning you underneath. At night, the ice weasels come."
- Matt Groening
----- Original Message -----
From: "Scott Coats" <scott.coats (AT) mwsc (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, February 24, 2004 4:26 PM
Subject: [slim] Network Drives with Slimp3


> kdf wrote:
>
> >Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:
> >
> >
> >
> >>I'm new here...so forgive me if this is already known.
> >>
> >>I am trying to set my SLIMP3 server to user a network drive for my music
> >>files. It does not seem to work. Why?
> >>
> >>Thanks...
> >>
> >>
> >
> >first: it should work.
> >
> >second: how is it not working for you?
> >are you being told its not a valid directory or are you just not getting
> >anything read from it?
> >
> >If you are getting a "still scanning" message all the time, network
drives do
> >take longer to scan, so it can be a matter of waiting.
> >
> >Third: You've provided no OS info or Server version number. If you are
on
> >Windows, for example, and running the latest SlimServer 5.1 as a service,
then
> >services have no permissions to use networked drives. You'd have to run
the
> >server as a user who has permission to use the share.
> >
> >for OSX, I recall there being an issue as to how to refer to the network
drive,
> >using UNC paths instead of some other style. There are also likely
permissions
> >to deal with.
> >
> >-kdf
> >

Scott Coats
2004-02-24, 15:54
Mitch Harding wrote:

>See the previous reply to your message:
>
>"If you are onWindows, for example, and running the latest SlimServer 5.1 as
>a service, then services have no permissions to use networked drives. You'd
>have to run the server as a user who has permission to use the share."
>
>You are on Windows and running it as a serivce. The reason WinAmp and
>Windows Media Player can ready the drive is because you run them as a
>logged-in user, not as a service.
>
>--
>Mitch
>www.mitcharf.com
>
>"Love is a snowmobile racing across the tundra and then suddenly it flips
>over, pinning you underneath. At night, the ice weasels come."
> - Matt Groening
>----- Original Message -----
>From: "Scott Coats" <scott.coats (AT) mwsc (DOT) com>
>To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
>Sent: Tuesday, February 24, 2004 4:26 PM
>Subject: [slim] Network Drives with Slimp3
>
>
>
>
>>kdf wrote:
>>
>>
>>
>>>Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:
>>>
>>>
>>>
>>>
>>>
>>>>I'm new here...so forgive me if this is already known.
>>>>
>>>>I am trying to set my SLIMP3 server to user a network drive for my music
>>>>files. It does not seem to work. Why?
>>>>
>>>>Thanks...
>>>>
>>>>
>>>>
>>>>
>>>first: it should work.
>>>
>>>second: how is it not working for you?
>>>are you being told its not a valid directory or are you just not getting
>>>anything read from it?
>>>
>>>If you are getting a "still scanning" message all the time, network
>>>
>>>
>drives do
>
>
>>>take longer to scan, so it can be a matter of waiting.
>>>
>>>Third: You've provided no OS info or Server version number. If you are
>>>
>>>
>on
>
>
>>>Windows, for example, and running the latest SlimServer 5.1 as a service,
>>>
>>>
>then
>
>
>>>services have no permissions to use networked drives. You'd have to run
>>>
>>>
>the
>
>
>>>server as a user who has permission to use the share.
>>>
>>>for OSX, I recall there being an issue as to how to refer to the network
>>>
>>>
>drive,
>
>
>>>using UNC paths instead of some other style. There are also likely
>>>
>>>
>permissions
>
>
>>>to deal with.
>>>
>>>-kdf
>>>

kdf
2004-02-24, 16:05
Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:


> >
> Forgive me....But how do I change the service to use my login id? I
> have tried to do this under the SERVICES Properties and the service will
> not start. It tells me that it is unalbe to use my login id...that it is
> invalid. I do not use a password within Windows XP.
>
> -Help again..
>
You cannot run it as a service if you want to use network drives. You have to
start SlimSever manually as an application once you are started up. Another
option woudl be to put a shortcut of Slimserver in the Startup section of the
Start menu. This will start teh server when you boot up.

Another option would be to run Slimserver on the same machine that has your mp3
files, if thats possible. Accessing the server remotely is probably going to
give you better performance than if the server has to keep accessing the remote
drive anyway. Unless your mp3 files are stored on a PC that is much slower than
your own.

-kdf

Roy M. Silvernail
2004-02-24, 16:29
On Tue, 2004-02-24 at 18:05, kdf wrote:
> Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:
>
>
> > >
> > Forgive me....But how do I change the service to use my login id? I
> > have tried to do this under the SERVICES Properties and the service will
> > not start. It tells me that it is unalbe to use my login id...that it is
> > invalid. I do not use a password within Windows XP.
> >
> > -Help again..
> >
> You cannot run it as a service if you want to use network drives. You have to
> start SlimSever manually as an application once you are started up.

Actually, I think you can. The problem here is that there is no
password on Scott's user account, and services cannot run as a user
unless the account is passworded. (NT had the same requirement for
AutoAdminLogon configurations)
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

kdf
2004-02-24, 16:36
Quoting "Roy M. Silvernail" <roy (AT) rant-central (DOT) com>:

> On Tue, 2004-02-24 at 18:05, kdf wrote:
> > Quoting Scott Coats <scott.coats (AT) mwsc (DOT) com>:
> >
> >
> > > >
> > > Forgive me....But how do I change the service to use my login id? I
> > > have tried to do this under the SERVICES Properties and the service will
>
> > > not start. It tells me that it is unalbe to use my login id...that it is
>
> > > invalid. I do not use a password within Windows XP.
> > >
> > > -Help again..
> > >
> > You cannot run it as a service if you want to use network drives. You have
> to
> > start SlimSever manually as an application once you are started up.
>
> Actually, I think you can. The problem here is that there is no
> password on Scott's user account, and services cannot run as a user
> unless the account is passworded. (NT had the same requirement for
> AutoAdminLogon configurations)
> --

>
I stand corrected :)) Worth trying out.

I wouldnt know since I dont run the windows version, except for testing. I'll
note again that its noticeably slower when accessing a network drive. If there
are options to keep the library local to the server, its always a better choice.
I also dont run without a password, even if it is automatically entered anyway ;)
-kdf

Bob Myers
2004-02-24, 16:49
Are the Slim people aware that the FAQ contains the wrong answer to this
question about a Windows server trying to access music on a networked or
extenal drive, which has already been answered about four times on this
board? Probably a good idea to fix the FAQ.

--
Bob


Scott Coats wrote on Tuesday, February 24, 2004 2:26 PM:

> kdf wrote:
>
>>> I'm new here...so forgive me if this is already known.
>>>
>>> I am trying to set my SLIMP3 server to user a network drive for my
>>> music files. It does not seem to work. Why?
>>>
>>> Thanks...
>>>
>>>
> I am running Slimserver 5.1 as a service on Windows XP Pro w/SP1. The
> error text reads:
> "Oops - "N:\" doesn't seem to be a valid directory. Try again."
>
> I am able to read the songs with Winamp from that directory just fine.
> I am able to read it with Windows Media player fine as well.
>
> Please advise..

dean
2004-02-24, 16:57
Good suggestion. Will fix.

-dean

On Feb 24, 2004, at 3:49 PM, Bob Myers wrote:

> Are the Slim people aware that the FAQ contains the wrong answer to
> this
> question about a Windows server trying to access music on a networked
> or
> extenal drive, which has already been answered about four times on this
> board? Probably a good idea to fix the FAQ.
>
> --
> Bob
>
>
> Scott Coats wrote on Tuesday, February 24, 2004 2:26 PM:
>
>> kdf wrote:
>>
>>>> I'm new here...so forgive me if this is already known.
>>>>
>>>> I am trying to set my SLIMP3 server to user a network drive for my
>>>> music files. It does not seem to work. Why?
>>>>
>>>> Thanks...
>>>>
>>>>
>> I am running Slimserver 5.1 as a service on Windows XP Pro w/SP1. The
>> error text reads:
>> "Oops - "N:\" doesn't seem to be a valid directory. Try again."
>>
>> I am able to read the songs with Winamp from that directory just fine.
>> I am able to read it with Windows Media player fine as well.
>>
>> Please advise..
>
>

T
2004-02-25, 00:39
> You cannot run it as a service if you want to use network drives.

You can, and I do (thanks to some info acquired from this list a couple
months back).

I use XP Pro at home, and NT4 at work.

I created a user account called SlimServer, and set the service to start up
using that account.

On XP, this is done by going to ControlPanel->Admin.Tools>Services and
editing the properties for the SlimServer service, setting LogOn to 'This
Account' and 'SlimServer' with the appropriate password.

On NT4, ControlPanel->Services and proceed as for XP.

Note: create the account 'SlimServer' before modifying the SlimServer
service properties.

Tom