Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Tools/Manuals/TS29

From EGIWiki
< Tools
Revision as of 08:35, 31 March 2011 by Aesch (talk | contribs) (Created page with '{{TOC_right}} Category:FAQ ------ Back to Troubleshooting Guide ------ = Unknown error ... Communication error on send = == Full mess…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Troubleshooting Guide


Unknown error ... Communication error on send

Full message

$ lcg-cr -v --vo ops file:/etc/group -d some-dpm.some-domain
Using grid catalog type: lfc
Using grid catalog : prod-lfc-shared-central.cern.ch
Using LFN : /grid/ops/generated/2007-10-01/file-714ebdda-131c-42dc-b87e-e78e80a36485
Using SURL : srm://some-dpm.some-domain/dpm/some-domain/home/ops/generated/2007-10-01/.....
httpg://some-dpm.some-domain:8443/srm/managerv1: Unknown error
lcg_cr: Communication error on send

Diagnosis 1

For a DPM this error occurs when its gridftp server has no free pool accounts for the VO: add more accounts, with the corresponding empty files in /etc/grid-security/gridmapdir.

Diagnosis 2

The problem may not be because of a lack of free accounts but lack of appropriate mapping. Check the user mapping by doing something like:

$ cd /etc/grid-security/gridmapdir
$ ls -li *name*
4807892 -rw-r--r--    2 root     root            0 Oct 16 13:57 %2fc%3duk%2fo%3descience%2fou%3dcambridge%2fl%3ducs%2fcn%3dname%20second

$ ls -li | grep 4807892
4807892 -rw-r--r--    2 root     root            0 Oct 16 13:57 %2fc%3duk%2fo%3descience%2fou%3dcambridge%2fl%3ducs%2fcn%3dname%20second
4807892 -rw-r--r--    2 root     root            0 Oct 16 13:57 dteam001

If the latter command does not show two files than the user is not mapped to any of the pool accounts, hence the "Unknown error". Just delete the empty file with the strange long name and the next time the mapping should be fine again.