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.
- 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.
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
LIBS="-lcrypto $LIBS" then export:
then run make again.
- Above solution does not work. Go to Makefile.in 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_LDFLAGS||-L/opt/freeware/lib (-L/opt/freeware/64/lib for 64-bit builds)|
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
—> 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/CatalogQueryWork.java:24: error: package org.globus.replica.rls does not exist
[javac] import org.globus.replica.rls.RLSClient;
[javac] /home/ubuntu/globus/gt4.0.8-all-source-installer/source-trees/ws-replica/replicator/service/java/source/src/org/globus/replica/replicator/impl/CatalogQueryWork.java:25: 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: http://lists.globus.org/pipermail/gt-user/2007-October/004790.html
install in cent os
- compile globus, there is no need to compile with specific openssl
- copy the entire grid-security