The <> around the address and the sock= are part of the address, and are needed.
sudo condor_drain -debug "<192.168.9.161:9618?addrs=192.168.9.161-9618&alias=condor-execute&noUDP&sock=startd_11727_5337>"
condor_drain -debug "condor-execute"
should also work, since "condor-execute" is the value of the Machine attribute in the collector.
-tj
From: Curtis Spencer
Sent: Friday, April 18, 2025 12:58 PM To: John M Knoeller Cc: HTCondor-Users Mail List Subject: Re: [HTCondor-users] condor_drain error I ran that command and tried running `condor_drain` using the entire value of MyAddress but it hung and I had to exit. I also tried with the Ip address and machine alias but got the same errors as before.
```
$ condor_status -af:h Name Machine MyAddress
Name Machine MyAddress slot1@condor-execute condor-execute <192.168.9.161:9618?addrs=192.168.9.161-9618&alias=condor-execute&noUDP&sock=startd_11727_5337> $ sudo condor_drain -debug
192.168.9.161:9618?addrs=192.168.9.161-9618&alias=condor-execute&noUDP&sock=startd_11727_5337
[1] 41511 [2] 41512 [3] 41513 debian@condor-master:~$ -bash: noUDP: command not found 04/18/25 17:39:47 condor_read(): Socket closed abnormally when trying to read 5 bytes from startd 192.168.9.161:9618?addrs=192.168.9.161-9618, errno=104 Connection reset by peer 04/18/25 17:39:47 SECMAN: no classad from server, failing 04/18/25 17:39:47 ERROR: SECMAN:2011:Connection closed during command authorization. Probably due to an unknown command. Attempt to send DRAIN_JOBS to startd <192.168.9.161:9618> failed Failed to start DRAIN_JOBS command to 192.168.9.161:9618?addrs=192.168.9.161-9618 ^C [1] Exit 1 sudo condor_drain -debug 192.168.9.161:9618?addrs=192.168.9.161-9618 [2]- Done alias=condor-execute [3]+ Exit 127 noUDP $ sudo condor_drain -debug 192.168.9.161
04/18/25 17:38:45 Can't find address for startd 192.168.9.161 ERROR: Can't find address for startd 192.168.9.161 $ sudo condor_drain -debug condor-execute
ERROR: unknown host condor-execute ```
Thanks,
Curtis
On Fri, Apr 18, 2025 at 7:17âAM John M Knoeller <johnkn@xxxxxxxxxxx> wrote:
|