This discussion is archived
2 Replies Latest reply: Sep 26, 2012 1:16 AM by viju RSS

OVM3.1.1 - Please wait while system is initializing

648299 Newbie
Currently Being Moderated
Hello,

One of my OVM Servers is having issues within the OVM Manager 3.1.1. I checked the ovmmanager admin log (/u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/AdminServer/logs/AdminServer.log) and found this . The server (ovs1) is alive, it has the /OVS repo and heartbeat attached. I can even manually start VM on it if I wanted to. It just seems the OVM Manager and that server are for whatever reason no longer talking.... Please Help!


<BEA-000000> <Unexpected exception during auto re-discovery of server: ovs1
com.oracle.odof.exception.ObjectNotFoundException: No such object (level 1): 12616
Thu Sep 13 20:19:12 EDT 2012
at com.oracle.odof.core.storage.ObjectStore.getVessel(ObjectStore.java:1423)
at com.oracle.odof.core.BasicWork.acquireVessel(BasicWork.java:38)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:135)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:234)
at com.oracle.ovm.mgr.api.event.ServerDiscoverScanEventProxy.getAssociatedManagedObjectHandle(Unknown Source)
at com.oracle.ovm.mgr.api.event.EventLogDbImpl.getStatusEvent(EventLogDbImpl.java:915)
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.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:234)
at com.oracle.ovm.mgr.api.event.EventLogProxy.getStatusEvent(Unknown Source)
at com.oracle.ovm.mgr.api.event.EventLogDbImpl.getStatusEvent(EventLogDbImpl.java:892)
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.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:234)
at com.oracle.ovm.mgr.api.event.EventLogProxy.getStatusEvent(Unknown Source)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.getStatusEvent(ManagedObjectDbImpl.java:525)
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.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
  • 1. Re: OVM3.1.1 - Please wait while system is initializing
    648299 Newbie
    Currently Being Moderated
    Figured out how to solve this! Hopefully the answer helps someone out.


    Ran as follows:
    /etc/init.d/ovmm stop

    NOTE: cat /u01/app/oracle/ovm-manager-3/.config (This provides some of the info you need to connect to your db if you have forgotten.)

    cd /u01/app/oracle/ovm-manager-3/bin/
    ./ovm_upgrade.sh fixup dbhost=<hostnameofdb> dbport=1521 dbsid=<ovm db sid> dbuser=ovs dbpass=<pw>

    This ran fixed errors.

    Restarted OVM Manager:
    /etc/init.d/ovmm start

    Now my OVM Server is no longer in a stuck "Please wait while system initializes" state.
  • 2. Re: OVM3.1.1 - Please wait while system is initializing
    viju Newbie
    Currently Being Moderated
    Hi All,

    Have similar problem but after following below one also still we are facing same error "Please wait while system is initializing" and unable to acknowledge any of the events.


    1) Stop OVM service on the server with Oracle VM Manager installation:
    # service ovmm stop

    2)Please run the following commands:
    # cd /u01/app/oracle/ovm-manager-3/ovm_upgrade/bin
    # ./ovm_upgrade.sh fixup dbuser=ovs dbpass=<password> dbhost=localhost dbport=<lsnr> dbsid=<sid>
    Port and sid values are recorded in /u01/app/oracle/ovm-manager-3/.config

    3) Start the OVM service:
    # service ovmm start

    Process followed logs

    [root@ablvmmgr bin]# ./ovm_upgrade.sh fixup dbuser=ovs dbpass=System123 dbhost=localhost dbport=1521 dbsid=XE
    find: /tmp/ovmpatches: No such file or directory
    Copying xsl files to patch path location
    `./transform_003000002000_010.xsl' -> `/tmp/ovmpatches/transform_003000002000_010.xsl'
    `./transform_003000003000_010.xsl' -> `/tmp/ovmpatches/transform_003000003000_010.xsl'
    Copying deleted classes files to patch path location
    `./deletedClasses.xml' -> `/tmp/ovmpatches/deletedClasses.xml'
    INFO (OvmUpgrade.java:117) Oracle OVM Manager Upgrade Processor
    INFO (OvmUpgrade.java:118)
    INFO (OvmUpgrade.java:326) Upgrade Initialization Starting
    INFO (OdofDirector.java:219) Oracle Distributed Object Fabric (ODOF): Copyright (C) 2007, 2011 Oracle. All rights reserved.
    INFO (OdofDirector.java:220) ODOF Version: 1.0.0.0
    INFO (OdofDirector.java:221) Initializing...
    ERROR (OvmUpgrade.java:687) Failed to connect to Database! Error: **
    java.sql.SQLException: ORA-28001: the password has expired

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:573)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:366)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:157)
    at com.oracle.ovm.mgmt.upgrade.OvmUpgrade$1.getConnection(OvmUpgrade.java:683)
    at com.oracle.odof.core.storage.RelationalStore.acquireConnection(RelationalStore.java:1901)
    at com.oracle.odof.core.storage.RelationalStore.initSystemSchema(RelationalStore.java:1613)
    at com.oracle.odof.core.storage.RelationalStore.startup(RelationalStore.java:1883)
    at com.oracle.odof.core.storage.ObjectStore.startup(ObjectStore.java:800)
    at com.oracle.odof.OdofDirector.initDirector(OdofDirector.java:256)
    at com.oracle.ovm.mgmt.upgrade.OvmUpgrade.init(OvmUpgrade.java:567)
    at com.oracle.ovm.mgmt.upgrade.OvmUpgrade.main(OvmUpgrade.java:327)
    [root@ablvmmgr bin]# passwd -s oracle
    passwd: bad argument -s: unknown option
    [root@ablvmmgr bin]# passwd -S oracle
    oracle LK 2011-11-10 0 99999 7 -1 (Password locked.)
    [root@ablvmmgr bin]# passwd oracle
    Changing password for user oracle.
    New UNIX password:
    BAD PASSWORD: it is based on a dictionary word
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.
    [root@ablvmmgr bin]# passwd -S oracle
    oracle PS 2012-09-25 0 99999 7 -1 (Password set, MD5 crypt.)
    [root@ablvmmgr bin]#

    Unfortunately there is no log after unlocking password...

    Edited by: 903748 on Sep 26, 2012 1:15 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points