4 Replies Latest reply: Dec 17, 2013 7:33 PM by 1003081 RSS

    When I Import EBS12.1.3 Database Tier Template files,Error has happened

    1003081

      Hello, every friends,

       

      I download the template of EBS12.1.3 to install.

      I unzip the .zip files, cat into app.tgz and db.tgz files.

      The app.tgz has imported into the VM server.

      But when i inport the db.tgz files into my VM server , an error has happened.

       

      Job Construction Phase
      ----------------------
      Job ID: 1387173556470
      begin()
      Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb0000140000592d3e49eb041c61'.
      Appended operation 'Import Virtual Machine' to object 'cfgFile_0004fb0000140000592d3e49eb041c61'.
      commit()
      Completed Step: COMMIT
      Objects and Operations
      ----------------------
      Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000592d3e49eb041c61 (OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz)
      Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000592d3e49eb041c61
      Operation: Virtual Machine Cfg File Configure
      Operation: Import Virtual Machine
      Job Running Phase at 2013-12-16 13:59:16,470
      ----------------------------------------------
      Job Participants: [09:20:a0:a2:e8:db:40:a8:87:e7:cb:0d:b1:6a:5a:f0 (ebs.weizm.com)]
      Actioner
      --------
      13:59:16,751: Starting operation 'Virtual Machine Cfg File Configure' on object 'cfgFile_0004fb0000140000592d3e49eb041c61'
      13:59:16,752: Completed operation 'Virtual Machine Cfg File Configure' with direction ==> LATER
      13:59:16,755: Starting operation 'Import Virtual Machine' on object 'cfgFile_0004fb0000140000592d3e49eb041c61'
      Job failed commit (internal) due to Caught during invoke method: java.net.SocketException: Socket closed
      Mon Dec 16 14:49:44 CST 2013
      com.oracle.odof.exception.InternalException: Caught during invoke method: java.net.SocketException: Socket closed
      Mon Dec 16 14:49:44 CST 2013
      at com.oracle.odof.OdofExchange.invokeMethod(OdofExchange.java:954)
      at com.oracle.ovm.mgr.api.job.InternalJobProxy.objectCommitter(Unknown Source)
      at com.oracle.ovm.mgr.api.job.JobImpl.internalJobCommit(JobImpl.java:282)
      at com.oracle.ovm.mgr.api.job.JobImpl.commit(JobImpl.java:662)
      at com.oracle.ovm.mgr.faces.model.JobEO.commit(JobEO.java:507)
      at com.oracle.ovm.mgr.faces.backing.storage.ImportTemplate$ImportJob.call(ImportTemplate.java:53)
      at com.oracle.ovm.mgr.faces.backing.storage.ImportTemplate$ImportJob.call(ImportTemplate.java:34)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      at com.oracle.ovm.mgr.util.concurrent.OvmThread.run(OvmThread.java:151)
      Caused by: java.net.SocketException: Socket closed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2248)
      at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2541)
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2551)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at com.oracle.odof.io.AbstractSocket.receive(AbstractSocket.java:220)
      at com.oracle.odof.io.AbstractSocket.receive(AbstractSocket.java:173)
      at com.oracle.odof.OdofExchange.send(OdofExchange.java:472)
      at com.oracle.odof.OdofExchange.send(OdofExchange.java:426)
      at com.oracle.odof.OdofExchange.invokeMethod(OdofExchange.java:936)
      ... 12 more
      Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job: 1,387,173,556,470/1387173556470/Import VM Template ftp://192.168.1.211/OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz, failed. The job has a Job Failure Event: 1,387,181,909,182/Job Error: Server Async Command Failed/(12/16/2013 04:18:29:198 下午)
      Async operation failed on server: ebs.weizm.com.
      Object: cfgFile_0004fb0000140000592d3e49eb041c61,
      PID: 3647,
      Server error message: Command: (gtar xzf /OVS/Repositories/0004fb00000300001015991165e2b495/Templates/0004fb0000140000592d3e49eb041c61/tmp/OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz --no-same-owner -C /OVS/Repositories/0004fb00000300001015991165e2b495/Templates/0004fb0000140000592d3e49eb041c61/tmp) failed: (2)
      , on server: 09:20:a0:a2:e8:db:40:a8:87:e7:cb:0d:b1:6a:5a:f0, associated with object: cfgFile_0004fb0000140000592d3e49eb041c61 [Mon Dec 16 16:18:29 CST 2013]
      at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:657)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:626)
      at com.oracle.ovm.mgr.op.virtual.VirtualMachineImport.action(VirtualMachineImport.java:72)
      at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1156)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:865)
      at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
      at com.oracle.ovm.mgr.api.virtual.VirtualMachineCfgFileProxy.executeCurrentJobOperationAction(Unknown Source)
      at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:230)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:322)
      at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1340)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:106)
      at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
      at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
      at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:752)
      at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:467)
      at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:525)
      at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
      at java.lang.Thread.run(Thread.java:662)
      FailedOperationCleanup
      ----------
      Starting failed operation 'Import Virtual Machine' cleanup on object 'cfgFile_0004fb0000140000592d3e49eb041c61'
      Complete rollback operation 'Import Virtual Machine' cleanup on object 'cfgFile_0004fb0000140000592d3e49eb041c61'
      Rollbacker
      ----------
      16:18:29,350: Starting rollbacker...
      Executing rollback operation 'Import Virtual Machine' on object 'cfgFile_0004fb0000140000592d3e49eb041c61'
      Complete rollback operation 'Import Virtual Machine' completed with direction=DONE
      16:18:29,355: Rollbacker completed...
      Objects To Be Rolled Back
      -------------------------
      Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000592d3e49eb041c61 (OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz)
      Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000592d3e49eb041c61
      Write Methods Invoked
      -------------------
      13:59:16,601 class="InternalJobDbImpl" vessel_id=3740 method=addTransactionIdentifier accessLevel=6 owningTx=1387173556601
      13:59:16,601 class="RepositoryDbImpl" vessel_id=1814 method=importVirtualMachineTemplate accessLevel=5 owningTx=-1
      13:59:16,602 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setName accessLevel=6 owningTx=1387173556601
      13:59:16,613 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setFoundryContext accessLevel=6 owningTx=1387173556601
      13:59:16,613 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=onPersistableCreate accessLevel=6 owningTx=1387173556601
      13:59:16,613 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setLifecycleState accessLevel=6 owningTx=1387173556601
      13:59:16,613 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setRollbackLifecycleState accessLevel=6 owningTx=1387173556601
      13:59:16,644 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setName accessLevel=6 owningTx=1387173556601
      13:59:16,648 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setFoundryContext accessLevel=6 owningTx=1387173556601
      13:59:16,648 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=onPersistableCreate accessLevel=6 owningTx=1387173556601
      13:59:16,648 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setLifecycleState accessLevel=6 owningTx=1387173556601
      13:59:16,648 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setRollbackLifecycleState accessLevel=6 owningTx=1387173556601
      13:59:16,683 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setJobAsset accessLevel=6 owningTx=1387173556601
      13:59:16,683 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setVirtualMachineCfgFile accessLevel=6 owningTx=1387173556601
      13:59:16,683 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setVirtualMachine accessLevel=6 owningTx=1387173556601
      13:59:16,685 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setSimpleName accessLevel=6 owningTx=1387173556601
      13:59:16,685 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setAsset accessLevel=6 owningTx=1387173556601
      13:59:16,685 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=configure accessLevel=6 owningTx=1387173556601
      13:59:16,689 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setOrigin accessLevel=6 owningTx=1387173556601
      13:59:16,689 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=setDescription accessLevel=6 owningTx=1387173556601
      13:59:16,689 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setAsset accessLevel=6 owningTx=1387173556601
      13:59:16,689 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=configure accessLevel=6 owningTx=1387173556601
      13:59:16,689 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=importVirtualMachineTemplate accessLevel=6 owningTx=1387173556601
      13:59:16,697 class="InternalJobDbImpl" vessel_id=3740 method=setCompletedStep accessLevel=6 owningTx=1387173556601
      13:59:16,699 class="InternalJobDbImpl" vessel_id=3740 method=setAssociatedHandles accessLevel=6 owningTx=1387173556601
      13:59:16,755 class="InternalJobDbImpl" vessel_id=3740 method=setTuringMachineFlag accessLevel=6 owningTx=1387173556601
      13:59:16,755 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=setCurrentOperationToLater accessLevel=6 owningTx=1387173556601
      13:59:16,755 class="InternalJobDbImpl" vessel_id=3740 method=setTuringMachineFlag accessLevel=6 owningTx=1387173556601
      16:18:29,295 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=nextJobOperation accessLevel=6 owningTx=1387173556601
      16:18:29,295 class="InternalJobDbImpl" vessel_id=3740 method=setFailedOperation accessLevel=6 owningTx=1387173556601
      16:18:29,351 class="VirtualMachineTemplateDbImpl" vessel_id=3749 method=nextJobOperation accessLevel=6 owningTx=1387173556601
      16:18:29,351 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=nextJobOperation accessLevel=6 owningTx=1387173556601
      16:18:29,355 class="VirtualMachineCfgFileDbImpl" vessel_id=3754 method=nextJobOperation accessLevel=6 owningTx=1387173556601
      Completed Step: ROLLBACK

       

      With the message, i think there has wrong in my VMServer, but i dont know where and what is wrang.

      Is anybody can help me?

       

      Thinks!

       

      ps: I had imported the templateBuilder into the same VMServer, and create a VM, and the VM is runing, I can access with my browser.

        • 1. Re: When I Import EBS12.1.3 Database Tier Template files,Error has happened
          Srini Chavali-Oracle

          Pl post your OS details - which templates are you trying to install - 32-bit or 64-bit ? Prod or Vision ? have you completed all of the steps in the README ?

           

          HTH
          Srini

          • 2. Re: When I Import EBS12.1.3 Database Tier Template files,Error has happened
            1003081

            Hi Srini:

             

            Thinks your answor。

             

            My VM Manager is "Oracle VM Manager 3.2.2",

            VM Server is "Oracle VM Server 3.2.2 for x86_64 (64 bit)",

            and EBS is "Oracle VM Templates for Oracle E-Business Suite Release 12.1.3 Vision Media Pack for x86 (64 bit)".

             

            I install didn't follow the README, because the step 2.4 has error.

            command “cat ... | tar -xz” has error "gzip: stdin: unexpected end of file",

            and only ebs12xx.img and vm.cfg has getted, system.img and README.txt cann't getted.

             

            /*****************STEP 2.4 of README************************

            2.4 Concatenate and Extract the Templates
            -----------------------------------------
            Concatinate and extract the .tgz files. This step creates a directory
            with the name of the template, containing all the files for the
            template.

            For example:

            # cd /OVS/seed_pool

            # cat OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.0
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.1
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.2
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.3
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.4
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.5
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.6
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.7 | tar -xz

            This will create the following directory structure:

            /OVS/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM

            |
            |- System.img (OS image file)
            |- ebs1211db.img.img (Oracle E-Biz 12.1.3 DB Tier image file)
            |- vm.cfg (VM configuration file)
            |- README.txt

            Similarly, you would perform:

            # cat OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM.tgz.0
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM.tgz.1
            \ OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM.tgz.2 | tar -xz

            This will create the following directory structure:

            /OVS/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM
            |
            |- System.img (OS image file)
            |- ebs1211apps.img (Oracle E-Biz 12.1.3 Application Tier image file)
            |- vm.cfg (VM configuration file)
            |- README.txt

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

             

            So i merge the files into a .tgz file with command "tar xxx.tgz.0 xxx.tgz.1 xxx.tgz.2 > xxx.tgz".

            Then in VMManager import the xxx.tgz into VMServer with ftpserver.

            Application Tier has imported, but when importing DB Tier, the error has happend .

            • 3. Re: When I Import EBS12.1.3 Database Tier Template files,Error has happened
              Hussein Sawwan-Oracle

              I install didn't follow the README, because the step 2.4 has error.

              command “cat ... | tar -xz” has error "gzip: stdin: unexpected end of file",

              and only ebs12xx.img and vm.cfg has getted, system.img and README.txt cann't getted.


              This command should work as documented.


              Did you get any errors in extracting any of the files?


              Have you run md5sum to verify the integrity of those files? -- https://edelivery.oracle.com/EPD/ViewDigest/get_form?epack_part_number=B63151-01


              Thanks,

              Hussein

              • 4. Re: When I Import EBS12.1.3 Database Tier Template files,Error has happened
                1003081

                Hi Hussein:

                 

                Thank you for your answer.

                Have you run md5sum to verify the integrity of those files? -- https://edelivery.oracle.com/EPD/ViewDigest/get_form?epack_part_number=B63151-01

                 

                Yes,I get the files's MD5 and SHA1 with MD5 tools, and config the result with the View Digest which getted from oracle, they are same.

                 

                Thanks,

                Mails