Print

Print


@ivukotic : unfortunately this is not possible as the return code is a value in range `0-255` and the xrootd error codes takes values in range `0-500`,

That's why from the return code you can only get info about the error type:
```
RETURN CODES
       50  : generic error (e.g. config, internal, data, OS, command line
       option)
       51  : socket related error
       52  : postmaster related error
       53  : XRootD related error
       54  : redirection error
       55  : query response was negative (this is not an error)
```

If you need detailed xrootd status in your script I would advice to to use Python and XRootD Python bindings.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/972#issuecomment-489535953

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1