After new installation or upgrade to version 9 unable to start Apache receive error loading shared libraries

Document ID : KB000088041
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory

After installing or upgrading an Applications Manager (AM) installation to version 9, Apache fails to start. When the apachectl start command is issued the above error message is displayed.

The error indicates that the Operating System (OS) libraries needed by Apache to start are missing or have the incorrect libraries.  

The Apache version delivered in AM is version 2.0, and is 32 bit.  Automic ships with an older version in order to be compatible with older supported OS's.  Therefore, If you are running a 64 bit machine (especially Unix or Linux machines), starting the Apache server after an install/upgrade is a common problem because the older 32 bit libraries are not available on newer OS's (or 64 bit machines) by default.

 
Environment:
OS Version: N/A
Cause:
Cause type:
By design
Root Cause: Applications Manager ships with an older 32 bit version of Apache (Apache 2.0.40) in order to be compatible with older Operating Systems that are still supported.
Resolution:
  1. Install the 32 bit Apache library files and re-run the upgrade or installation
  1. ​Create a symbolic link in the /usr/lib directory by running the following commands:
ln -s libdb-4.3.so libdb-3-3.so
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2


Ensure the links have the correct permissions:


chmod 755 /usr/lib/libdb-3-3.so
chmod 755 /usr/lib/libdb.so.2

 
 


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A