9 Replies Latest reply: Jan 22, 2012 10:53 PM by 910387 RSS

    Error in Deploy a Store in oracle nosql

    910387
      hello,

      i'm so sorry



      when that i try to Deploy a Store, i encountered with this error:

      --DeployOneRepNode of rg1-rn2 on sn2/farley:5200 [RUNNING]--
      failed. ....  Failed to attach to RepNodeService for rg1-rn2,
      see log, /KVRT3/<mystore>/log/rg1-rn2*.log, on host
      farley for more information.

      *Exception while executing command plan: Oracle NoSQL DB 11gR2.1.2.123 oracle.kv.impl.fault.OperationFaultException: Plan 6[Deploy the store] finished in state* *ERROR. DeployOneRepNode of rg1-rn2 on sn2/node01:5000 [RUNNING] failed.: Oracle NoSQL DB 11gR2.1.2.123 java.lang.IllegalStateException: Failed to attach* to RepNodeService for rg1-rn2, see log, KVROOT/mystore/log/rg1-rn2.log, on host 10.33.0.250 for more information.

      I even went to Fixing Incorrect Storage Node HA Port Ranges part in your tutorial and did steps, but again did the same error.

      Tks

      Edited by: 907384 on Jan 11, 2012 6:00 AM

      Edited by: 907384 on Jan 12, 2012 1:27 AM
        • 1. Re: Error in Deploy a Store in oracle nosql
          Charles Lamb
          907384 wrote:
          hello,

          when that i try to Deploy a Store i encountered with this error:

          DeployOneRepNode of rg1-rn2 on sn2/farley:5200 [RUNNING]
          failed. .... Failed to attach to RepNodeService for rg1-rn2,
          see log, /KVRT3/<mystore>/log/rg1-rn2*.log, on host
          farley for more information.

          I even went to Fixing Incorrect Storage Node HA Port Ranges part in your tutorial and did steps, but again did the same error.
          Hello,

          Have you looked in the logs in /KVRT3/<mystore>/log/rg1-rn2*.log? If so, do they show anything relevant?

          Charles Lamb
          • 2. Re: Error in Deploy a Store in oracle nosql
            Linda Lee-Oracle
            The error message says that you have configured your store so that there is a storage node running on a host called farley, at port 5200.
            DeployOneRepNode of rg1-rn2 on sn2/farley:5200 [RUNNING]
            failed. .... Failed to attach to RepNodeService for rg1-rn2,
            see log, /KVRT3/<mystore>/log/rg1-rn2*.log, on host farley for more information.
            Do you truly have a host named farley? We use that hostname in some of our examples; is it possible that somehow you have cut and pasted too much of the directions on one of your steps, and unintentionally configured something for a host that you do not have?

            In addition to what Charles suggested, you may want to run the verify command, available via the Admin Console web UI, as a button on the upper right of the topology tab, or via the Admin CLI. That would show you the layout your current configuration, and might clarify the situation.

            Linda
            • 3. Re: Error in Deploy a Store in oracle nosql
              910387
              hello,

              i'm so sorry



              when that i try to Deploy a Store, i encountered with this error:

              --DeployOneRepNode of rg1-rn2 on sn2/farley:5200 [RUNNING]--
              failed. .... Failed to attach to RepNodeService for rg1-rn2,
              see log, /KVRT3/<mystore>/log/rg1-rn2*.log, on host
              farley for more information.

              *Exception while executing command plan: Oracle NoSQL DB 11gR2.1.2.123 oracle.kv.impl.fault.OperationFaultException: Plan 6[Deploy the store] finished in state* *ERROR. DeployOneRepNode of rg1-rn2 on sn2/node01:5000 [RUNNING] failed.: Oracle NoSQL DB 11gR2.1.2.123 java.lang.IllegalStateException: Failed to attach* to RepNodeService for rg1-rn2, see log, KVROOT/mystore/log/rg1-rn2.log, on host 10.33.0.250 for more information.

              I even went to Fixing Incorrect Storage Node HA Port Ranges part in your tutorial and did steps, but again did the same error.

              Tks
              • 4. Re: Error in Deploy a Store in oracle nosql
                Charles Lamb
                907384 wrote:
                hello,

                i'm so sorry
                That's ok.
                see log, /KVRT3/<mystore>/log/rg1-rn2*.log, on host
                farley for more information.
                "see log, KVROOT/mystore/log/rg1-rn2.log, on host 10.33.0.250". What do these logs say?

                Charles Lamb

                Edited by: Charles Lamb on Jan 12, 2012 9:49 AM
                • 5. Re: Error in Deploy a Store in oracle nosql
                  910387
                  I read the rg1-rn2_0.log file but do not catch!
                  This is to say that, both machines (SN1 , SN2) are on the vm-ware
                  Below I have placed part of the file:

                  com.sleepycat.je.rep.impl.node.Replica.runReplicaLoopInternal(Replica.java:373)
                       at com.sleepycat.je.rep.impl.node.Replica.runReplicaLoop(Replica.java:309)
                       at com.sleepycat.je.rep.impl.node.RepNode.run(RepNode.java:1318)

                  01-10-12 18:48:44:508 IRST INFO [rg1-rn2] JE: Elections shutdown completed
                  01-10-12 18:48:44:510 IRST INFO [rg1-rn2] JE: RepNode main thread: DETACHED rg1-rn2(-1) exited.
                  01-10-12 18:48:44:512 IRST INFO [rg1-rn2] JE: ServiceDispatcher shutdown starting. HostPort=node02:5010 Registered services: []
                  01-10-12 18:48:44:515 IRST INFO [rg1-rn2] JE: ServiceDispatcher shutdown completed. HostPort=node02:5010
                  01-10-12 18:48:44:515 IRST INFO [rg1-rn2] JE: rg1-rn2(-1) shutdown completed.
                  01-10-12 18:48:44:520 IRST SEVERE [rg1-rn2] Process exiting
                  com.sleepycat.je.EnvironmentFailureException: (JE 5.0.36) rg1-rn2(-1):KVROOT/mystore/sn2/rg1-rn2/env Clock delta: 36882 ms. between Feeder: rg1-rn1 and this Replica exceeds max permissible delta: 2000 ms. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed.
                       at com.sleepycat.je.rep.stream.ReplicaFeederHandshake.checkClockSkew(ReplicaFeederHandshake.java:309)
                       at com.sleepycat.je.rep.stream.ReplicaFeederHandshake.execute(ReplicaFeederHandshake.java:173)
                       at com.sleepycat.je.rep.impl.node.Replica.initReplicaLoop(Replica.java:566)
                       at com.sleepycat.je.rep.impl.node.Replica.runReplicaLoopInternal(Replica.java:373)
                       at com.sleepycat.je.rep.impl.node.Replica.runReplicaLoop(Replica.java:309)
                       at com.sleepycat.je.rep.impl.node.RepNode.run(RepNode.java:1318)
                  01-10-12 18:48:44:526 IRST SEVERE [rg1-rn2] Exception creating service rg1-rn2: Oracle NoSQL DB 11gR2.1.2.123 (JE 5.0.36) rg1-rn2(-1):KVROOT/mystore/sn2/rg1-rn2/env Clock delta: 36882 ms. between Feeder: rg1-rn1 and this Replica exceeds max permissible delta: 2000 ms. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed.: oracle.kv.FaultException: Oracle NoSQL DB 11gR2.1.2.123 (JE 5.0.36) rg1-rn2(-1):KVROOT/mystore/sn2/rg1-rn2/env Clock delta: 36882 ms. between Feeder: rg1-rn1 and this Replica exceeds max permissible delta: 2000 ms. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed.
                  Fault class name: com.sleepycat.je.EnvironmentFailureException
                  Remote stack trace: com.sleepycat.je.EnvironmentFailureException: (JE 5.0.36) rg1-rn2(-1):KVROOT/mystore/sn2/rg1-rn2/env Clock delta: 36882 ms. between Feeder: rg1-rn1 and this Replica exceeds max permissible delta: 2000 ms. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed.
                       at com.sleepycat.je.rep.stream.ReplicaFeederHandshake.checkClockSkew(ReplicaFeederHandshake.java:309)
                       at com.sleepycat.je.rep.stream.ReplicaFeederHandshake.execute(ReplicaFeederHandshake.java:173)
                       at com.sleepycat.je.rep.impl.node.Replica.initReplicaLoop(Replica.java:566)
                       at com.sleepycat.je.rep.impl.node.Replica.runReplicaLoopInternal(Replica.java:373)
                       at com.sleepycat.je.rep.impl.node.Replica.runReplicaLoop(Replica.java:309)
                       at com.sleepycat.je.rep.impl.node.RepNode.run(RepNode.java:1318)

                       at oracle.kv.impl.rep.RepNodeServiceFaultHandler.getThrowException(RepNodeServiceFaultHandler.java:69)
                       at oracle.kv.impl.fault.ProcessFaultHandler.rethrow(ProcessFaultHandler.java:205)
                       at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:129)
                       at oracle.kv.impl.sna.ManagedRepNode.start(ManagedRepNode.java:152)
                       at oracle.kv.impl.sna.ManagedService.main(ManagedService.java:519)

                  Thank you for your answer

                  Edited by: 907384 on Jan 16, 2012 12:39 AM
                  • 6. Re: Error in Deploy a Store in oracle nosql
                    Charles Lamb
                    907384 wrote:

                    com.sleepycat.je.EnvironmentFailureException: (JE 5.0.36) rg1-rn2(-1):KVROOT/mystore/sn2/rg1-rn2/env Clock delta: 36882 ms. between Feeder: rg1-rn1 and this Replica exceeds max permissible delta: 2000 ms. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed.
                    You need to make sure your clocks are all synched. Run ntp on all the machines. Start over.

                    Charles Lamb

                    Edited by: Charles Lamb on Jan 16, 2012 9:07 AM
                    • 7. Re: Error in Deploy a Store in oracle nosql
                      910387
                      Hi,

                      The problem was what you said.

                      I run ntp on all the machines

                      Thank you very much

                      Edited by: 907384 on Jan 17, 2012 3:13 AM

                      Edited by: 907384 on Jan 17, 2012 3:16 AM
                      • 8. Re: Error in Deploy a Store in oracle nosql
                        Linda Lee-Oracle
                        The prerequisites chapter of the Admin Guide mentions the need to synchronize clocks on all nodes before deploying. See http://docs.oracle.com/cd/NOSQL/html/AdminGuide/installation.html#install-prereqs. In future releases, we will also try to generate a more informative error message that is easier to interpret.
                        • 9. Re: Error in Deploy a Store in oracle nosql
                          910387
                          Thanks for the answer