Opened 9 years ago

Closed 7 years ago

#600 closed defect (fixed)

IZ2803: Master installation with JMX support fails on DARWIN

Reported by: ernst Owned by:
Priority: high Milestone:
Component: sge Version: 6.0u1
Severity: minor Keywords: Mac install
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2803]

        Issue #:      2803             Platform:     All        Reporter: ernst (ernst)
       Component:     gridengine          OS:        Mac OS X
     Subcomponent:    install          Version:      6.0u1         CC:    None defined
        Status:       NEW              Priority:     P2
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
          URL:
       * Summary:     Master installation with JMX support fails on DARWIN
   Status whiteboard:
      Attachments:

     Issue 2803 blocks:
   Votes for issue 2803:


   Opened: Fri Nov 21 05:02:00 -0700 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.

   ------- Additional comments from ernst Thu Dec 4 08:30:12 -0700 2008 -------
Fixed in maintrunc. Will be available with 6.2u2. Other versions still have to
be checked...

Change History (1)

comment:1 Changed 7 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.