ERROR
adapcctl.sh: exiting with status 204/ HTTP_Server~1.log : libdb.so.2: cannot open shared object file
You are running adapcctl.sh version 120.7.12010000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance …
adapcctl.sh: exiting with status 204
–> Process (index=1,uid=1288926491,pid=31768)
failed to start a managed process after the maximum retry limit
and it referred to HTTP_Server~1.log.
SOLUTION
Shutdown the Application services and login Operating System Root user, and create a soft link as follows:
# ll /usr/lib/libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 24800 Sep 15 2012 /usr/lib/libgdbm.so.2.0.0
# ll /usr/lib/libdb.so.2
ls: cannot access /usr/lib/libdb.so.2: No such file or directory
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
# ll /usr/lib/libdb.so.2
lrwxrwxrwx 1 root root 25 Feb 28 08:15 /usr/lib/libdb.so.2 -> /usr/lib/libgdbm.so.2.0.0
Reference:
Attempting to Start Apache (adapcctl.sh) Throws an ‘Error While Loading Shared Libraries: libdb.so.2’ on RedHat Linux 5 (Doc ID 879522.1)