[tahoe-dev] Windows service problem

sickness sickness at tiscali.it
Thu Jul 14 07:53:49 PDT 2011


On Thu, Jul 14, 2011 at 07:28:55AM -0700, Shu Lin wrote:
> 
> On Jul 11, 2011, at 11:41 PM, sickness wrote:
> 
> > I had the same problem and solved starting the interpreter and then they pyscript, so my:
> > C:\tahoelafsclient\tahoelafsclient.bat
> > would have inside:
> > "C:\Python26\python.exe"  "c:\tahoe-lafs\bin\tahoe.pyscript"  start C:\tahoelafsclient
> > in this way the service will start correctly.
> > 
> 
> This doesn't work for me. The same failure as before.
> 
> My registry entry is like
> tahoe-lafs-->Parameters-->AppDir (Name), REG_SZ (Type), c:\ (Data)
>                                             -->Application (Name), REG_SZ (Type), run_tahoe.bat (Data)
> 
> I hope there is no error in the registry, right?
> 
> Thanks a lot,
> -Shu
> 
> 
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
> 
this is the .reg of my client registry settings:
#####################################################cut here#################################################
��Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tahoeclient]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,74,00,61,00,68,00,6f,00,65,00,63,00,6c,00,\
  69,00,65,00,6e,00,74,00,5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,\
  00,78,00,65,00,00,00
"DisplayName"="tahoeclient"
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tahoeclient\Parameters]
"AppDir"="C:\\tahoeclient"
"Application"="C:\\tahoeclient\\tahoeclient.bat"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tahoeclient\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tahoeclient\Enum]
"0"="Root\\LEGACY_TAHOECLIENT\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

#####################################################cut here#################################################

and this is my C:\tahoeclient\tahoeclient.bat file:
#####################################################cut here#################################################
"C:\Python26\python.exe"  "c:\tahoe-lafs\bin\tahoe.pyscript"  start C:\tahoeclient
#####################################################cut here#################################################

I've tested this conf on win2k and winxp and it works fine on both to *start* the service, obviously not to stop or restart it :)

(I also think that if a win32 installer will ever be made, this info could be useful)


More information about the tahoe-dev mailing list