LISTSERV mailing list manager LISTSERV 16.5

Help for XROOTD-DEV Archives


XROOTD-DEV Archives

XROOTD-DEV Archives


XROOTD-DEV@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

XROOTD-DEV Home

XROOTD-DEV Home

XROOTD-DEV  August 2018

XROOTD-DEV August 2018

Subject:

Re: xrdcp fails to write to local file on osx

From:

Michal Kamil Simon <[log in to unmask]>

Reply-To:

xrootd developers' list for Scalla/xrootd repository and related issues <[log in to unmask]>

Date:

Fri, 10 Aug 2018 13:12:30 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (118 lines)

Hi,

Good catch! I'll create an issue on  GitHub.

Thanks,
Michal
________________________________________
From: [log in to unmask] [[log in to unmask]] on behalf of Matevz Tadel [[log in to unmask]]
Sent: 10 August 2018 12:33
To: xrootd-dev
Subject: xrdcp fails to write to local file on osx

Hi,

I'm getting errors writing to a local file with xrdcp on osx (master from 3 days back). I haven't done any xrootd development (or usage, actually) on osx in a long while ... so maybe I missed something obvious.

This is the essence of it, details in [1]:
[2018-08-10 12:27:10.747496 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Sending a write command for handle 0x12 to localhost
[2018-08-10 12:27:10.747622 +0200][Error  ][File              ] Write: failed Resource temporarily unavailable

File is created ok, it's just writing that fails:
matevz@glut test> ls -l A_FILE
-rw-r--r--  1 matevz  staff  0 Aug 10 12:27 A_FILE

xcache works ok, i.e., it writes files ok through oss layer.

Matevz


[1]
matevz@glut test> xrdcp -d 2 -f root://redirector.t2.ucsd.edu//store/user/matevz/A_FILE .
[2018-08-10 12:27:06.788353 +0200][Debug  ][Utility           ] CopyProcess: 2 jobs to prepare
[2018-08-10 12:27:06.788440 +0200][Debug  ][File              ] 16777220 256 2 1533821939
[2018-08-10 12:27:06.788876 +0200][Debug  ][Utility           ] Creating a classic copy job, from root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE to file://localhost/mt-dev/xrd/test/./A_FILE
[2018-08-10 12:27:06.788901 +0200][Debug  ][Utility           ] Monitor library name not set. No monitoring
[2018-08-10 12:27:06.789291 +0200][Debug  ][Utility           ] Opening root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE for reading
[2018-08-10 12:27:06.789368 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] Sending an open command
[2018-08-10 12:27:06.789430 +0200][Debug  ][PostMaster        ] Creating new channel to: redirector.t2.ucsd.edu:1094 1 stream(s)
[2018-08-10 12:27:06.789449 +0200][Debug  ][PostMaster        ] [redirector.t2.ucsd.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Window: 1800
[2018-08-10 12:27:06.790320 +0200][Debug  ][TaskMgr           ] Registering task: "TickGeneratorTask for: redirector.t2.ucsd.edu:1094" to be run at: [2018-08-10 12:27:21 +0200]
[2018-08-10 12:27:06.790800 +0200][Debug  ][PostMaster        ] [redirector.t2.ucsd.edu:1094] Found 2 address(es): [::ffff:169.228.130.78]:1094, [2607:f720:1700:1b30::4e]:1094
[2018-08-10 12:27:06.790864 +0200][Debug  ][AsyncSock         ] [redirector.t2.ucsd.edu:1094 #0.0] Attempting connection to [2607:f720:1700:1b30::4e]:1094
[2018-08-10 12:27:06.790944 +0200][Debug  ][Poller            ] Adding socket 0x10703f70 to the poller
[2018-08-10 12:27:06.962523 +0200][Debug  ][AsyncSock         ] [redirector.t2.ucsd.edu:1094 #0.0] Async connection call returned
[2018-08-10 12:27:06.962650 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Sending out the initial hand shake + kXR_protocol
[2018-08-10 12:27:07.134556 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Got the server hand shake response (type: manager [], protocol version 310)
[2018-08-10 12:27:07.134680 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] kXR_protocol successful (type: manager [], protocol version 310)
[2018-08-10 12:27:07.137255 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Sending out kXR_login request, username: matevz, cgi: ?xrd.cc=us&xrd.tz=1&xrd.appname=xrdcp&xrd.info=&xrd.hostname=glut-2.local&xrd.rn=v20180801-df577ab9, dual-stack: true, private IPv4: false, private IPv6: false
[2018-08-10 12:27:07.310009 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Logged in, session: 6f9502007703000089000000d8d00200
[2018-08-10 12:27:07.310066 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Authentication is required: &P=gsi,v:10300,c:ssl,ca:70d35895.0|d690e530.0
[2018-08-10 12:27:07.310090 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Sending authentication data
[2018-08-10 12:27:07.315947 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Trying to authenticate using gsi
[2018-08-10 12:27:07.617998 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Sending more authentication data for gsi
[2018-08-10 12:27:08.026924 +0200][Debug  ][XRootDTransport   ] [redirector.t2.ucsd.edu:1094 #0.0] Authenticated with gsi.
[2018-08-10 12:27:08.027011 +0200][Debug  ][PostMaster        ] [redirector.t2.ucsd.edu:1094 #0] Stream 0 connected.
[2018-08-10 12:27:08.213649 +0200][Debug  ][PostMaster        ] Creating new channel to: gftp-1.t2.ucsd.edu:1094 1 stream(s)
[2018-08-10 12:27:08.213699 +0200][Debug  ][PostMaster        ] [gftp-1.t2.ucsd.edu:1094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Window: 1800
[2018-08-10 12:27:08.214857 +0200][Debug  ][TaskMgr           ] Registering task: "TickGeneratorTask for: gftp-1.t2.ucsd.edu:1094" to be run at: [2018-08-10 12:27:23 +0200]
[2018-08-10 12:27:08.214913 +0200][Info   ][XRootD            ] [gftp-1.t2.ucsd.edu:1094] Retrying request: kXR_open (file: /store/user/matevz/A_FILE, mode: 00, flags: kXR_open_read kXR_async kXR_retstat ).
[2018-08-10 12:27:08.421802 +0200][Debug  ][PostMaster        ] [gftp-1.t2.ucsd.edu:1094] Found 2 address(es): [::ffff:169.228.130.132]:1094, [2607:f720:1700:1b30::84]:1094
[2018-08-10 12:27:08.421886 +0200][Debug  ][AsyncSock         ] [gftp-1.t2.ucsd.edu:1094 #0.0] Attempting connection to [2607:f720:1700:1b30::84]:1094
[2018-08-10 12:27:08.421994 +0200][Debug  ][Poller            ] Adding socket 0x10404e80 to the poller
[2018-08-10 12:27:08.594056 +0200][Debug  ][AsyncSock         ] [gftp-1.t2.ucsd.edu:1094 #0.0] Async connection call returned
[2018-08-10 12:27:08.594147 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Sending out the initial hand shake + kXR_protocol
[2018-08-10 12:27:09.552781 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Got the server hand shake response (type: server [], protocol version 310)
[2018-08-10 12:27:09.552863 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] kXR_protocol successful (type: server [], protocol version 310)
[2018-08-10 12:27:09.555115 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Sending out kXR_login request, username: matevz, cgi: ?xrd.cc=us&xrd.tz=1&xrd.appname=xrdcp&xrd.info=&xrd.hostname=glut-2.local&xrd.rn=v20180801-df577ab9, dual-stack: true, private IPv4: false, private IPv6: false
[2018-08-10 12:27:09.727249 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Logged in, session: f78f0000b12d00007f00000091be0000
[2018-08-10 12:27:09.727315 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Authentication is required: &P=gsi,v:10300,c:ssl,ca:70d35895.0|d690e530.0
[2018-08-10 12:27:09.727356 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Sending authentication data
[2018-08-10 12:27:09.727404 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Trying to authenticate using gsi
[2018-08-10 12:27:09.938874 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Sending more authentication data for gsi
[2018-08-10 12:27:10.360644 +0200][Debug  ][XRootDTransport   ] [gftp-1.t2.ucsd.edu:1094 #0.0] Authenticated with gsi.
[2018-08-10 12:27:10.360754 +0200][Debug  ][PostMaster        ] [gftp-1.t2.ucsd.edu:1094 #0] Stream 0 connected.
[2018-08-10 12:27:10.571468 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] Open has returned with status [SUCCESS]
[2018-08-10 12:27:10.571515 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] successfully opened at gftp-1.t2.ucsd.edu:1094, handle: 0x0, session id: 1
[2018-08-10 12:27:10.571604 +0200][Debug  ][Utility           ] Opening file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211 for writing
[2018-08-10 12:27:10.571670 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Sending an open command
[2018-08-10 12:27:10.572007 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Open has returned with status [SUCCESS]
[2018-08-10 12:27:10.572029 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] successfully opened at localhost, handle: 0x12, session id: 1
[2018-08-10 12:27:10.572075 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] Sending a read command for handle 0x0 to gftp-1.t2.ucsd.edu:1094
[2018-08-10 12:27:10.747496 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Sending a write command for handle 0x12 to localhost
[2018-08-10 12:27:10.747622 +0200][Error  ][File              ] Write: failed Resource temporarily unavailable
[2018-08-10 12:27:10.747647 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Sending a close command for handle 0x12 to localhost
[2018-08-10 12:27:10.747722 +0200][Debug  ][File              ] [0x10704920@file://localhost/mt-dev/xrd/test/./A_FILE?oss.asize=8211] Close returned from localhost with: [SUCCESS]
[2018-08-10 12:27:10.747774 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] Sending a close command for handle 0x0 to gftp-1.t2.ucsd.edu:1094
[2018-08-10 12:27:10.919329 +0200][Debug  ][File              ] [0x10703210@root://redirector.t2.ucsd.edu:1094//store/user/matevz/A_FILE] Close returned from gftp-1.t2.ucsd.edu:1094 with: [SUCCESS]
[0B/0B][100%][==================================================][0B/s]
Run: [ERROR] OS Error: Permission denied
[2018-08-10 12:27:10.919695 +0200][Debug  ][JobMgr            ] Stopping the job manager...
[2018-08-10 12:27:10.919911 +0200][Debug  ][JobMgr            ] Job manager stopped
[2018-08-10 12:27:10.919943 +0200][Debug  ][TaskMgr           ] Stopping the task manager...
[2018-08-10 12:27:10.920014 +0200][Debug  ][TaskMgr           ] Task manager stopped
[2018-08-10 12:27:10.920048 +0200][Debug  ][Poller            ] Stopping the poller...
[2018-08-10 12:27:10.920154 +0200][Debug  ][TaskMgr           ] Requesting unregistration of: "TickGeneratorTask for: gftp-1.t2.ucsd.edu:1094"
[2018-08-10 12:27:10.920174 +0200][Debug  ][AsyncSock         ] [gftp-1.t2.ucsd.edu:1094 #0.0] Closing the socket
[2018-08-10 12:27:10.920189 +0200][Debug  ][Poller            ] <[2001:1470:ff80:4:6d73:609e:5286:42e]:49955><--><[2607:f720:1700:1b30::84]:1094> Removing socket from the poller
[2018-08-10 12:27:10.920245 +0200][Debug  ][PostMaster        ] [gftp-1.t2.ucsd.edu:1094 #0] Destroying stream
[2018-08-10 12:27:10.920261 +0200][Debug  ][AsyncSock         ] [gftp-1.t2.ucsd.edu:1094 #0.0] Closing the socket
[2018-08-10 12:27:10.920280 +0200][Debug  ][TaskMgr           ] Requesting unregistration of: "TickGeneratorTask for: redirector.t2.ucsd.edu:1094"
[2018-08-10 12:27:10.920294 +0200][Debug  ][AsyncSock         ] [redirector.t2.ucsd.edu:1094 #0.0] Closing the socket
[2018-08-10 12:27:10.920307 +0200][Debug  ][Poller            ] <[2001:1470:ff80:4:6d73:609e:5286:42e]:49954><--><[2607:f720:1700:1b30::4e]:1094> Removing socket from the poller
[2018-08-10 12:27:10.920343 +0200][Debug  ][PostMaster        ] [redirector.t2.ucsd.edu:1094 #0] Destroying stream
[2018-08-10 12:27:10.920359 +0200][Debug  ][AsyncSock         ] [redirector.t2.ucsd.edu:1094 #0.0] Closing the socket
matevz@glut test>

########################################################################
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

########################################################################
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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use