1 Reply Latest reply: Jan 12, 2013 1:57 PM by Hussein Sawwan-Oracle RSS

    error in running deployment script opmnctl Start

    user192913
      Hi All,

      We are facing below issue while runing below command on windows sever in which R12 is installed.

      perl %FND_TOP%\bin\txkrun.pl -script=CfgOC4JApp

      *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
      *** Log File = E:\oracle\VIS\inst\apps\VIS_stccspr01\logs\appl\rgf\TXK/txkCfgOC4JApp_Sat_Jan_12_04_23_02_2013.log
      Program : E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl started @ Sat Jan 12 04:23:02 2013

      *** Log File = E:\oracle\VIS\inst\apps\VIS_stccspr01\logs\appl\rgf\TXK/txkCfgOC4JApp_Sat_Jan_12_04_23_02_2013.log

      Enter Application name for re-deployment ? forms
      Enter Oc4j Instance password for re-deployment ? welcome

      Run Autoconfig <Yes/No> ? no


      *****************************************************
      Required values for starting OC4J instance "forms":
      ====================================================
      s_formsstatus = enabled
      s_forms_nprocs = 1 (value should be greater than 0)


      Existing values from the context file:
      ======================================
      s_formsstatus = enabled
      s_forms_nprocs = 1
      ----------------------------------------------

      *** Values for context variables are VALID ***

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

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

      Stopping all OPMN processes.
      OPMN stopped.

      Errors encountered running E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl

      *******FATAL ERROR*******
      PROGRAM : E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl(E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\bin\txkrun.pl)
      TIME : Sat Jan 12 04:23:25 2013
      FUNCTION: TXK::Process::run [ Level 3 ]
      MESSAGES:
      Command error: <rc> = 512, <command> = E:\oracle\VIS\apps\tech_st\10.1.3\opmn\bin\opmnctl start


      STACK TRACE
      TXK::Error::abort('TXK::Error','HASH(0x1927f90)') called at E:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl/TXK/Common.pm line 299
      TXK::Common::doError('TXK::Process=HASH(0x22f16c4)','Command error: <rc> = 512, <command> = E:\oracle\VIS\apps\tec...','undef') called at E:\oracle\VIS\apps\apps
      _st\appl\au\12.0.0\perl/TXK/Common.pm line 314
      TXK::Common::setError('TXK::Process=HASH(0x22f16c4)','Command error: <rc> = 512, <command> = E:\oracle\VIS\apps\tec...') called at E:\oracle\VIS\apps\apps_st\app
      l\au\12.0.0\perl/TXK/Process.pm line 449
      TXK::Process::run('TXK::Process=HASH(0x22f16c4)','HASH(0x1e951ac)') called at E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl line 1587

      TXK::RunScript::execOPMNControl('HASH(0x2282238)') called at E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl line 599
      require E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkCfgOC4JApp.pl called at E:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl/TXK/RunScript.pm line
      105
      TXK::RunScript::require('TXK::RunScript','E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bin\txkC...') called at E:\oracle\VIS\apps\apps_st\appl\au\12.0.0\
      perl/TXK/Script.pm line 177
      eval {...} called at E:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl/TXK/Script.pm line 177
      TXK::Script::run('TXK::Script=HASH(0x23a01a0)','E:\oracle\VIS\inst\apps\VIS_stccspr01\logs\appl\rgf/TXK','E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\patch\115\bi
      n\txkC...') called at E:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\bin\txkrun.pl line 174

      ============

      Please help me how to reolve this error.

      i tried to start the Opmnctl individual with below command but it fails:

      E:\oracle\VIS\apps\apps_st\appl>E:\oracle\VIS\inst\apps\VIS_stccspr01\admin\scripts\adopmnctl.cmd start
      12/01/2013 06:08
      Starting Oracle Process Manager (OPMN) ...
      CALL E:\oracle\VIS\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe start
      Failed to Start Service with error The system cannot find the file specified.
      (GetLastError()=2)
      opmnctl: opmn start failed
      Oracle Process Manager starts attempt failed
      exiting with status 2
      ERRORCODE = 2 ERRORCODE_END

      Please help
        • 1. Re: error in running deployment script opmnctl Start
          Hussein Sawwan-Oracle
          Please see if these docs help.

          Deployment script txkrun.pl -script=CfgOC4JApp fails with fatal error on program txkCfgOC4JApp.pl Command error : = 32256 on opmnctl [ID 978530.1]
          txkCfgOC4JApp.pl Script Fails With "Command error: <rc> = -1" When Deploying Forms .ear File [ID 1490857.1]
          Error When Deploying formsapp.ear File in an R12 Apps Instance [ID 1074765.1]
          TXKRUN.PL Deploying a New Forms .EAR File Error with OPMNCTL Start [ID 1295791.1]
          EAR Deployment : Txkcfgoc4japp.pl Failed To Complete ( Forms ). Command error: <rc> = 52224 [ID 1399491.1]

          Thanks,
          Hussein