[GE issues] [Issue 2803] New - Master installation with JMX support fails on DARWIN

ernst Ernst.Bablick at sun.com
Fri Nov 21 12:02:46 GMT 2008


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2803
                 Issue #|2803
                 Summary|Master installation with JMX support fails on DARWIN
               Component|gridengine
                 Version|6.0u1
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|install
             Assigned to|dom
             Reported by|ernst






------- Additional comments from ernst at sunsource.net Fri Nov 21 04:02:45 -0800 2008 -------
Master installation with JMX fails on DARWIN with:

Error: bootstrapping of rand command as user username failed (/tmp/.rand.67092
-> /var/sgeCA/port5000/default/private/rand.seed)
Error: CA initialization failed. Exit.

Reason for this is that the openssl binary which is used in the sge_ca script
during the installation tries to load the wrong shared library because
DYLD_LIBRARAY_PATH is not set in sge_ca.

To fix this the lines setting the LD_LIBARAY_PATH

if [ "$LD_LIBRARY_PATH"  = "" ]; then
   LD_LIBRARY_PATH=$ROOT_PATH/lib/$ARCH
else
   LD_LIBRARY_PATH="$ROOT_PATH/lib/${ARCH}:${LD_LIBRARY_PATH}"
fi
export LD_LIBRARY_PATH

have to be replaced with

shlib_path_name=`$ROOT_PATH/util/arch -lib`
old_shlib_path_name=`eval echo '$'$shlib_path_name`
if [ x$old_shlib_path_name  = x ]; then
   eval $shlib_path_name=$ROOT_PATH/lib/$ARCH
else
   eval $shlib_path_name="$ROOT_PATH/lib/${ARCH}:${old_shlib_path_name}"
fi
export $shlib_path_name

This might also be also an issue in 6.0 and 6.1 were sge_ca is used to install a
CSP system. It has also to be verified that architectures which do not used
LD_LIBRARAY_PATH as variable name (like AIX) behave correcly.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=89341

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list