On 6/28/11 1:57 PM, Amitav Mohanty wrote:
> On 06/21/2011 03:47 AM, Jim Basney wrote:
>> If you don't want myproxy-admin-adduser to use your existing
>> $GLOBUS_LOCATION/var/myproxy directory, then move/remove that directory
>> or use the myproxy-admin-adduser -s option.
>>
> Well I was doing a fresh install following the admin guide and I got the
> following error
> 
> [root@fool dknight]# myproxy-server -d
> myproxy-server v5.3 17 Jan 2011 PAM OCSP starting at Wed Jun 29 00:22:04
> 2011
> reading configuration file /etc/myproxy-server.config
> Processing usage_stats_target (usage-stats.cilogon.org:4810)
> USAGE-STATS: Initialized (usage-stats.cilogon.org:4810) (VvtrlLB)
> using storage directory /home/dknight/soc/gt/var/myproxy
> WARNING: safe_is_path_trusted_r: /home/dknight/soc/gt/var/myproxy can be
> modified by users/groups other than uid=0/gid=0
> /home/dknight/soc/gt/var/myproxy not owned by root
> Exiting.  Please fix errors with storage directory and restart.
> 
> My earlier query was because of a discrepancy between the output I was
> getting and the output that I am supposed to get according to the guide.
> 
> I am getting a line saying
> 
> using storage directory /home/dknight/soc/gt/var/myproxy
> 
> while I think I am supposed to get the following.
> 
> using storage directory /var/myproxy
> 
> 
> I think this is also why I am getting the warning.

Probably you ran myproxy-admin-adduser as non-root which created the
$GLOBUS_LOCATION/var/myproxy directory. You must consistently run
myproxy-server and myproxy-admin-adduser from the same account.

-Jim

Reply via email to