2 Replies Latest reply: Apr 10, 2013 11:18 AM by Sbarber.Uk-Oracle RSS

    System time is earlier than database time. (com.oracle.ovm.mgr.model.Model)

    Sbarber.Uk-Oracle
      I have recovered an OVM Manager to a different server using the "runInstaller --uuid", now I am getting the following error when I start the OVM Manager, which is version 3.0.3.

      ####<Apr 10, 2012 3:39:32 PM BST> <Info> <com.oracle.ovm.mgr.model.ModelEngine> <sbarber-vm5.uk.oracle.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JQSgIqh9XbFpN0g8ye1FX4N^000002> <1334068772748> <BEA-000000> <Starting Model Engine Error
      java.lang.IllegalStateException: System time is earlier than database time. Please set system time after 2013-04-08 16:49:16 +0000
      at com.oracle.ovm.mgr.model.ModelEngine.checkSystemTime(ModelEngine.java:255)
      at com.oracle.ovm.mgr.model.ModelEngine.createModel(ModelEngine.java:201)
      at com.oracle.ovm.mgr.model.ModelEngine.start(ModelEngine.java:127)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:335)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:307)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngine(EngineManagerImpl.java:512)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startModelEngine(EngineManagerImpl.java:463)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngines(EngineManagerImpl.java:547)
      at com.oracle.ovm.mgr.control.api.EngineManagerImpl.start(EngineManagerImpl.java:453)
      at com.oracle.ovm.mgr.control.service.VirtualizationService.startEngines(VirtualizationService.java:426)
      at com.oracle.ovm.mgr.control.service.VirtualizationService.start(VirtualizationService.java:125)
      at oracle.ovm.web.OVMManagerCoreServlet.init(OVMManagerCoreServlet.java:209)
      at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
      at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
      at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
      at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

      OVM Manager date and time are;

      $date
      Tue Apr 10 15:53:45 BST 2012

      The database is remote and it's system date and time is;

      $ date
      Wed Apr 10 07:36:34 PDT 2013

      Verified by;

      SQL> select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS') from dual;

      TO_CHAR(SYSDATE,'DD-
      --------------------
      10-APR-2013 07:37:58

      Any help gratefully recieved.