Hi all,
We've been trying to test the dcap client tools to see if they give any
clues as to why our gsiftp transfers to the pool node fail, and got the
following, working through the dCache user notes:
On the pool node with pnfs mounted from the admin node things like:
> dccp /path/to/source/file /pnfs/path/to/destination/file
work. The file is copied to the /pool-path1/pool/data directory on the
pool node.
Using things like:
> dccp dcap://node.domain.org/pnfs/domain.org/data/cms/cms001/a-1 \
> /tmp/a
works for copying files back from the pool node, but does not work to
put files into dCache
(ie. things like:
dccp /tmp/a dcap://node.domain.org/pnfs/domain.org/data/cms/cms001/a-1
don't work) but according to the dCache notes this is correct behaviour.
We then went on to gsidcap. We added
> /opt/d-cache/dcap/lib
to LD_LIBRARY_PATH and tried commands like
> dccp \
> gsidcap://node.domain.org:22128/pnfs/domain.org/data/cms/cms001/a-1 \
> /tmp/a
These didn't work either for copying to dCache or getting files from
dCache. Instead we got errors like:
> [root@gw03 root]# /opt/d-cache/dcap/bin/dccp -d 3 gsidcap://gw04.hep.ph.ic.ac.uk/pnfs/hep.ph.ic.ac.uk/data/dteam/testfileZ copiedbacktest3
> Dcap Version version-1-2-35 Mar 14 2005 07:58:38
> Allocated message queues 0, used 0
>
> Allocated message queues 1, used 1
>
> Creating a new control connection to gw04.hep.ph.ic.ac.uk:22125.
> Activating IO tunnel. Provider: [libgsiTunnel.so].
> Added IO tunneling plugin libgsiTunnel.so for gw04.hep.ph.ic.ac.uk:22125.
> Sending control message: 0 0 client hello 0 0 2 35 -uid=0 -pid=19737 -gid=0
>
> Error ( POLLIN) (with data) on control line [3]
> Removing [3] form control lines list
> Failed to connect to gw04.hep.ph.ic.ac.uk:22125
> Failed to create a control line
> [-1] unpluging node
> Removing unneeded queue [1]
> [-1] destroing node
> Failed open file in the dCache.
> Can't open source file : Server rejected "hello"
> System error: Input/output error
We checked all the log files but none of them contained anything useful.
The only change was to the log file door.log which added things like:
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : Protocol syntax violation : enc FgMAAFcBAABTAwBCi25KhRfeHPWmExD5BbeLQ+Uf0sgC6AQjcvXDaC2BMAAALAAWABMACgBmAAcABQAEAGUAZABjAGIAYQBgABUAEgAJABQAEQAIAAYAAwABAQA=
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : ComThread : got java.lang.IllegalArgumentException: Not enough arguments
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : java.lang.IllegalArgumentException: Not enough arguments
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : at diskCacheV111.util.VspArgs.<init>(VspArgs.java:19)
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : at diskCacheV111.doors.DCapDoor.execute(DCapDoor.java:481)
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : at diskCacheV111.doors.DCapDoor.run(DCapDoor.java:288)
> 05/18 17:33:14 Cell(DCap-unknown-184@doorDomain) : at java.lang.Thread.run(Thread.java:534)
cheers,
Owen and Mona.
--
=======================================================
Dr O J E Maroney # London Tier 2 Technical Co-ordinator
Tel. (+44)20 759 47802
Imperial College London
High Energy Physics Department
The Blackett Laboratory
Prince Consort Road, London, SW7 2BW
====================================
|