This discussion is archived
1 2 3 Previous Next 34 Replies Latest reply: Feb 6, 2012 1:48 PM by Avi Miller RSS

Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re

848045 Newbie
Currently Being Moderated
Has anyone else experienced this error message when trying to login to Oracle VM Manager 3.0.2 GUI?

"Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused Tue Nov 15 17:20:22 PST 2011), please consult logs for details."

I had a CSR on this exact error with 3.0.1 and the only way to fix it was to install 3.0.2. Trying to see if anyone here has a fix... I'll probably open another CSR as well.

Thanks,

Ken
  • 1. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    "Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused Tue Nov 15 17:20:22 PST 2011), please consult logs for details."
    What does +/u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/AdminServer/logs/AdminServer.log+ say on the Oracle VM Manager?
  • 2. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    Avi,

    The limitations of this forum won't let me post the entire log, but I did notice that NOTHING hits this log file when I attempt to login. Here's the tail of the log, but again, nothing is added when watching the log during an attempted login on the GUI.

    Ken

    [root@ovmmanager ovm-manager-3]# date
    Tue Nov 15 17:36:32 PST 2011
    [root@ovmmanager ovm-manager-3]#
    [root@ovmmanager ovm-manager-3]# tail -f ./machine1/base_adf_domain/servers/AdminServer/logs/AdminServer.log
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257959> <BEA-000000> <JspServlet: param compileCommand initialized to: javac>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257959> <BEA-000000> <JspServlet: param compilerval initialized to: javac>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257959> <BEA-000000> <JspServlet: param pageCheckSeconds initialized to: -1>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257959> <BEA-000000> <JspServlet: param encoding initialized to: null>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257959> <BEA-000000> <JspServlet: param superclass initialized to null>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257960> <BEA-000000> <JspServlet: param workingDir initialized to: /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/AdminServer/tmp/_WL_user/ovm_console/i75mdc>
    ####<Nov 15, 2011 5:00:57 PM PST> <Info> <ServletContext-/ovm/console> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000002d> <1321405257960> <BEA-000000> <JspServlet: initialization complete>
    ####<Nov 15, 2011 5:01:58 PM PST> <Info> <Health> <ovmmanager.ts.wwu.edu> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000000e> <1321405318583> <WL-310002> <55% of the total memory in the server is free>
    ####<Nov 15, 2011 5:10:58 PM PST> <Info> <Health> <ovmmanager.ts.wwu.edu> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000000e> <1321405858910> <WL-310002> <75% of the total memory in the server is free>
    ####<Nov 15, 2011 5:29:58 PM PST> <Info> <Health> <ovmmanager.ts.wwu.edu> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <f6c8738226121341:-353e7c1c:133a9d6d492:-8000-000000000000000e> <1321406998914> <WL-310002> <64% of the total memory in the server is free>
  • 3. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    The limitations of this forum won't let me post the entire log, but I did notice that NOTHING hits this log file when I attempt to login. Here's the tail of the log, but again, nothing is added when watching the log during an attempted login on the GUI.
    You need to check higher in the log to see if there's a problem with the OVMDS data source or anything else as the Manager starts up. Essentially, you're looking for problems that are preventing the Manager Core from starting properly.
  • 4. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    Here's the "diagnostic" log in the same directory... It does register the error when attempting to login:

    [root@ovmmanager logs]# tail -f AdminServer-diagnostic.log
    Tue Nov 15 17:35:34 PST 2011
    ]]
    [2011-11-15T17:36:10.692-08:00] [AdminServer] [ERROR] [] [com.oracle.ovm.mgr.faces.backing.Login] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: f6c8738226121341:-353e7c1c:133a9d6d492:-8000-0000000000000125,0] [APP: ovm_console] Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused[[
    Tue Nov 15 17:36:10 PST 2011), please consult logs for details. OVMAPI_6000E Internal Error: Connection refused Connection refused
    Tue Nov 15 17:36:10 PST 2011
    ]]
    [2011-11-15T17:36:43.942-08:00] [AdminServer] [ERROR] [] [com.oracle.ovm.mgr.faces.backing.Login] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: f6c8738226121341:-353e7c1c:133a9d6d492:-8000-0000000000000129,0] [APP: ovm_console] Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused[[
    Tue Nov 15 17:36:43 PST 2011), please consult logs for details. OVMAPI_6000E Internal Error: Connection refused Connection refused
    Tue Nov 15 17:36:43 PST 2011
    ]]






    [2011-11-15T17:44:19.617-08:00] [AdminServer] [ERROR] [] [com.oracle.ovm.mgr.faces.backing.Login] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: f6c8738226121341:-353e7c1c:133a9d6d492:-8000-0000000000000139,0] [APP: ovm_console] Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused[[
    Tue Nov 15 17:44:19 PST 2011), please consult logs for details. OVMAPI_6000E Internal Error: Connection refused Connection refused
    Tue Nov 15 17:44:19 PST 2011
    ]]
  • 5. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    And I am running from the console of the Oracle VM Manager using Firefox 5.0. No network or firewall involved...

    Ken
  • 6. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    Definitely some errors in regards to OVMDS, "ORA-28000: the account is locked"

    ####<Nov 15, 2011 4:46:49 PM PST> <Info> <WorkManager> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321404409579> <WL-002901> <Creating WorkManager "consoleWorkManager" for module "null" and application "consoleapp">
    ####<Nov 15, 2011 4:46:55 PM PST> <Info> <JDBC> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321404415835> <WL-001177> <Creating Connection Pool named OVMDS, URL = jdbc:oracle:thin:@localhost:1521:XE, Properties = user=ovs;DatabaseName=XE;.>
    ####<Nov 15, 2011 4:46:55 PM PST> <Info> <Common> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321404415912> <WL-000626> <Free resources in pool "OVMDS" will be tested every "120" seconds.>
    ####<Nov 15, 2011 4:46:59 PM PST> <Warning> <JDBC> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321404419006> <WL-001129> <Received exception while creating connection for pool "OVMDS": ORA-28000: the account is locked
    >
    ####<Nov 15, 2011 4:46:59 PM PST> <Info> <JDBC> <ovmmanager.ts.wwu.edu> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321404419007> <WL-001156> <Stack trace associated with message 001129 follows:

    java.sql.SQLException: ORA-28000: the account is locked

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:662)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:438)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:370)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:817)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:376)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)
    at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:694)
    at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:267)
    at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:134)
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:477)
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:177)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)


    Ken
  • 7. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    Definitely some errors in regards to OVMDS, "ORA-28000: the account is locked"
    There we go. Need to resolve that issue with your database first so that Oracle VM can operate correctly.
  • 8. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    Thanks for your efforts Avi. If I was an Oracle DBA, I'd jump right in and fix the account in the database. Unfortunately that's not my expertise. The previous CSR on this identical error message, the Oracle engineer had me create another account called "admin1" and it received the exact same error.

    Edited by: user3259832 on Nov 15, 2011 11:11 PM
  • 9. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    Thanks for your efforts Avi. If I was an Oracle DBA, I'd jump right in and fix the account in the database. Unfortunately that's not my expertise. The previous CSR on this identical error message, the Oracle engineer had me create another account called "admin1" and it received the exact same error message. Seems like they shoud consider fixing this product before releasing it eh?
    Well, the Oracle VM guys can't do much about Oracle Database. :) If you're using the supplied XE database, keep in mind that this is not supported in production (as detailed in the documentation) and that you should use SE or EE instead. There is no need to purchase a license for these products if you're only using them for Oracle VM Manager, as we include a limited-use license for Oracle VM. I personally use an Oracle Database 11gR2 Enterprise Edition instance for my Oracle VM Manager and I've never seen this particular issue. Though, that's just an anecdotal reference.
  • 10. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    Right! Got it. Oracle-XE which is installed by default not supported... Check!

    I'll read more closely next time...

    Switching to a supported DB...
  • 11. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    Right! Got it. Oracle-XE which is installed by default not supported... Check!
    Yeah, we're making this a LOT more obvious in 3.0.3 -- the "Simple" install becomes "Unsupported" or something like that. I forget the exact term they're using, but it's made a lot more obvious that the default XE database should be used only for test/POC implementations.
  • 12. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    It's the OVS account in the Oracle-XE database that's getting "locked (timed)". I unlocked the account, then stopped and restarted /etc/init.d/ovmm and tried logging in again. OVS was locked (timed) again...

    Guess I'll start over tomorrow with a new db install.

    SQL> select username, account_status from dba_users;

    USERNAME          ACCOUNT_STATUS
    ------------------------------ --------------------------------
    OVS               OPEN
    ANONYMOUS          OPEN
    SYSTEM               OPEN
    SYS               OPEN
    APEX_040000          LOCKED
    APEX_PUBLIC_USER     LOCKED
    HR               EXPIRED & LOCKED
    XDB               EXPIRED & LOCKED
    CTXSYS               EXPIRED & LOCKED
    MDSYS               EXPIRED & LOCKED
    FLOWS_FILES          EXPIRED & LOCKED

    USERNAME          ACCOUNT_STATUS
    ------------------------------ --------------------------------
    XS$NULL           EXPIRED & LOCKED
    OUTLN               EXPIRED & LOCKED

    13 rows selected.

    SQL> select username, account_status from dba_users;

    USERNAME          ACCOUNT_STATUS
    ------------------------------ --------------------------------
    ANONYMOUS          OPEN
    SYSTEM               OPEN
    SYS               OPEN
    OVS               LOCKED(TIMED)
    APEX_040000          LOCKED
    APEX_PUBLIC_USER     LOCKED
    HR               EXPIRED & LOCKED
    XDB               EXPIRED & LOCKED
    CTXSYS               EXPIRED & LOCKED
    MDSYS               EXPIRED & LOCKED
    FLOWS_FILES          EXPIRED & LOCKED

    USERNAME          ACCOUNT_STATUS
    ------------------------------ --------------------------------
    XS$NULL           EXPIRED & LOCKED
    OUTLN               EXPIRED & LOCKED

    13 rows selected.

    SQL>
  • 13. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    848045 Newbie
    Currently Being Moderated
    And for whatever it's worth, I didn't do a "simple" install, I selected "standard". Just didn't realize that you had to install a real Oracle db and not use XE before installing OVM Manager.
  • 14. Re: Can't login to OVM Manager GUI:  OVMAPI_6000E Internal Error: Connection re
    Avi Miller Guru
    Currently Being Moderated
    user3259832 wrote:
    It's the OVS account in the Oracle-XE database that's getting "locked (timed)". I unlocked the account, then stopped and restarted /etc/init.d/ovmm and tried logging in again. OVS was locked (timed) again...
    Means that the OVMDS password for the OVS account is wrong. You should use the ovs_admin script in /u01/app/oracle/ovm-manager-3/bin to modify the OVMDS to match the right password:
    [root@ovm3 bin]# ./ovm_admin
    
    Oracle VM Manager Release 3.0.3 Admin tool
    
    Usage:  ./ovm_admin [options]
    
    options
     --help                                            Shows this message
     --createuser <admin> <password>                   Create new Oracle VM Manager admin user
     --deleteuser <admin>                              Delete Oracle VM Manager admin user
     --listusers                                       List Oracle VM Manager users
     --modifyuser <admin> <password> <new_password>    Modify Oracle VM Manager user password
     --lockusers <tries>                               Max login tries before locking account.
                                                       This setting is global.
     --unlockuser <admin>                              Unlock user account
     --modifyds <SID> <host> <port> <schema> <password>Modify Data Store 'OVMDS'
     --listconfig                                      List configuration
     --rotatelogsdaily <time>                          Rotate Logs Daily (HH:MM)
     --rotatelogsbysize <size>                         Rotate Logs By Size (KB)
    The option you want to use is "--modifyds" and provide the sid (XE), host (local hostname), port (1521 probably), schema (OVS) and password (whatever the right password is).

    I know my example says 3.0.3 but this tool exists and works in 3.0.2 as well. :)
1 2 3 Previous Next