Print

Print


Hello Fabrizio

I am testing the latest development version 20050509-2006.

I see that xrdcp exits immediately if the xrootd is not running on
the data server:


work > xrdcp  -DIDebugLevel 2   root://datadevsol05:2094////prod/t1 -  | wc -c
Overriding 'DebugLevel' with value 2.  Final value: 2
050517 13:02:20 001 Xrd: main (C) 2004 SLAC INFN xrdcp 0.2 beta
050517 13:02:20 001 Xrd: Create (C) 2004 SLAC INFN XrdClient 0.3
050517 13:02:20 001 Xrd: GetDomainToMatch GetHostName(kama) returned name=kama.slac.stanford.edu
050517 13:02:20 001 Xrd: GetDomainToMatch GetDomain(kama) --> slac.stanford.edu
050517 13:02:20 001 Xrd: XrdClientUrlSet List of servers to connect to is [datadevsol05:2094]
050517 13:02:20 001 Xrd: XrdClientUrlSet Remote file to open is '///prod/t1'
050517 13:02:20 001 Xrd: ConvertSingleDNSAlias Resolving datadevsol05:2094
050517 13:02:20 001 Xrd: ConvertSingleDNSAlias Found host datadevsol05.slac.stanford.edu with addr 134.79.85.155
050517 13:02:20 001 Xrd: ShowUrls The converted URLs count is 1
050517 13:02:20 001 Xrd: ShowUrls URL n.1: datadevsol05.slac.stanford.edu:2094//.
050517 13:02:20 001 Xrd: GetDomainToMatch GetHostName(datadevsol05.slac.stanford.edu) returned name=datadevsol05.slac.stanford.edu
050517 13:02:20 001 Xrd: GetDomainToMatch GetDomain(datadevsol05.slac.stanford.edu) --> slac.stanford.edu
050517 13:02:20 001 Xrd: CheckHostDomain Resolved [datadevsol05.slac.stanford.edu]'s domain name into [slac.stanford.edu]
050517 13:02:20 001 Xrd: CheckHostDomain Access granted to the domain of [datadevsol05.slac.stanford.edu].
050517 13:02:20 001 Xrd: GetDomainToMatch GetHostName(datadevsol05.slac.stanford.edu) returned name=datadevsol05.slac.stanford.edu
050517 13:02:20 001 Xrd: GetDomainToMatch GetDomain(datadevsol05.slac.stanford.edu) --> slac.stanford.edu
050517 13:02:20 001 Xrd: CheckHostDomain Resolved [datadevsol05.slac.stanford.edu]'s domain name into [slac.stanford.edu]
050517 13:02:20 001 Xrd: CheckHostDomain Access granted to the domain of [datadevsol05.slac.stanford.edu].
050517 13:02:20 001 Xrd: CreateTXNf Trying to connect to datadevsol05.slac.stanford.edu:2094. Connect try 1
050517 13:02:20 001 Xrd: Connect Creating a logical connection...
050517 13:02:20 001 Xrd: Connect Physical connection not found. Creating a new one...
050517 13:02:20 001 Xrd: Connect Connecting to [datadevsol05.slac.stanford.edu:2094]
050517 13:02:20 001 Xrd: ClientSock::TryConnect Trying to connect todatadevsol05.slac.stanford.edu(134.79.85.155):2094 Timeout=15
050517 13:02:20 001 Xrd: ClientSock::TryConnect Connection todatadevsol05.slac.stanford.edu:2094 failed. (-1)
050517 13:02:20 001 Xrd: Connect can't open connection to [datadevsol05.slac.stanford.edu:2094]
050517 13:02:20 001 Xrd: Connect Connect(datadevsol05.slac.stanford.edu, 2094) returned -1
050517 13:02:20 001 Xrd: XrdNetFile Error creating logical connection to datadevsol05.slac.stanford.edu:2094
050517 13:02:20 001 Xrd: CreateTXNf Disconnecting.
Error accessing path/file for root://datadevsol05:2094////prod/t1
      0


I tried the -force option e.g: xrdcp -force root://......
but it still exists immediately.

So far the default behavior of xrdcp was to retry for sometime before
exiting.  Shouldn't this be the default?


Cheers,
   wilko