You probably why not like this suggestion... I am using VMWare machines
so it is fairly easy for me to do.
I found that if I messed something up, it was easier to recreate on a
clean machine.
I found the QuickStart for 5.0 works well if followed exactly. Pay
close attention to the machine name and the user name. Even though the
QuickStart has links to explain what is going on when I followed them
and performed some steps it actually caused problems for me. I found
this to be true especially for the authentication. I believe that my
problems were that I had overlapping security or I would create things
by the wrong user and so the permissions conflicted. Following the
QuickStart exactly without following other links works on Ubuntu 10.04
and Globus 5.0.2 on a clean machine. I have done it dozens of times.
No one likes to do a reinstall but if possible start clean. The
following is a list of everything I do with VMWare to install Globus.
Here is my cheat sheet.
If you have a 'real' Ubuntu machine and not a Virtual Machine. You
might consider downloading VMWare Player it is free. And before you go
home for the night create bunch of VMs. This way you have multiple
clean slates to use. After you setup globus on these clean machine than
go back and try to figure out what went wrong.
Many people have come to me to help figure out problems (with other
products), they never like to hear it but starting clean is the easiest
way. If you make a mistake, go to a new machine and start over...
- Install Ubuntu 10.10 on VmPlayer
- Install updates from Update Manager
- Install addition tools (screens, mice)
- VMWare
- choose to install VMWare Tools and
setup to do so automatically.
- Install Windows share dir.
- from 'Virtual Machine Settings' (c:\share, share)
- sudo vi /etc/rc.local
ln -s /mnt/hgfs/share /share
- verify hostname is correct - add domain (create a bogus name, as this
is a virtual it doesn't matter. BTW www.grid.com is not bogus and using
it will cause you problems)
- sudo vi /etc/hostname
- sudo vi /etc/hosts - add ip address and hostname of machines
in grid
- To open virtual machine from windows using //hostname
- change Network tools to include machine name
- Configure eth0 in Network Device
- edit Auto eth0
- Change DHCP Client ID to hostname in
IPv4 Settings
- Change Remote Desktops - to allow others to connect
- Share directories between virtual machines
- Install Samba
- sudo vi /etc/samba/smb.conf - add "usershare owner
only = false" to [Global]
- sudo mkdir /hostname
- sudo chmod 777 /hostname
- Share Folder /hostname in 'Places'
- Setup Globus
- sudo adduser globus
- sudo adduser globus admin
- sudo mkdir /usr/globus
- sudo chown globus:globus /usr/globus
- sudo vi ~root/.bashrc
. /home/globus/.bashrc
- sudo vi ~globus/.bashrc
export GLOBUS_LOCATION=/usr/globus
export G=$GLOBUS_LOCATION
export GPT_LOCATION=$G
export PATH=.:$G/bin:$PATH
. $G/etc/globus-user-env.sh
- Ubuntu considers poor security but Globus assumes this in some scripts
(an active root account)
- sudo passwd root
- Globus
- sudo apt-get install libssl-dev xinetd g++
openssh-server
- download globus and untar
- verify tar, sed, make, gcc, g++, openssl, zlib
(--version or dpkg --list | grep ssl)
- configure --prefix=$G (ensure that you sourced the
additions to the .bashrc)
- make
- make install
- Follow the QuickStart directions
Kevin
From: kasim saeed [mailto:[email protected]]
Sent: Friday, January 07, 2011 10:28 AM
To: Roy, Kevin (LNG-SEA); [email protected]; Lukasz Lacinski;
[email protected]
Cc: Dr. Farrukh Nadeem
Subject: Re: [gt-user] Globus installation error
Hi all
I am new to Globus ToolKit and need it to install for my academic
purposes. I am using "
http://www.globus.org/toolkit/docs/4.0/admin/docbook/quickstart.html "
link for installation.
OS : Ubuntu 10.04
Globus Toolkit : 5.0.2
I am naive in this filed so i am using GT 4 quick start as it is more
detailed but the version of toolkit i am using is 5.0.2.
Everything is going fine until I gave the following command
grid-ca-sign -in /etc/grid-security/hostcert_request.pem -out
hostsigned.pem
ERROR:grid-ca-sign: command not found.
I tried it with both users (root and globus) but the error is same.
I really appreciate the efforts of this list in helping me.
Please Help.
Regards
Kaasim Saeed.
On Fri, Jan 7, 2011 at 9:37 PM, Roy, Kevin (LNG-SEA)
<[email protected]> wrote:
You may have one of two problems.
1. I run the script as root. I know Ubuntu you should not need
to. But sudo'ing the script isn't smooth.
2. I think if you tried to run the script a second type there is a
question asking if you want to overwrite something. Simply type y and
hit return your script will return shortly.
Kevin
From: [email protected]
[mailto:[email protected]] On Behalf Of kasim saeed
Sent: Thursday, January 06, 2011 11:39 PM
To: [email protected]; [email protected];
[email protected]
Cc: Dr. Farrukh Nadeem
Subject: [gt-user] Globus installation error
Hi all
I am new to Globus toolkit and need to install it for my academic
purposes. I am following
"http://www.globus.org/toolkit/docs/5.0/5.0.2/admin/quickstart/#quicksta
rt " link for its installation.
OS: Ubuntu 10.04
GT version: 5.0.2
The problem is that when i give
perl gt-server-ca.pl -y command
It shows me following.
Setting up /sandbox/globus/globus-5.0.2/
Please enter a password of at least four characters for the CA:
Confirm password:
Creating a new simpleCA, logging to gt-server-ca.log...
Running setup-gsi...
Your CA hash is: b906298a
It is located at
/sandbox/globus/globus-5.0.2//share/certificates/b906298a.0
Nothing happens after that , processing is continuing. I have waited
more than 1 hour , but the process continues. It is supposed to show
following lines after showing the previous lines.
Your host DN is
/O=Grid/OU=GlobusTest/OU=simpleCA-elephant.globus.org/CN=host/elephant.g
lobus.org
The hostcert is located at
/sandbox/globus/globus-5.0.2//etc/hostcert.pem
Please Help.
Regards
Kaasim Saeed.