I tried: chown globus.globus hostcert.pem But it still doesn't work. Then I deleted all the contents under /etc/grid-security and .globus/ and reinstalled it and it works.
My situation is that I installed the package 'globus_simple_ca_c7881362_setup-0.18.tar.gz' twice. The first time I didn't set JAVA_HOME and of course it failed. And after I set JAVA_HOME in the second time, the error occurred saying 'Failed getting subject from host certificate'. But at this stage I only run the following three commands, so hostcert.pem should be empty 1.scp choate:.globus/simpleCA/ globus_simple_ca_c7881362_setup-0.18.tar.gz . 2.$GLOBUS_LOCATION/sbin/gpt-build globus_simple_ca_c7881362_setup-0.18.tar.gz 3.$GLOBUS_LOCATION/sbin/gpt-postinstall I don't know the exact reason and maybe what we only have to do is to delete all the existing files and reinstall it and everything will be fine. Regards, Denny -----Original Message----- From: Charles Bacon [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 February 2008 12:34 AM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: [gt-user] certificate problem setting up security on the second machine Interesting - the host you're using already has an /etc/grid-security/ hostcert.pem, and you're not allowed to read it. To fix this, you can either change the perms on the hostcert so you can read it, or temporarily move it out of the way. Charles On Feb 18, 2008, at 1:06 AM, <[EMAIL PROTECTED]> wrote: > Hi folks, > > I got some certificate problem setting up security on the second > machine. I executed these commands: > > 1.scp choate:.globus/simpleCA/ > globus_simple_ca_c7881362_setup-0.18.tar.gz . > 2.$GLOBUS_LOCATION/sbin/gpt-build > globus_simple_ca_c7881362_setup-0.18.tar.gz > 3.$GLOBUS_LOCATION/sbin/gpt-postinstall > > No problem with the first two. But the following error occured for > the third command: > > running /usr/local/globus-4.0.1/setup/globus/setup-globus-gram-job- > manager..[ Changing to /usr/local/globus-4.0.1/setup/globus ] > Creating state file directory. > Done. > Reading gatekeeper configuration file... > unable to load certificate > 5160:error:0906D06C:PEM routines:PEM_read_bio:no start > line:pem_lib.c:637:Expecting: TRUSTED CERTIFICATE > Failed getting subject from host certificate: /etc/grid-security/ > hostcert.pem. at /usr/local/globus-4.0.1/setup/globus/setup-globus- > gram-job-manager.pl line 163. > > Thank in advance for any suggestion! > > Regards, > Denny
