3 Replies Latest reply on Sep 30, 2009 9:26 AM by 692166

    OPMN services are not starting for Oracle Identity Management

    692166
      Hi,

      I have installed Oracle Identity Management on Windows 2003 server.
      I am trying to integrate Oracl Internet Directory 10.1.4 (OID) with Microsoft Active Directory Services (ADS).
      I have made some configuration at the OID side i.e.creating configset, creating wallet etc.
      But now all of a sudden none of my services are starting.
      The error that i receive is as follows:

      ************************************************************************
      C:\OraHome_1\opmn\bin>opmnctl status

      Processes in Instance: idm_infra.infva02612.vshodc.lntinfotech.com
      ------------------------------------------------+---------
      ias-component | process-type | pid | status
      ------------------------------------------------+---------
      DSA | DSA | N/A | Down
      LogLoader | logloaderd | N/A | Down
      dcm-daemon | dcm-daemon | N/A | Down
      OC4J | OC4J_SECURITY | N/A | Down
      OC4J | oca | N/A | Down
      HTTP_Server | HTTP_Server | N/A | Down
      OID | OID | N/A | Down


      C:\OraHome_1\opmn\bin>opmnctl startall
      opmnctl: starting opmn and all managed processes...
      ================================================================================

      opmn id=INFVA02612:6200
      1 of 4 processes started.

      ias-instance id=idm_infra.infva02612.vshodc.lntinfotech.com
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

      ias-component/process-type/process-set:
      OC4J/OC4J_SECURITY/default_island

      Error
      --> Process (pid=2580)
      time out while waiting for a managed process to start
      Log:
      C:\OraHome_1\opmn\logs\OC4J~OC4J_SECURITY~default_island~1

      --------------------------------------------------------------------------------

      ias-component/process-type/process-set:
      OC4J/oca/default_island

      Error
      --> Process (pid=2312)
      time out while waiting for a managed process to start
      Log:
      C:\OraHome_1\opmn\logs\OC4J~oca~default_island~1

      --------------------------------------------------------------------------------

      ias-component/process-type/process-set:
      OID/OID/OID

      Error
      --> Process (pid=3640)
      time out while waiting for a managed process to start
      Log:
      C:\OraHome_1\opmn\logs\OID~1
      **********************************************************************************

      Please suggest some solution so that i can have synchronization between OID and ADS.
        • 1. Re: OPMN services are not starting for Oracle Identity Management
          Daniel Gralewski-Oracle
          Check the specific component log file

          $ORACLE_HOME/opmn/log/<CONTAINER_NAME> for OC4J
          $ORACLE_HOME/Apache/Apache/logs for HTTP Server
          $ORACLE_HOME/ldap/log for OID

          You should be able to see why components are not coming up

          hope this helps
          • 2. Re: OPMN services are not starting for Oracle Identity Management
            70824
            opmnctl shutdown
            check the log directory: it has a sub-directory named status - it should be empty. If not, remove (directory can be removed, if you like, it will be recreated).

            If your server ever had a crash, this can happen - opmn cannot start because it thinks processes already have been started. The process ids are still in the files in the states directory.
            For any other scenario: check logs, as already suggested.
            • 3. Re: OPMN services are not starting for Oracle Identity Management
              692166
              I am not able to figure out the error from the log files, so i have pasted the error that appears in all three log files.

              ************************************************************************************
              OC4J~OC4J_SECURITY~default_island~1.log file (OC4J):
              ************************************************************************************
              09/09/24 22:10:49 [warning] cannot open connection, type=*
              oracle.idm.connection.ConnectionException: cannot open ldap context, serialNumber=102, type=ldap, operation=open
                   at oracle.idm.connection.ldap.LdapConnectionManager.openConnection(LdapConnectionManager.java:130)
                   at oracle.idm.connection.ConnectionPool.openConnection(ConnectionPool.java:2304)
                   at oracle.idm.connection.ConnectionPool.openConnections(ConnectionPool.java:2210)
                   at oracle.idm.connection.ConnectionPool.monitorConnections(ConnectionPool.java:3524)
                   at oracle.idm.connection.ConnectionPool$Monitor$Task.run(ConnectionPool.java:3970)
                   at java.util.TimerThread.mainLoop(Timer.java:432)
                   at java.util.TimerThread.run(Timer.java:382)
              Caused by: javax.naming.NamingException: Unable to establish initial secure connection to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in C:\OraHome_1\config\ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.CommunicationException: infva02612.vshodc.lntinfotech.com:636 [Root exception is java.net.ConnectException: Connection refused: connect] [Root exception is oracle.ias.repository.schema.SchemaException: Unable to establish initial secure connection to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in C:\OraHome_1\config\ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.CommunicationException: infva02612.vshodc.lntinfotech.com:636 [Root exception is java.net.ConnectException: Connection refused: connect]]
                   at oracle.ldap.das.dmvc.application.connection.ProductionLdapContextManager.openLdapContext(ProductionLdapContextManager.java:83)
                   at oracle.idm.connection.ldap.LdapConnectionManager.openConnection(LdapConnectionManager.java:123)
                   ... 6 more
              Caused by: oracle.ias.repository.schema.SchemaException: Unable to establish initial secure connection to Oracle Internet Directory Server. Please verify that the correct Oracle Internet Directory Server parameters are specified in C:\OraHome_1\config\ias.properties. Make sure that the Oracle Internet Directory Server specified in OIDhost, OIDsslport is up and running. Base Exception : javax.naming.CommunicationException: infva02612.vshodc.lntinfotech.com:636 [Root exception is java.net.ConnectException: Connection refused: connect]
                   at oracle.ias.repository.IASSchema.connectAsSSL(IASSchema.java:2219)
                   at oracle.ias.repository.IASSchema.connectAsSSL(IASSchema.java:2151)
                   at oracle.ias.repository.IASSchema.connectAs(IASSchema.java:2139)
                   at oracle.ias.repository.SchemaManager.connectAs(SchemaManager.java:1386)
                   at oracle.ldap.das.dmvc.application.connection.ProductionLdapContextManager.openLdapContext(ProductionLdapContextManager.java:78)
                   ... 7 more

              ******************************************************************************
              OC4J~oca~default_island~1.log file (oca):
              ******************************************************************************
              --------
              09/09/24 11:41:06 Start process
              --------
              09/09/24 11:41:14 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
              09/09/24 11:46:25 java.lang.NullPointerException
              09/09/24 11:46:25      at oracle.security.oca.context.OCMContext.setPassword(OCMContext.java:850)
              09/09/24 11:46:25      at oracle.security.oca.admin.OCMJaznUtil.createJAZNConfig(OCMJaznUtil.java:236)
              09/09/24 11:46:25      at oracle.security.oca.admin.OCMJaznUtil.getJaznPolicy(OCMJaznUtil.java:255)
              09/09/24 11:46:25      at oracle.security.oca.context.OCMContext.checkPermission(OCMContext.java:979)
              09/09/24 11:46:25      at oracle.security.oca.context.OCMContext.getDBConnection(OCMContext.java:448)
              09/09/24 11:46:25      at oracle.security.oca.screens.OCMUserPages.getPageLayout(OCMUserPages.java:267)
              09/09/24 11:46:25      at oracle.security.oca.screens.OCMUserPages.renderMarlinScreen(OCMUserPages.java:1802)
              09/09/24 11:46:25      at oracle.security.oca.screens.OCMUserPages.renderMarlinScreen(OCMUserPages.java:1753)
              09/09/24 11:46:25      at oracle.security.oca.servlet.OCMUser.doPost(OCMUser.java:68)
              09/09/24 11:46:25      at oracle.security.oca.servlet.OCMUser.doGet(OCMUser.java:84)
              09/09/24 11:46:25      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              09/09/24 11:46:25      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              09/09/24 11:46:25      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:826)
              09/09/24 11:46:25      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:332)
              09/09/24 11:46:25      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
              09/09/24 11:46:25      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
              09/09/24 11:46:25      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
              09/09/24 11:46:25      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
              09/09/24 11:46:25      at java.lang.Thread.run(Thread.java:534)
              09/09/24 11:49:58 Shutting down...
              rocess
              --------

              --------
              09/09/24 11:52:22 Start process
              --------
              09/09/24 11:52:34 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
              09/09/25 10:40:55 Tutalii: C:\OraHome_1\jlib\ohw.jar archive
              09/09/25 10:40:55 Tutalii: C:\OraHome_1\jlib\ohw.jar archive
              09/09/25 14:09:37 Shutting down...
              rocess
              --------

              **************************************************************************
              odisrv02.log file
              **************************************************************************
              =====================================================
              Copyright (c) 2002-2006, Oracle Corporation. All rights reserved.
              Oracle Directory Integration Server:Version 10.1.4.0.1 Production
              -----------------------------------------------------
              Oracle Directory Integration Server instance# 02 started..
              -----------------------------------------------------
              Wed Sep 30 14:01:04 GMT+05:30 2009 : Starting Server to execute Profile Group :999 against LDAP Server (INFVA02612:389)
              Wed Sep 30 14:01:05 GMT+05:30 2009 : SSL Mode :0
              Wed Sep 30 14:04:45 GMT+05:30 2009 : Aborting.. Unable To Connect to LDAP Server after 20 Retries...: null
              Wed Sep 30 14:04:45 GMT+05:30 2009 : Exiting with Status -1: null

              *************************************************************************************
              oidldapd01s6012.log
              *************************************************************************************
              2009/09/30:14:01:10 * Main:0 *
              oidldapd: Release 10.1.4.0.1 - Production on wed sep 30 14:01:10 2009

              Copyright (c) 1982, 2006 Oracle. All rights reserved.

              2009/09/30:14:01:10 * Main:0 *

              Portions Copyright (c) 1992-1996, 1999, 2000, 2001, 2004, 2005, 2006 Regents of University of Michigan. All Rights Reserved.

              2009/09/30:14:01:10 * Main:0 * Starting up the OiD Server, on node INFVA02612

              2009/09/30:14:01:10 * Main:0 * Oid Server Connected to DB store via idm connect string.
              2009/09/30:14:01:10 * Main:0 * OiD LDAP server started.
              2009/09/30:14:01:20 * ServerController:0 * [gsdsiConnect] ORA-0,
              2009/09/30:14:01:20 * ServerController:0 * FATAL : ServerController : OS 5 : Error creating db connection pool for server
              2009/09/30:14:01:20 * ServerController:0 * WARNING : ServerController : Processing shutdown notification



              These are thje log files for OC4J, oca, OID.
              I am not able to understand where the actual problem is, so please suggest your inputs.