Hi,

we have noticed that latest lcg-util commands do not correctly work. In example:

[rfirpo@ui01 ~]$ rpm -qa | grep lcg-util
lcg-util-py26-1.11.19-3.sl5.x86_64
lcg-util-1.11.19-3.sl5.x86_64

[rfirpo@ui01 ~]$ lcg-cr -v --vo magic -d srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/tmp/file_2b -l lfn:/grid/magic/Users/roger/tmp/file_2b /nfs/pic.es/user/r/rfirpo/volCalibrated.txt
Using grid catalog type: lfc
Using grid catalog : lfc03.pic.es
Checksum type: None
SE type: SRMv2
Destination SURL : srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/tmp/file_2b
Source SRM Request Token: [ERROR]
Internal error

[rfirpo@ui01 ~]$ lcg-cp -v -s MAGICDATA --checksum --vo magic /nfs/pic.es/user/r/rfirpo/volCalibrated.txt srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_15
Using grid catalog type: UNKNOWN
Using grid catalog : lfc03.pic.es
VO name: magic
Checksum type: ADLER32
Destination SE type: SRMv2
Destination SRM Request Token: [ERROR]
Internal error

[rfirpo@ui01 ~]$ lcg-cp -v --checksum --vo magic /nfs/pic.es/user/r/rfirpo/volCalibrated.txt srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_16
Using grid catalog type: UNKNOWN
Using grid catalog : lfc03.pic.es
VO name: magic
Checksum type: ADLER32
Destination SE type: SRMv2
Destination SRM Request Token: [ERROR]
Internal error


[rfirpo@mic02 ~]$ lcg-ls srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_6
/pnfs/pic.es/data/magic/Users/roger/file_6

[rfirpo@mic02 ~]$ lcg-ls -l srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_6
-rw-rw----   1     2     2  691606              UNKNOWN /pnfs/pic.es/data/magic/Users/roger/file_6
    * Checksum: fd148809 (adler32)
    * Space tokens: 57540972

It doesn't work in both ways: by specifying and do not specifying the token. We have configured that by default any file have to be assigned to a specific token if this is not declared.

With older lcg-util versions this is working ok:

[rfirpo@at305 ~]$ rpm -qa | grep lcg_util
lcg_util-1.11.16-2.sl5.x86_64
lcg_util-1.11.16-2.sl5.i386

[rfirpo@at305 ~]$ lcg-cp -v -s MAGICDATA --checksum --vo magic /nfs/pic.es/user/r/rfirpo/volCalibrated.txt srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_10
Using grid catalog type: UNKNOWN
Using grid catalog : lfc03.pic.es
VO name: magic
Checksum type: ADLER32
Destination SE type: SRMv2
Destination SRM Request Token: -1479382283
Source URL: file:/nfs/pic.es/user/r/rfirpo/volCalibrated.txt
File size: 691606
Source URL for copy: file:/nfs/pic.es/user/r/rfirpo/volCalibrated.txt
Destination URL: gsiftp://dcgftp05.pic.es:2811/pnfs/pic.es/data/magic/Users/roger/file_10
# streams: 1
       691606 bytes   1679.48 KB/sec avg   1679.48 KB/sec inst
Transfer took 1000 ms
[INFO] Source and destination checksums are matching: fd148809

[rfirpo@at305 ~]$ lcg-cp -v --checksum --vo magic /nfs/pic.es/user/r/rfirpo/volCalibrated.txt srm://srm.pic.es/pnfs/pic.es/data/magic/Users/roger/file_11
Using grid catalog type: UNKNOWN
Using grid catalog : lfc03.pic.es
VO name: magic
Checksum type: ADLER32
Destination SE type: SRMv2
Destination SRM Request Token: -1479381170
Source URL: file:/nfs/pic.es/user/r/rfirpo/volCalibrated.txt
File size: 691606
Source URL for copy: file:/nfs/pic.es/user/r/rfirpo/volCalibrated.txt
Destination URL: gsiftp://dcgftp08.pic.es:2811/pnfs/pic.es/data/magic/Users/roger/file_11
# streams: 1
       691606 bytes   2051.79 KB/sec avg   2051.79 KB/sec inst
Transfer took 1010 ms
[INFO] Source and destination checksums are matching: fd148809

Any ideas or anybody else with the same problem? Any help will be appreciated.

Thanks & best regards,
--
Marc Caubet Serrabou
PIC (Port d'Informació Científica)
Campus UAB, Edificio D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 22
Fax: +34 93 581 41 10
http://www.pic.es
Avis - Aviso - Legal Notice: http://www.ifae.es/legal.html