next up previous contents
Next: SE directory element missing Up: SE Error Messages Previous: Local Replica Catalog Port   Contents

Duplicated Logical File Name

If a logical file name already exists and only the node name is given as destination, the cr command copies the file with a new name and new guid but the registration fails. The verbose log contains messages as in the following fragment:

edg-replica-manager starting..
Issuing command : copyAndRegisterFile
.....................
lfn:new-mll-test-ct.rm
Destination is a host : //grid005.pd.infn.it
Call replica manager copyAndRegister function
.....................
Copy successful to : File name       =
srm://grid005.pd.infn.it/alice/generated/2003/10/27/fileecf27805.....`
.....................
Logical Name lfn:new-mll-test-ct.rm is already in the catalog. Cannot register
srm://grid005.pd.infn.it/alice/generated/2003/10/27/fileecf27805...........

In case the destination is a SURL, as in the command:

$ edg-rm --vo=alice copyAndRegisterFile  \
            file:/home/jones/edg2/Rmng/test.rm  \
           -l lfn:mll-test.rm \
           -d srm://grid007g.cnaf.infn.it/flatfiles/SE00/test.rm
and the file already exists, the following error message is printed:
Error in SE path name, i.e. /flatfiles/SE00/alice/ selected but only
/flatfiles/SE00/ exists:
StorageResource failure: Error in communication with SE: null
Duplicated file name or file name missing in the -d field:
Destination already exists : srm://grid007g.cnaf.infn.it/flatfiles/SE00/



luvisetto 2003-12-17