Sentinel Log Manager Remote Collector Manager fails to start after SLES update

  • 7011447
  • 04-Dec-2012
  • 04-Dec-2012

Environment

Sentinel Log Manager 1.2.x
SLES 11 SP1
SLES 11 SP2

Situation

Upgrading SLES11SP1 to SLES11SP2 on the server running SLM Remote Collector Manager 1.2.x. will prevent the Remote Collector Manager from starting.  Attempt to start RCM will result in following message being displayed
 
sles11-rcm:~ # /etc/init.d/sentinel start
/etc/init.d/sentinel: line 27: /bin/sentinel.sh: not found

Resolution

To workaround this problem perform the following steps:

1) Retrieve InstallShield section from /etc/profile.rpmsave file and copy it to /etc/profile. InstallShield section will look like the information below in the Additional Information Section of this TID.
Note: The file name may be different because it is created by the rpm installer as a backup.  It is also possible it does not exist, if this is the case follow step 2 otherwise skip to step 3.
 
If the file in step 1 is not found or you are not able to restore InstallShield section of /etc/profile file, use this workaround
2) Add following line to end of /etc/profile file
export ESEC_HOME=<RCM_INSTALL_HOME> 
Where the <RCM_INSTALL_HOME> is the path to where the Sentinel Remote Collector Manager is installed.
 
3) Once step 1 or 2 is complete, reboot the system to automatically start the RCM.

Cause

When Sentinel was first installed, InstallShield added a section to the /etc/profile file setting the ESEC_HOME environment variable of the install location specified during the installation. It also set some other environment variables required for RCM process to run. When SLES was upgraded, the /etc/profile file was replaced with one from SLES11SP2 rpm and changes made by InstallShield are lost.  This results in the environment variable ESEC_HOME being lost and the Sentinel start scripts to fail. e.g. /etc/init.d/sentinel and <RCM_INSTALL_HOME>/bin/sentinel.sh.

Additional Information

# Begin INSTALLSHIELD Environment Variable Section
# Do not edit this section manually.
# var 0 ESEC_VERSION=6.1.0.0
ESEC_VERSION=6.1.0.0
export ESEC_VERSION

# var 0 ESEC_CONF_FILE=/opt/novell/sentinel6/config/configuration.xml
ESEC_CONF_FILE=/opt/novell/sentinel6/config/configuration.xml
export ESEC_CONF_FILE

# var 0 ESEC_HOME=/opt/novell/sentinel6
ESEC_HOME=/opt/novell/sentinel6
export ESEC_HOME

# var 0 ESEC_JAVA_HOME=/opt/novell/sentinel6/jre/bin
ESEC_JAVA_HOME=/opt/novell/sentinel6/jre/bin
export ESEC_JAVA_HOME

# var 1 : PATH=/opt/novell/sentinel6/bin:`echo $PATH`
if [ -z "`echo $PATH`" ]
then
PATH=/opt/novell/sentinel6/bin
else
PATH=/opt/novell/sentinel6/bin:`echo $PATH`
fi
export PATH

# var 1 : LD_LIBRARY_PATH=/opt/novell/sentinel6/lib:/opt/novell/sentinel6/jre/lib/i386/server:/opt/novell/sentinel6/jre/lib/i386:`echo $LD_LIBRARY_PATH`
if [ -z "`echo $LD_LIBRARY_PATH`" ]
then
LD_LIBRARY_PATH=/opt/novell/sentinel6/lib:/opt/novell/sentinel6/jre/lib/i386/server:/opt/novell/sentinel6/jre/lib/i386
else
LD_LIBRARY_PATH=/opt/novell/sentinel6/lib:/opt/novell/sentinel6/jre/lib/i386/server:/opt/novell/sentinel6/jre/lib/i386:`echo $LD_LIBRARY_PATH`
fi
export LD_LIBRARY_PATH

# var 0 ESEC_USER=esecadm
ESEC_USER=esecadm
export ESEC_USER

# var 0 WORKBENCH_HOME=/opt/novell/sentinel6
WORKBENCH_HOME=/opt/novell/sentinel6
export WORKBENCH_HOME

# End INSTALLSHIELD Environment Variable Section