Bugzilla – Bug 1873
Output file generated by grid-proxy-init is not named correctly
Last modified: 2005-12-05 17:10:43
You need to
before you can comment on or make changes to this bug.
For eg. purpose, consider username = xyz and user id = 123
After installing Globus toolkit 3.2.1, the authorized user "xyz" created a proxy
certificate using the commands grid-proxy-init.
This generates an output file called /tmp/x509up_u123
When we run a globus job, this gives an error saying that file /tmp/x509up_u_xyz
When we mv /tmp/x509up_u123 /tmp/x509up_u_xyz
The globus job can now verify the certificate and can now be submitted and
completed. It seems like the default output file that is generated by
grid-proxy-init, is not the same as what is looked for when authentication is
checked at job submission.
So this move/copy of files has to be done everytime grid-proxy-init is run(since
the proxy is valid for a limited time)
This actually has to do with how our code detects the user id. It does so by
executing 'id -u' program in the background. On solaris this doesn't quite
work. But '/usr/xpg4/bin/id' works as expected. The code was updated to
execute '/usr/xpg4/bin/id' program if on solaris and the program is installed.
There are other workarounds this problem as well. One can pass a 'UID' system
property, or the proxy location can be set in the ~/.globus/cog.properties
file. See CoG FAQ for details.