Wednesday, April 21, 2010

Errors Encountered during installation of

Oracle Application Server 10g Release 2 (10.1.2.0.2) on OEL 5.4 x86.

Today while installing the above I encountered two errors.

1. I got an error libXp.so.6: cannot open shared object file: No such file or directory. For this I had to install the rpm libXp-1.0.0-8.1.el5.i386.rpm.

2. I got an error during Configuration assistant "OC4J Instance Configuration Assistant" failed

Reading ini file - '/u03/oraiAS/j2ee/deploy.ini'
Adding web-app 'webapp.war' for app 'BC4J'.
OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
Initializing DCM...ERROR: Caught exception while initializing DCM.
oracle.ias.sysmgmt.exception.InvalidConfigurationException: Base Exception:
/u03/oraiAS/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

For this I created a softlink as follows and retryed and it worked.

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2