Today I have faced some library file issue while bringing up the OAM components.
Environment Details
We have installed the base version of osinfra application server (version: 101401) and then we applied osinfra patch (p7215628_101430_LINUX). OHS not starting after Webpass installation. Even after setting LD_ASSUME_KERNEL parameter in opmn.xml and commenting perl and php modules in httpd.conf file.
Cause:
Setting the environment variable LD_ASSUME_KERNEL was the causing below error message.
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directorySolution
1. Set environment variable as XD_ASSUME_KERNEL instead of LD_ASSUME_KERNEL. If not working then follow the second step.
2. Open the start_ois_server.sh file under <OAM_COMP_FOLDER>/identity/oblix/apps/common/bin/.
Comment the line marked in red color.
if [ ${SYSTEM} = “Linux” ]
then
if [ “$OAMUSENPTL” != “YES” ]
then
# LD_ASSUME_KERNEL=”2.4.19″;
export LD_ASSUME_KERNEL ;
print_msg “msg_LINUX_THREAD_LIB”;
else
print_msg “msg_NPTL_THREAD_LIB”;
fi
fi
3. If above one is not working then try to start the server using start_ois_server_nptl

Comments are closed.