Wednesday, June 27, 2012

OHS Webgate Installation Error

I was installing OHS 11g and webgate 10g on 64 bit machine, after installation it was throwing following error:


/opt/app/oracle/fmw_home/Oracle_WT1/ohs/bin/apachectl startssl: execing httpd
httpd.worker: Syntax error on line 1051 of /opt/app/oracle/fmw_home/Oracle_WT1/instances/instance1/config/OHS/ohs1/httpd.conf: Cannot load /opt/app/oracle/fmw_home/webgate/access/oblix/apps/webgate/bin/webgate.so into server: /opt/app/oracle/fmw_home/webgate/access/oblix/apps/webgate/bin/webgate.so: wrong ELF class: ELFCLASS32


The issue was 64 bit GCC lib and 64 bit webgate installer.

Resolution:
  • Download 64 bit GCC lib from here
  • Upload to /usr/lib64/webgate as root, and chmod to 777 so it is accessible to all
  • Use 64 bit webgate installer (Oracle_Access_Manager10_1_4_3_0_linux64_OHS11g_WebGate)
 

No comments: