FAQ  •  Register  •  Login

.dir file in C:\ root

<<

seus

Streaming enthusiast

Posts: 20

Joined: Sat Aug 06, 2011 7:37 pm

Post Sun Sep 16, 2012 2:58 am

.dir file in C:\ root

I noticed a .dir file with no filename kept popping up in the root of C:\, I used Process Monitor and noticed Serviio service was creating it. All the file contains is a timestamp and a big hash. Just curious what the purpose of this file is...I'm on Windows 8 but never noticed this on Windows 7.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 16, 2012 7:05 pm

Re: .dir file in C:\ root

Not sure. Might be created by libRTMP to cache security hashes (but normally is under user's tmp folder)
<<

seus

Streaming enthusiast

Posts: 20

Joined: Sat Aug 06, 2011 7:37 pm

Post Wed Sep 19, 2012 5:22 am

Re: .dir file in C:\ root

zip wrote:Not sure. Might be created by libRTMP to cache security hashes (but normally is under user's tmp folder)

Interesting, not sure how that would get redirected to root of C:\, curious if other Windows 8 users see this.
<<

iheartninjas

User avatar

Serviio lover

Posts: 53

Joined: Sun Dec 18, 2011 12:03 pm

Location: Greenville, SC

Post Wed Sep 19, 2012 5:37 am

Re: .dir file in C:\ root

seus wrote:
zip wrote:Not sure. Might be created by libRTMP to cache security hashes (but normally is under user's tmp folder)

Interesting, not sure how that would get redirected to root of C:\, curious if other Windows 8 users see this.


Running win7 home premium i have this file. I didnt know where it came from
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 19, 2012 10:17 pm

Re: .dir file in C:\ root

It's there possibly because the user running the service doesn't have a 'home' directory?
<<

seus

Streaming enthusiast

Posts: 20

Joined: Sat Aug 06, 2011 7:37 pm

Post Fri Sep 21, 2012 5:53 am

Re: .dir file in C:\ root

zip wrote:It's there possibly because the user running the service doesn't have a 'home' directory?

It's running as SYSTEM under Windows so I guess that's possible, just not sure why I never saw it in the past.
<<

greenythebeast

Serviio newbie

Posts: 11

Joined: Fri Feb 24, 2012 10:12 am

Post Thu Nov 01, 2012 6:20 am

Re: .dir file in C:\ root

I have this problem as well. There's a .dir file in C:\

When looking in the Serviio log I see this:

  Code:
2012-10-31 21:12:57,256 INFO  [MediaServer] Serviio DLNA media streaming server v 1.0.1 (rev. 6dbf7c6e334f+)
2012-10-31 21:12:57,256 INFO  [MediaServer] Petr Nejedly 2009-2012
2012-10-31 21:12:57,256 INFO  [MediaServer] http://www.serviio.org
2012-10-31 21:12:57,256 INFO  [MediaServer]
2012-10-31 21:12:57,256 INFO  [MediaServer] Java 1.7.0_05-Oracle Corporation
2012-10-31 21:12:57,256 INFO  [MediaServer] OS Windows 7 amd64 6.1
2012-10-31 21:12:57,256 INFO  [MediaServer] File encoding: windows-1252
2012-10-31 21:12:57,256 INFO  [MediaServer] Headless mode enabled: true
2012-10-31 21:12:57,256 INFO  [MediaServer] User home dir: C:\
2012-10-31 21:12:57,256 INFO  [MediaServer] Temp dir: C:\Windows\TEMP\


I assume it's going into C:\ because that's what the user home dir is? Is there a way to change the user home dir?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Nov 01, 2012 3:13 pm

Re: .dir file in C:\ root

try to set user.home system property

http://www.serviio.org/index.php?option ... e&id=21#q3
<<

greenythebeast

Serviio newbie

Posts: 11

Joined: Fri Feb 24, 2012 10:12 am

Post Fri Nov 02, 2012 3:24 am

Re: .dir file in C:\ root

zip wrote:try to set user.home system property

http://www.serviio.org/index.php?option ... e&id=21#q3


What should I set it to? Would my temp folder be an ok place?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Nov 02, 2012 3:41 pm

Re: .dir file in C:\ root

set it to your user folder, i.e. /Users/username or Documents and Settings/username
<<

michpo

Serviio newbie

Posts: 5

Joined: Sun Dec 16, 2012 5:03 pm

Post Sun Dec 16, 2012 5:15 pm

Re: .dir file in C:\ root

Hi, I have also problem with dir file on my C drive. I tried edit ServiioService.exe.vmoptions and add there new line with /Users/username, but it not work for me :(

In my ServiioService.exe.vmoptions is this:
  Code:
-Xmx512m
user.home="/Users/michpo"

I also tried some modifications, for example "C:\Users\michpo", but also not work :(
Please can you help me?
Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 16, 2012 8:55 pm

Re: .dir file in C:\ root

NOt sure if the above helps, it might be internal to librtmp. Is that such a problem the file is there?
<<

michpo

Serviio newbie

Posts: 5

Joined: Sun Dec 16, 2012 5:03 pm

Post Sun Dec 16, 2012 9:41 pm

Re: .dir file in C:\ root

Why the dir file is in root of C drive? For what is this file?
I like tidy on my drives. In older versions of Serviio this file was not on root of C drive. Why now yes?
I think that it will be better if the file will be in Serviio folder.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 17, 2012 12:03 am

Re: .dir file in C:\ root

Try to change the .vmoptions file to:

  Code:
-Xmx512m -Duser.home=/Users/michpo
<<

michpo

Serviio newbie

Posts: 5

Joined: Sun Dec 16, 2012 5:03 pm

Post Mon Dec 17, 2012 11:01 pm

Re: .dir file in C:\ root

Thanks for your reply. After this change I obtaining this error message: Cannot connect to Serviio server, it does not seem to be running. Exiting...
Serviio service not run, and if I want to start it, nothing happens :(
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 17, 2012 11:31 pm

Re: .dir file in C:\ root

Try this

  Code:
-Xmx512m -Duser.home="/Users/michpo"


If it still doesn't work, check the serviio.log
<<

michpo

Serviio newbie

Posts: 5

Joined: Sun Dec 16, 2012 5:03 pm

Post Tue Dec 18, 2012 7:16 pm

Re: .dir file in C:\ root

Still not working :(
When I try to run service from task manager, nothing happens. But if I try to run service from service window, then I obtain this error message: "Error 1067 : The Process terminated unexpectedly".
There is no information about this problem in serviio.log file.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17213

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Dec 18, 2012 9:14 pm

Re: .dir file in C:\ root

Ok, the -D has to go before -Xmx

  Code:
-Duser.home=/Users/michpo -Xmx512m
<<

michpo

Serviio newbie

Posts: 5

Joined: Sun Dec 16, 2012 5:03 pm

Post Tue Dec 18, 2012 10:19 pm

Re: .dir file in C:\ root

Nice! It works :)
Thanks mate.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 57 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.