Print

Print


Hi Adrien,

thanks for your reply. Below I show the output of the request commands

[root@ui02 ~]# locate libgfal_srm_ifce
/usr/lib64/libgfal_srm_ifce.a
/usr/lib64/libgfal_srm_ifce.so
/usr/lib64/libgfal_srm_ifce.so.1
/usr/lib64/libgfal_srm_ifce.so.1.1.0

[root@ui02 ~]# yum list | grep srm-ifce
srm-ifce.x86_64                  1.1.0-1.sl5          installed                
srm-ifce-devel.i386              1.12.2-6.el5         epel-sl-5.X-testing-x86_64
srm-ifce-devel.x86_64            1.12.2-6.el5         epel-sl-5.X-testing-x86_64

[root@ui02 ~]# rpm -qi srm-ifce
Name        : srm-ifce                     Relocations: (not relocatable)
Version     : 1.1.0                             Vendor: EMI
Release     : 1.sl5                         Build Date: Tue 15 Nov 2011 09:51:47 PM CET
Install Date: Fri 03 Feb 2012 12:33:17 PM CET      Build Host: lxets-sle564-14.cern.ch
Group       : System Environment/Libraries   Source RPM: srm-ifce-1.1.0-1.sl5.src.rpm
Size        : 3809165                          License: Apache Software License
Signature   : DSA/SHA1, Fri 18 Nov 2011 09:58:33 AM CET, Key ID 27b3331edf9e12ef
Packager    : ETICS
Summary     : emi.lcgutil.srm-ifce
Description :
emi.lcgutil.srm-ifce

Best regards,
Marc Caubet

On 6 February 2012 15:51, devresse Adrien <[log in to unmask]> wrote:
Hello,

Can you send us the result of this three command please :

- locate libgfal_srm_ifce
- yum list | grep srm-ifce
- rpm -qi srm-ifce

Thank you,

Regards,

Adrien.

Le 06/02/2012 15:44, Marc Caubet a écrit :
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


-- 
----------------------------
Devresse Adrien
CERN, IT. 28/R-019
GFAL 2.0 developer.
Tel : (+33)(0)608879592
Jabber : [log in to unmask]



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