Thursday, January 7, 2010

Caveats & Bugs identified while installing OAM on Linux

Ensure that following conditions are met while installing OAM on linux. Typically you will face issue after webpass installation while starting HTTP Server.
OAM 10.1.4.3:
1. While starting OIS Server
Error:
/disk1/oracle/Middleware/OAM/identity/oblix/apps/common/bin/ois_server: error while loading shared

libraries: libdl.so.2: cannot open shared object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or

directory
OIS Server started with pid: 21290
[oracle@ATL2-LNX01 bin]$ /bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared

object file: No such file or directory

Solution: comment out all the lines where it is setting LD_ASSUME_KERNEL to 2.4.19 in start_ois_server

script OR run the script start_ois_server_nptl.

2. gcc libraries incompatibilty
Error:
/disk1/oracle/Middleware/WebTier/ohs/bin/apachectl startssl: execing httpd
httpd.worker: Syntax error on line 1047 of

/disk1/oracle/Middleware/WebTier/instances/instance1/config/OHS/ohs1/httpd.conf: Cannot load

/disk1/oracle/Middleware/OAM/ohswebpass/identity/oblix/lib/libgcc_s.so.1 into server:

/disk1/oracle/Middleware/OAM/ohswebpass/identity/oblix/lib/libgcc_s.so.1: wrong ELF class: ELFCLASSS32

Solution: libgcc_s.so.1 will be present in /usr/lib64 or /lib64 directories. So should copy those gcc lib

into the oblix lib location.
Similarly copy libstdc++.so.5 from OS binaries.


OAM 10.1.4.2:
1. Open the httpd.conf file and comment the perl module as shown below.

 #LoadModule perl_module        libexec/libperl.so

2. Add Kernel param value in OHS/opmn/conf/opmn.xml file as shown below.
                        
               

               
           
               
               

           
                      .......
                          
3. Disable ssl in OHS/opmn/conf/opmn.xml as shown below for HTTP_Server component tab.

             
                 
                 
             

             
              


Bugs identified while upgrading to OAM 10.1.4.0.2 BP02:

When installing the 10.1.4.2.0 BP02 patch (Patch 6748699 or 5957301), against a 10.1.4.2.0 installation, you will receive the following error:

For Webpass:

    --- Oracle Access Manager install ---
    Error: You are trying to apply patch of Oracle WebPass for different server
    while the component Oracle WebPass is installed for different server.
    This is not supported

For Policy Manager:

    --- Oracle Access Manager install ---
    Error: You are trying to apply patch of Oracle Policy Manager for different
    server while the component Oracle Access Manager is installed for different
    server.
    This is not supported.

For WebGate :
    --- Oracle Access Manager install ---
    Error: You are trying to apply patch of Oracle Webgate for different
    server while the component Oracle Access Manager is installed for different
    server.
    This is not supported.


You are sure that you are using the correct patch installer for the component you are trying to patch
It is caused by a long path to the installation binary identified as Bug 6996850.

As a workaround, move the binary for the patch to a location with a shorter path. For example:
This fails:
    /scratch/download/OAM10_Release2_BP02_Patch/Oracle_Access_Manager10_1_4_2_0_BP02_Patch_linux_APACHE2_WebPass_binary_parameter
This works:
    /u01/orasoft/wgpatch/Oracle_Access_Manager10_1_4_2_0_Patch_linux_OHS_WebGate_binary_parameter

3 comments:

  1. This tool can delete/copy/rename long path files/folders
    www.longpathtool.com

    ReplyDelete
  2. I fixed the issues based on your solutions for "gcc libraries incompatibilty" as posted above..
    Now I face another problem : It is looking for "libwebpassssl.so"

    Any pointers on how to fix this ?
    I am on 64 bit OEL 5.3 with OHS 11.1.1.2 and OAM 10.1.4.3 WebPass

    Error :
    httpd.worker: Syntax error on line 1046 of /opt/ora/webdev/Middleware/OHSDEV/instances/ohs_instance3/config/OHS/OHS3/httpd.conf: Cannot load /opt/ora/webdev/Middleware/webcomponent/identity/oblix/apps/webpass/bin/libwebpassssl.so into server: /opt/ora/webdev/Middleware/webcomponent/identity/oblix/apps/webpass/bin/libwebpassssl.so: wrong ELF class: ELFCLASS32

    ReplyDelete
  3. Hi,

    Sorry for getting back late on this.
    This could be due to permission issue or compatibility issue. Please check whether you are using right webpass installer and it is certified or not.

    -Mahendra.

    ReplyDelete