After new installation or upgrade to version 9 unable to start Apache receive error loading shared libraries
book
Article ID: 88041
calendar_today
Updated On:
Products
CA Automic Applications Manager (AM)
Issue/Introduction
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
Install the 32 bit Apache library files and re-run the upgrade or installation
Create a symbolic link in the /usr/lib directory by running the following commands: