Hello all,
We've still been having problems getting our dcache srm to publish.
The problem seems to be within the dynamic scripts that read teh
publsihing information. Namely:
/opt/lcg/libexec/lcg-info-dynamic-dcache
Our srm keels over when asked within this script to perform a;
"/opt/d-cache/srm/bin/srm-storage-element-info -x509_user_proxy=$proxy
https://$host:8443/srm/infoProvider1_0.wsdl 2>&1 |"
where $host=fal-pygrid-20.lancs.ac.uk and $proxy=/opt/lcg/hostproxy
It doesn't seem to be giving itself permission to to query itself. If
you run the command manually whilst logged in as root you get a
"cannot find username from globus id" error:
*snip*
srmcp error : org.dcache.srm.SRMAuthorizationException: can not
determine username from
[log in to unmask]
However, running the command as a local user using my own cert and a
proxy generated from it;
[lcg-admin@fal-pygrid-20 lcg-admin]$
/opt/d-cache/srm/bin/srm-storage-element-info
-x509_user_proxy=/home/lcg-admin/k5-ca-proxy.pem
https://fal-pygrid-20.lancs.ac.uk:8443/srm/infoProvider1_0.wsdl
StorageElementInfo :
totalSpace =62858993860608 (61385736192 KB)
usedSpace =10028 (9 KB)
availableSpace =62858993850580 (61385736182 KB)
[lcg-admin@fal-pygrid-20 lcg-admin]$
So the information is there, it just won't let itself see it.
Any help appreciated with this,
matt
|