13 Replies Latest reply on Apr 16, 2015 2:53 PM by user8744020

    OIM 11gR2 installation on OEL 5.8

    user8744020

      Hi ,

       

      Could someone help me with steps for installing OIM 11gR2 on Linux platform. It would be great if you can refer some links or documents.

       

      Do we need JRockit for installing OIM 11gR2 on Linux platform or JDK is also fine ?


      Thanks

        • 1. Re: OIM 11gR2 installation on OEL 5.8
          Philipp Grigoryev

          First of all, just for a clarification, what is the exact version you want to use? Is it really 11.1.2.0? So please double check the version and then you can select the appropriate library from the link http://www.oracle.com/technetwork/middleware/id-mgmt/documentation/index.html

           

          Just follow the exact version and choose Installation Guide

          • 3. Re: OIM 11gR2 installation on OEL 5.8
            user8744020

            Thanks Abhishek.

            I have already installed it on Windows platform.it is working perfectly.  I want to install it (11g PS2 on Linux platform. could you please help me with the same.

             

            Thanks.

            • 4. Re: OIM 11gR2 installation on OEL 5.8
              Abhishek Singh 'J_IDM'

              You dont need to worry wrt to IDAM installation on linux. I dont see any difference. You can use the same generic installers and run the command ./runInstaller mostly while installing IAM installers.

               

              ~J

              • 5. Re: OIM 11gR2 installation on OEL 5.8
                user8744020

                How about JRockit ? Do i need to install JDK or JRockit. I am getting confused here. Could you please, give me the high level steps to install OIM on Linux and also steps to install oracle database on Linux.


                Thanks

                • 6. Re: OIM 11gR2 installation on OEL 5.8
                  handat

                  Either JRockit or Sun JDK is fine, but not openjdk.

                  • 7. Re: OIM 11gR2 installation on OEL 5.8
                    user8744020

                    Thanks .

                     

                    Even after installing JDK 7u75 .. i still get the java version as below. Do i need to update any file in Linux here ?

                     

                    Thanks again

                    • 8. Re: OIM 11gR2 installation on OEL 5.8
                      Abhishek Singh 'J_IDM'

                      Thats fine, its picking the default JDK which comes with your RHEL linux.

                       

                      You can run the installer (specify jdk location) in the below format:

                      ./runInstaller -jreLoc /usr/lang/JAVA/jre1.6.0_20(Check your jdk path)

                      • 9. Re: OIM 11gR2 installation on OEL 5.8
                        handat

                        wow, that's an incredibly old default jdk

                         

                        You can set a different default JDK as follows:

                         

                        /usr/sbin/alternatives --config java

                        /usr/sbin/alternatives --config javac

                        • 10. Re: OIM 11gR2 installation on OEL 5.8
                          user8744020

                          I have installed RCU .. but during installation of weblogic wls1036_generic.jar file , i am getting below issue. could you please help me out on this

                           

                           

                          Thanks

                          • 11. Re: OIM 11gR2 installation on OEL 5.8
                            Abhishek Singh 'J_IDM'

                            For weblogic you need to follow below commands:

                             

                            export JAVA_HOME=/u01/jdk1.7.0_76

                            export PATH=$JAVA_HOME/bin:$PATH

                             

                            Java –d64 –jar wls1036_generic.jar

                             

                            ~J

                            • 12. Re: OIM 11gR2 installation on OEL 5.8
                              user8744020

                              Thanks Abhishek ... got it.

                              After installation and creating the domain .. when i try to start the weblogic server , i see below error. Please suggest

                               

                              .

                              JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m

                              .

                              WLS Start Mode=Development

                              .

                              CLASSPATH=/u01/app/oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/jdk1.7.0_76/lib/tools.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/app/oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/app/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/app/oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u01/app/oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar

                              .

                              PATH=/u01/app/oracle/Middleware/wlserver_10.3/server/bin:/u01/app/oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/jdk1.7.0_76/jre/bin:/u01/jdk1.7.0_76/bin:/u01/app/oracle/product/11.2.0/db_1/bin:/u01/app/oracle/product/11.2.0/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin

                              .

                              ***************************************************

                              *  To start WebLogic Server, use a username and   *

                              *  password assigned to an admin-level user.  For *

                              *  server administration, use the WebLogic Server *

                              *  console at http://hostname:port/console        *

                              ***************************************************

                              starting weblogic with Java version:

                              java version "1.7.0_76"

                              Java(TM) SE Runtime Environment (build 1.7.0_76-b13)

                              Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)

                              Starting WLS with line:

                              /u01/jdk1.7.0_76/bin/java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/u01/app/oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy  -Xverify:none  -da -Dplatform.home=/u01/app/oracle/Middleware/wlserver_10.3 -Dwls.home=/u01/app/oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u01/app/oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u01/app/oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/u01/app/oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath  weblogic.Server

                              <Apr 15, 2015 10:51:05 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>

                              <Apr 15, 2015 10:51:05 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>

                              <Apr 15, 2015 10:51:05 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.76-b04 from Oracle Corporation>

                              <Apr 15, 2015 10:51:06 PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >

                              <Apr 15, 2015 10:51:07 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

                              <Apr 15, 2015 10:51:07 PM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

                              <Apr 15, 2015 10:51:07 PM EDT> <Notice> <LoggingService> <BEA-320400> <The log file /u01/app/oracle/Middleware/user_projects/domains/oim_domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>

                              <Apr 15, 2015 10:51:07 PM EDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u01/app/oracle/Middleware/user_projects/domains/oim_domain/servers/AdminServer/logs/AdminServer.log00003. Log messages will continue to be logged in /u01/app/oracle/Middleware/user_projects/domains/oim_domain/servers/AdminServer/logs/AdminServer.log.>

                              <Apr 15, 2015 10:51:07 PM EDT> <Notice> <Log Management> <BEA-170019> <The server log file /u01/app/oracle/Middleware/user_projects/domains/oim_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>

                              <Apr 15, 2015 10:51:10 PM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>

                              <Apr 15, 2015 10:51:11 PM EDT> <Emergency> <Store> <BEA-280060> <The persistent store "_WLS_AdminServer" encountered a fatal error, and it must be shut down: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.

                              weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.

                                      at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:128)

                                      at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:435)

                                      at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:423)

                                      at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)

                                      at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)

                                      Truncated. see log file for complete stacktrace

                              Caused By: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11

                                      at weblogic.store.io.file.direct.DirectIONative.openConsiderLock(Native Method)

                                      at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:54)

                                      at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:179)

                                      at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)

                                      at weblogic.store.io.file.StoreFile.openDirect(StoreFile.java:168)

                                      Truncated. see log file for complete stacktrace

                              >

                              No matching store mbean found for =_WLS_AdminServer, must be a default store.

                              <Apr 15, 2015 10:51:11 PM EDT> <Critical> <Health> <BEA-310006> <Critical Subsystem PersistentStore._WLS_AdminServer has failed. Setting server state to FAILED.

                              Reason: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.>

                              <Apr 15, 2015 10:51:11 PM EDT> <Critical> <WebLogicServer> <BEA-000385> <Server health failed. Reason: health of critical service 'PersistentStore._WLS_AdminServer' failed>

                              <Apr 15, 2015 10:51:11 PM EDT> <Error> <Store> <BEA-280061> <The persistent store "_WLS_AdminServer" could not be deployed: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.

                              weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.

                                      at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:128)

                                      at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:435)

                                      at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:423)

                                      at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)

                                      at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)

                                      Truncated. see log file for complete stacktrace

                              Caused By: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11

                                      at weblogic.store.io.file.direct.DirectIONative.openConsiderLock(Native Method)

                                      at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:54)

                                      at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:179)

                                      at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)

                                      at weblogic.store.io.file.StoreFile.openDirect(StoreFile.java:168)

                                      Truncated. see log file for complete stacktrace

                              >

                              <Apr 15, 2015 10:51:13 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>

                              <Apr 15, 2015 10:51:13 PM EDT> <Error> <> <BEA-000000> <***** This VM does not support thread dumps *****

                              >

                              <Apr 15, 2015 10:51:13 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

                               

                              There are 1 nested errors:

                               

                              weblogic.management.DeploymentException:

                                      at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:129)

                                      at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)

                                      at weblogic.store.admin.DefaultStoreService.start(DefaultStoreService.java:60)

                                      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

                                      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)

                                      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

                                      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

                              Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11

                                      at weblogic.store.io.file.direct.DirectIONative.openConsiderLock(Native Method)

                                      at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:54)

                                      at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:179)

                                      at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)

                                      at weblogic.store.io.file.StoreFile.openDirect(StoreFile.java:168)

                                      at weblogic.store.io.file.Heap.openStoreFile(Heap.java:398)

                                      at weblogic.store.io.file.Heap.open(Heap.java:325)

                                      at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:117)

                                      at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:435)

                                      at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:423)

                                      at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)

                                      ... 6 more

                               

                              >

                              <Apr 15, 2015 10:51:13 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>

                              <Apr 15, 2015 10:51:13 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>

                              <Apr 15, 2015 10:51:13 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

                               

                              Thanks

                              • 13. Re: OIM 11gR2 installation on OEL 5.8
                                user8744020

                                I have restarted the server and everything is working fine now. May be there could have been .lok files still hiding.

                                 

                                Successfully completed the installation of OIM on OEL 5.8.

                                 

                                Thank you very much.