Pascal's Weblog
The Grid...



Archives
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
Click me to subscribe
Search

Links
 

Today's Page Hits: 24

« Compute Server 101 | Main | Globus client certif... »
Thursday Nov 09, 2006
Globus on Solaris 10 x86
I just built the Globus Toolkit on Solaris 10 / x86 (AMD Opteron). Here are the steps I went thru if these can be useful to anyone:

From the Download site, pick up the source: gt4.0.3-all-source-installer.tar bundle.

Make sure you have GNU tar and GNU make (I did not have them by default and installed these in /usr/local/bin)

As root, create the directory /usr/local/globus.4.0.3

Create a globus user, as this user here are the environment variables I have:

> printenv
HZ=
SHELL=/bin/bash
TERM=xterm
LC_ALL=C
MAIL=/var/mail/globus
PATH=/usr/local/bin:/usr/bin:/usr/sfw/bin:/usr/dist/share/devpro/5.x-i386/bin:/usr/ccs/bin:/usr/dist/exe
PWD=/etc/grid-security
LANG=C
TZ=US/Mountain
SHLVL=2
HOME=/users/globus
LOGNAME=globus
LC_CTYPE=C
_=/usr/bin/tcsh
HOSTTYPE=i86pc
VENDOR=sun
OSTYPE=solaris
MACHTYPE=i386
USER=globus
GROUP=other
HOST=myhost
GPT_LOCATION=/usr/local/globus-4.0.3
CC=/usr/dist/share/devpro/5.x-i386/bin/cc
GLOBUS_LOCATION=/usr/local/globus-4.0.3
GCC=/usr/sfw/bin/gcc

Run:

 ./configure --prefix=$GLOBUS_LOCATION --with-flavor=gcc32dbg

Then:
make

I ran into couple of problems. Initially did not have ar and pod2man in my path. So, I corrected my PATH by adding:
/usr/ccs/bin:/usr/dist/exe

Then, I ran into this problem:
file:/tmp/testgt/gt4.0.3-all-source-installer/source-trees/wsrf/java/core/source/build.xml:211: Compile failed; see the compiler error output for details.

due to the fact I uses a JDK1.5 compiler and enum is a reserved word used in:
import org.apache.axus.enum.Scope;
I edited the build file to add the -source 1.4 option such as:
source="1.4"


Then, I waited and waited and waited.... Eventually:
echo "Your build completed successfully.  Please run make install."
Your build completed successfully.  Please run make install.


Then:
> make install
/usr/local/globus-4.0.3/sbin/gpt-postinstall
running /usr/local/globus-4.0.3/setup/globus/setup-globus-common..[ Changing to /usr/local/globus-4.0.3/setup/globus ]
creating globus-sh-tools-vars.sh

running /usr/local/globus-4.0.3/setup/globus/setup-globus-job-manager-fork..[ Changing to /usr/local/globus-4.0.3/setup/globus ]
find-fork-tools: WARNING: "Cannot locate mpiexec"
find-fork-tools: WARNING: "Cannot locate mpirun"
checking for mpiexec... no
checking for mpirun... no
find-fork-tools: creating ./config.status
config.status: creating fork.pm
..Done

I then try to run setup-simple-ca as the globus user:
> $GLOBUS_LOCATION/setup/globus/setup-simple-ca

Got this error:
creating CA config package... /usr/local/globus-4.0.3/setup/globus/setup-simple-ca: GLOBUS_LOCATION=/usr/local/globus-4.0.3: is not an identifier

So changed
#! /bin/sh
to
#! /bin/bash

Got this error:
creating CA config package...
ERROR: Unable to configure the simple_ca 9a7cd758 setup package
Corrected GPT_LOCATION such as:
setenv GPT_LOCATION /usr/local/globus-4.0.3
Then ran as root:
>  $GLOBUS_LOCATION/setup/globus_simple_ca_9a7cd758_setup/setup-gsi -default
>  $GLOBUS_LOCATION/bin/grid-cert-request -host myhost.central.sun.com
Posted at 11:34AM Nov 09, 2006 by Pascal Ledru in Grid Computing  |  Comments[1]

Comments:

Thank you for posting this on the web. I have just now completed the configuration and installation of globus 4.0.5 gridftp, but I had difficulties with creation of the certificate. The openssl with globus 4.0.5 could not get randomness. IN the end I hacked the script
setup-simple-ca
to use the openssl from the installation. After that all fell into place. How did you get around the globus ssl problem?
Lydia

Posted by lydia heck on November 12, 2007 at 10:38 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed