Environment
Novell eDirectory 8.7.3 for Unix
Novell eDirectory 8.8 for Unix
Novell eDirectory 9 for Unix
Novell eDirectory 8.8 for Unix
Novell eDirectory 9 for Unix
Situation
Variables set in pre_ndsd_start script don't load for ndsd
JVM Variables don't load
NDSD_USE_STDIO=1 doesn't load
JVM Variables don't load
Resolution
In the /etc/init.d/ndsd script on the line where the pre_ndsd_start loads it says
$initdir/pre_ndsd_start
It needs to say
. $initdir/pre_ndsd_start
so that all variables are loaded. (Notice the space between the . and the $initdir)
NOTE: eDirectory on SLES 12 or RHEL 7: You must add all environment variables required for the eDirectory service in the env file located in the /etc/opt/novell/eDirectory/conf directory.
NOTE: eDirectory on SLES 12 or RHEL 7: You must add all environment variables required for the eDirectory service in the env file located in the /etc/opt/novell/eDirectory/conf directory.
Additional Information
There is a problem with the ndsd script when it calls the pre_ndsd_start script. Currently it doesn't source the pre_ndsd_start so if you were to set a variable in the pre_ndsd_start script it wouldn't actually be in effect because it runs in its own shell. So if you have JAVA_HEAP sizes, malloc_check_ or NDSD_USE_STDIO variables set they wouldn't load for NDSD to run.
Variables that don't load: DHOST_JVM_INITIAL_HEAP, DHOST_JVM_MAX_HEAP, DHOST_JVM_OPTIONS
Formerly known as TID# 10100808
Formerly known as TID# NOVL105536
Variables that don't load: DHOST_JVM_INITIAL_HEAP, DHOST_JVM_MAX_HEAP, DHOST_JVM_OPTIONS
Formerly known as TID# 10100808
Formerly known as TID# NOVL105536