Save Repo to network share

Questions and information regarding the TeamDrive Personal Server - Fragen und Informationen zum TeamDrive Personal Server

Save Repo to network share

Postby Spacey » 27 Apr 2011, 16:55

Hi!
I want to set up the TeamDrive Personal Server (Win) on a VM with only small HD space. I want to put the file repository on a network share. I already tried a direct mounting with a letter-share and the direct networkpath but it won't work. Always get this error message in the log:

Code: Select all
110427 16:24:13 TeamDrive Personal Server, version 1.0.044 (CSLib 1.0.0(Built Dec 17 2010 11:21:18))
Command line: TeamDrive_PS
110427 16:24:13 [Note] License key repository space limit: 10GB
110427 16:24:13 [Error] TDPSProperties::setProperty(config_tdps.cc:173) Repository path (repository-path) does not exist: S:\
===========================================
110427 16:24:13 TeamDrive Personal Server shutdown
110427 16:24:13 [Error] *** Uncaught error
110427 16:24:13 [Error] CSSys::sys_removeFile(CSSys_win.cc:248) Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird (32): './tdpsd.pid'


or
Code: Select all
110427 16:23:48 TeamDrive Personal Server, version 1.0.044 (CSLib 1.0.0(Built Dec 17 2010 11:21:18))
Command line: TeamDrive_PS
110427 16:23:48 [Note] License key repository space limit: 10GB
110427 16:23:48 [Error] Cannot find Space Database file: '\\server1\TeamDriveFiles$\space-db'
110427 16:23:48 [Note] Please check the repository-path system parameter.
110427 16:23:48 [Note] If correct then create an empty file called 'space-db'
110427 16:23:48 [Note] in this location.
110427 16:23:48 [Error] CSSysFile::sf_open(CSSys_win.cc:87) Das System kann die angegebene Datei nicht finden (2): '\\server1\TeamDriveFiles$\space-db'
===========================================
110427 16:23:48 TeamDrive Personal Server shutdown
110427 16:23:48 [Error] *** Uncaught error
110427 16:23:48 [Error] CSSys::sys_removeFile(CSSys_win.cc:248) Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird (32): './tdpsd.pid'


Ideas how to get this working?

The share of course got rights for "everybody" and everything.....

Regards, Frank
Spacey
 
Posts: 14
Joined: 27 Apr 2011, 16:42

Re: Save Repo to network share

Postby Spacey » 29 Apr 2011, 15:47

Looks like it's an permission problem either of the service or from the share.....

When starting the .exe directly it works.

OK, here's what I did:
- I created an special AD user just for accessing the network share.
- I created the share on the storage server and gave the user the correct rights.
- Gave the parent TDPS directory the same rights to the special AD user that he can access the TDPS Files
- Changed the service that it'll run as the special AD user
- Entered the direct network path to the shared data storage folder within the tdsp config files. Smth like: ''\\data\teamdriveshare\data" - the direct path to the space-db file.

To debug you can try running the teamdrivepersonalserver.exe (or so) file from a cmd. Then it works (no new shell prompt) then the network path itself works. Then it's just a service right problem.

It works if you can either start the service directly or use the start-script provided by TeamDrive.

Much fun & success!
Spacey
 
Posts: 14
Joined: 27 Apr 2011, 16:42

Re: Save Repo to network share

Postby EPruehs » 05 May 2011, 14:48

You will find informations about Windows Services accessing network shares here:

http://www.eggheadcafe.com/software/asp ... share.aspx

and also here:

http://stackoverflow.com/questions/8874 ... work-share

or Google for "windows service network share".

Eckhard
EPruehs
TeamDrive Team Member
 
Posts: 169
Joined: 17 Jul 2008, 18:05

Re: Save Repo to network share

Postby Shalani » 28 Aug 2011, 09:16

Network share wastes Save Repo to . Its birth inserts the financial artist. The funeral resets Save Repo to . The dead abides.
------------------------------------------------------------------------------------
Shalani
 
Posts: 2
Joined: 28 Aug 2011, 09:09


Return to TeamDrive Personal Server (TDPS)

Who is online

Users browsing this forum: No registered users and 11 guests

cron