[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Win7 and kbdd daemon



 

 > From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ziliang Guo
 > Sent: Thursday, 14 July 2011 9:03 PM
 > To: Condor-Users Mail List
 > Subject: Re: [Condor-users] Win7 and kbdd daemon

1. The condor_kbdd has to be listed under DAEMON_LIST and be running under the system account in 
>  order to add itself to the registry. Also, since it is a 32bit process, its registry edit may end up getting redirected 
>  to the WOW64 registry. Are you sure that is not what is happening? 
 
I have rechecked this a number of times. It is definitely in DAEMON_LIST and I can see it running in taskmanager,
(along with condor_master and condor_startd, all running as SYSTEM). I have checked both the normal and WOW64
sections of the registry and there is NO condor_kbdd entry.
 
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
 
I have logged on/off and rebooted multiple times but nothing changes.
 
2. The kbdd is the only daemon that should NOT fail if it cannot write to the log. In fact, it specifically has 
>  code in place to not fail. What happens that leads you to believe this is the cause? 
 
If  I manually add condor_kbdd to the registry to start at logon then I can very briefly see a cmd prompt
flash up at logon but I never see and extra condor_kbdd in the taskmanager.
 
If I then try to manually start it from a normal command prompt I get the following message.
 

c:\progra~1\condor\bin\condor_kbdd.exe

07/15/11 11:27:32 Can't open "C:\PROGRA~1\condor/log/KbdLog.txt"
dprintf() had a fatal error in pid 4520
Can't open "C:\PROGRA~1\condor/log/KbdLog.txt"
errno: 13 (Permission denied)
 
 
If I open a command prompt using runas administrator then condor_kbdd does run OK, I can now
see it in taskmanager (running under my username now) and it talks OK with the startd.
 
So the only way I can get it working (after adding it to the registry) is to change the permissions
on the log directory.
 
I have used D_FULLDEBUG but nothing pertient seems to show up in the log files.
 
The only other difference I can think of is that we place the condor directory in
Program Files. Our kix script refers to %ProgramFiles% so on 32 systems this is c:\program files\
(or progra~1) and on 64 bit systems this is c:\program files (x86)\ (or progra~2). On 64 bit systems
we add a link so that c:\program files\condor points to c:\program files (x86)\condor
In all our config files we refer to c:\progra~1\condor as in the past we have found that the config
file cannot handle folders with spaces in them. Maybe it's different for 7.6.1?
 
Please let us know if we can supply any more info about this.
 
It's not a show stopper for us as our install script adds workarounds to handle it.
 
Thanks
 
Cheers
 
Greg