OpenDeploy 6.2 Service Failing to Start

28 November 2008
by Billy Czajkowska

Platform: Linux
TeamSite Version: 6.7.1
OpenDeploy Version: 6.2
I was involved in a project where I had just OpenDeploy 6.2 on a Linux environment.  However, the service would not start up.
The error message appearing in od.log;

Caused by: java.lang.UnsatisfiedLinkError:
/local/bin/interwoven/opendeploy/OpenDeployNG/jre/bin/libiwdeploy.so:
/usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2′ not found (required by /local/bin/interwoven/opendeploy/
OpenDeployNG/jre/bin/libiwdeploy.so)

We had installed the prerequisite of the required library; libstdc++32-3.2.2-5.fdr.0.rh73.i386.rpm
However it seem to be clashing with other pre-installed libraries and applications on the server
Solution:
The Solution was to install the library in the OpenDeploy directory (e.g. /od-home/opendeployNG/lib), and thereafter modify
the OpenDeploy start-up service (iwod60 – note: make a backup copy of the service before making the changes below),
located in /etc/init.d/ with the following;

PATH=/od-home/opendeployNG/lib:${“$PATH”:.:/usr/sbin:/sbin:/usr/bin

set_LIBPATH_TO_JREBIN()
{
if [ x$LIBPATH = x ]; then
LIBPATH=/od-home/opendeployNG/lib:${IW_ODHOME}/jre/bin
else
LIBPATH=/od-home/opendeployNG/lib:${LIBPATH}:${IW_ODHOME}/jre/bin
fi
export LIBPATH
}
set_LD_LIBRARY_PATH_TO_JREBIN()
{
if [ x$LD_LIBRARY_PATH = x ]; then
LD_LIBRARY_PATH==/od-home/opendeployNG/lib:${IW_ODHOME}/jre/bin
else
LD_LIBRARY_PATH==/od-home/opendeployNG/lib:${LD_LIBRARY_PATH}:${IW_ODHOME}/jre/bin
fi
export LD_LIBRARY_PATH
}

Install the library into the OpenDeploy location would not impact the server with clashes.
Modifying the start up service pointed to the library installed. After these changes were made,
I started the OpenDeploy service, and it worked!

Our Latest News