Hi all,
we have problems launching STAF as a service on Windows 2008 R2 and
accessing as LOCAL service. No problems instead accessing from remote
machine through TCP/IP interface.
D:\Validation\STAF>echo %STAF_INSTANCE_NAME%
STAF
D:\Validation\STAF>staf local ping ping
Error registering with STAF, RC: 21
This is the output of ping command launched from remote machine:
myuser@machineB:~$ staf machineA.domain.my ping ping
Response
--------
PONG
Var list command output from remote machine is in attach.
On windows 2008 machine the registry settings for the service are the
following:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\STAF]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):44,00,3a,00,5c,00,56,00,61,00,6c,00,69,00,64,00,61,00,74,00,\
69,00,6f,00,6e,00,5c,00,62,00,69,00,6e,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"="STAF"
"WOW64"=dword:00000001
"ObjectName"="LocalSystem"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\STAF\parameters]
"application"="D:\\Validation\\STAF\\startSTAFProc.bat"
Is there some configuration error or some specific security permission to
set?
Thanks in advance,
Luca
myuser@machineB:~$ staf machineA.domain.my var list
Response
--------
STAF/Config/BootDrive : C:
STAF/Config/CodePage : IBM-437
STAF/Config/ConfigFile : D:\Validation\STAF\bin\STAF.cfg
STAF/Config/DefaultAuthenticator: none
STAF/Config/DefaultInterface : ssl
STAF/Config/InstanceName : STAF
STAF/Config/Machine : machineA.domain.my
STAF/Config/MachineNickname : machineA.domain.my
STAF/Config/Mem/Physical/Bytes : 4294967295
STAF/Config/Mem/Physical/KB : 4194303
STAF/Config/Mem/Physical/MB : 4095
STAF/Config/OS/MajorVersion : 6
STAF/Config/OS/MinorVersion : 1
STAF/Config/OS/Name : Unknown WinNT
STAF/Config/OS/Revision : 7600
STAF/Config/Processor/NumAvail : 16
STAF/Config/Sep/Command : &
STAF/Config/Sep/File : \
STAF/Config/Sep/Line :
STAF/Config/Sep/Path : ;
STAF/Config/STAFRoot : D:\Validation\STAF
STAF/Config/StartupTime : 20110309-09:56:54
STAF/DataDir : D:\Validation\STAF\data\STAF
STAF/Env/ALLUSERSPROFILE : C:\ProgramData
STAF/Env/APPDATA :
C:\Windows\system32\config\systemprofile\AppData\Roaming
STAF/Env/CLASSPATH :
D:\Validation\STAF\bin\JSTAF.jar;D:\Validation\STAF\samples\demo\STAFDemo.jar;D:\Validation\STAF\samples\demo\STAFDemo.jar;D:\Validation\STAF\bin\JSTAF.jar
STAF/Env/CommonProgramFiles : C:\Program Files (x86)\Common Files
STAF/Env/CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
STAF/Env/CommonProgramW6432 : C:\Program Files\Common Files
STAF/Env/COMPUTERNAME : machineA
STAF/Env/ComSpec : C:\Windows\system32\cmd.exe
STAF/Env/FP_NO_HOST_CHECK : NO
STAF/Env/LOCALAPPDATA :
C:\Windows\system32\config\systemprofile\AppData\Local
STAF/Env/NUMBER_OF_PROCESSORS : 16
STAF/Env/ORACLE_HOME : D:\Program Files (x86)\OracleClient
STAF/Env/OS : Windows_NT
STAF/Env/OvAgentDir : C:\ProgramData\HP\HP BTO Software\
STAF/Env/OvDataDir : C:\ProgramData\HP\HP BTO Software\
STAF/Env/OvInstallDir : C:\Program Files\HP\HP BTO Software\
STAF/Env/OVPERLLIB : C:\Program Files\HP\HP BTO
Software\nonOV\Perl\a\lib
STAF/Env/Path :
D:\Validation\STAF\bin;D:\Validation\STAF\bin;C:\Program
Files\HP\NCU;C:\Program
Files\Legato\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Microsoft Network Monitor 3\;D:\Program Files\TortoiseSVN\bin;D:\Program
Files\SlikSvn\bin\;D:\Program Files (x86)\OracleClient\;C:\Program Files\HP\HP
BTO Software\bin;C:\Program Files\HP\HP BTO Software\bin\win64;C:\Program
Files\HP\HP BTO Software\bin\win64\OpC
STAF/Env/PATHEXT :
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
STAF/Env/PROCESSOR_ARCHITECTURE : x86
STAF/Env/PROCESSOR_ARCHITEW6432 : AMD64
STAF/Env/PROCESSOR_IDENTIFIER : Intel64 Family 6 Model 26 Stepping 5,
GenuineIntel
STAF/Env/PROCESSOR_LEVEL : 6
STAF/Env/PROCESSOR_REVISION : 1a05
STAF/Env/ProgramData : C:\ProgramData
STAF/Env/ProgramFiles : C:\Program Files (x86)
STAF/Env/ProgramFiles(x86) : C:\Program Files (x86)
STAF/Env/ProgramW6432 : C:\Program Files
STAF/Env/PROMPT : $P$G
STAF/Env/PSModulePath :
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
STAF/Env/PUBLIC : C:\Users\Public
STAF/Env/STAF_INSTANCE_NAME : STAF
STAF/Env/STAFCONVDIR : D:\Validation\STAF\codepage
STAF/Env/SystemDrive : C:
STAF/Env/SystemRoot : C:\Windows
STAF/Env/TEMP : C:\Windows\TEMP
STAF/Env/TMP : C:\Windows\TEMP
STAF/Env/UATDATA :
C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
STAF/Env/USERDOMAIN : DOMAIN
STAF/Env/USERNAME : machineA$
STAF/Env/USERPROFILE : C:\Windows\system32\config\systemprofile
STAF/Env/windir : C:\Windows
STAF/Version : 3.3.2
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users