Nimrod on Nectar – east

Purpose of this document is to log what happened during the installation and configuration of Nectar node to run Nimrod on east.

  1. Proxy installation problem

Get the proxy from Blair, the same proxy running in Nimrod portal. But run nimrod resource check and globus command in portal is alrite, but not in Nectar instance.

As Blair suggested, it might be smth to do with openssl library being used. So I downloaded openssl 0.9.8e – same version with the one being used in the portal.

Compilation problem:

md5-x86_64.s:41: Error: 0xd76aa478 out range of signed 32bit displacement


cd <openssl-source-directory>
./config no-asm
make && make install

Setup PATH and LD_LIBRARY_PATH –> still complains about the same error.

Now try to compile gt4.0.8, (require java and ant). Building gt4 is bloody slow, looks like it is downloading some other packages from other places.

  • trying to recompile with older openssl: openssl-0.9.8e.

The reason is that different version of openssl can create different harsh number.

After running ./configure, go to source-trees/gssapi-openssh/openssh/configure

comment out

LIBS="-lcrypto $LIBS"

then export:
LDFLAGS=-L/usr/local/opt/openssl/lib CPPFLAGS=-I/usr/local/opt/openssl/include

then run make again.

  • Above solution does not work. Go to and add –with-openssl=/usr/local/ssl to gsi packages that need to compile against this ssl.
  • Go an error “undefined reference to dlsym”. Use “LDFLAGS=-ldl make”
  • Use ldd to  check globus_openssl_module and error again, it still links to system openssl.
  • Now will try to link libraries to the compiled version of openssl. Might stuff up the whole system though. Will do it in another instance then.
  • recompile openssl with shared object (./config shared no-asm; make;make build-shared;)
  • Compiled, linked. Seemed fine, but still give the illegal instruction, core dump.
  • But when running, it gives seg fault. —> will compile gt4. –> last solution

Compiling gt 4.0.8: set environment variables before compiling,

OPENSSL_INCLUDES -I/opt/freeware/include
OPENSSL_LDFLAGS -L/opt/freeware/lib (-L/opt/freeware/64/lib for 64-bit builds)
OPENSSL_LIBS -lssl -lcrypto

Compiling globus 4..0.8 on Nectar has been stuck on wsrf. Will deal with it individually.

go to gt4.0.8-all-source-installer/source-trees/wsrf/c/parser/wsdl/source

./configure –with-flavor=gcc64dbg


—> will return errors: not defining xmlInit…

This error was because of libtool-gcc64dbg doing something funny with linking. Use libtool at /usr/local/globus-4.0.8/bin instead. After that, recompile it. So far, so good.

Now, java errors:

[javac] /home/ubuntu/globus/gt4.0.8-all-source-installer/source-trees/ws-replica/replicator/service/java/source/build.xml:45: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 49 source files to /home/ubuntu/globus/gt4.0.8-all-source-installer/source-trees/ws-replica/replicator/service/java/source/build/classes
[javac] /home/ubuntu/globus/gt4.0.8-all-source-installer/source-trees/ws-replica/replicator/service/java/source/src/org/globus/replica/replicator/impl/ error: package org.globus.replica.rls does not exist
[javac] import org.globus.replica.rls.RLSClient;
[javac] ^
[javac] /home/ubuntu/globus/gt4.0.8-all-source-installer/source-trees/ws-replica/replicator/service/java/source/src/org/globus/replica/replicator/impl/ error: package org.globus.replica.rls.RLSClient does not exist
[javac] import org.globus.replica.rls.RLSClient.LRC;

Look here for how to fix it:


install in cent os

  • compile globus, there is no need to compile with specific openssl
  • copy the entire grid-security

About slump

Dr Slump ... :D.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: