OMS doesn't start - can't connect to database

Hi all,
My dev/test environment won't start OMS anymore. This really has us stopped in our tracks...
It will start the WebTier, but OMS won't come up:
[oracle@ora-emcc log]$ $OMS_HOME/bin/emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is not functioning because of the following reason:
Failed to connect to repository database. OMS will be automatically restarted once it identifies that database and listener are up.
Trying to check oms details results in an error as well:
[oracle@ora-emcc config]$ $OMS_HOME/bin/emctl status oms -details -sysman_pwd $SYSMAN_PWD
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name oracle.security.jps.internal.common.resources.keystore.KeyStoreResources, locale
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
        at oracle.security.jps.util.JpsBundle.<init>(JpsBundle.java:70)
        at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:151)
        at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:106)
        at oracle.security.jps.JpsLocalizableException.getResourceBundle(JpsLocalizableException.java:157)
        at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:140)
        at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:131)
        at java.lang.Throwable.toString(Throwable.java:343)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:536)
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
        at java.lang.Throwable.printStackTrace(Throwable.java:516)
        at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59)
        at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)
        at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:234)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
        at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
        at org.apache.log4j.Category.callAppenders(Category.java:203)
        at org.apache.log4j.Category.forcedLog(Category.java:388)
        at org.apache.log4j.Category.error(Category.java:319)
        at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:240)
In the WebLogic Admin Console, I can see that BIP, EMGC_ADMINSERVER and EMGC_OMS1 are all in state Running and health Ok.
Our OMS and OMR servers are (and have always been) 2 different machines. The database on OMR has always been (and is currently) up and available.
Checking that I can connect to the repository database on OMR from the OMS server:
[oracle@ora-emcc ~]$ sqlplus sysman/$SYSMAN_PWD@ora-emccdb:1521/emccdb
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Oct 10 23:34:53 2013
Copyright (c) 1982, 2008, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Any suggestions will be much appreciated.
Ed

Hi all,
Many thanks for responding. I have opened an SR with Oracle 24 days ago. However, I just noticed I haven't heard from them for 13 days!
Must ping them to see what's happening...
I will check out your suggestions. The db and the listener are all fine and up anyway.
After looking in a lot of logfiles (and uploading them to the SR), it looks as if it could have to do with credentials in a wallet:
[oracle@ora-emcc log]$ cat secure.log
2013-10-15 20:07:36,265 [main] INFO oms.ListReposDetails logp.251 - Listing repository details from CredStore
2013-10-15 20:07:36,269 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.177 - Getting credentials from wallet
2013-10-15 20:07:36,728 [main] INFO oms.AdminCredsWalletUtil setInstanceHome.192 - Read the credentials from wallet
2013-10-15 20:07:36,728 [main] INFO util.EmctlUtil logp.251 - Connecting over t3s to: ora-emcc.localdomain/7102 using id: weblogic
2013-10-15 20:07:38,639 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2013-10-15 20:07:38,639 [main] INFO oms.ListReposDetails logp.251 - Exception thrown when getting repos details from CredStore: javax.management.RuntimeMBeanException: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06516: Failed to get credential store. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
I will ping Oracle Support again (it's now with the security team) and see what the feedback is.
Regards,
Ed

Similar Messages

  • Getting error  "Can't connect to database DBMS is not supported in your current installation" in Demantra

    Hi,
    I have installed Microsoft Win x64(64-bit) Demantra 7.3.1.5 on Win 7(64-bit).
    When I try to open Business Modeler or Demand Planner or Business Logic Engine from :
    Start -> Oracle Demantra Spectrum , I am getting same error "Can't connect to database DBMS is not supported in your current installation"
    Below is a screenshot of same.
    I can connect to Collaborator Workbench though, but when I click on any of the "Planning Applications" from the menu in Collaborator Workbench window, again error is thrown.
    Error is  " Application could not be run! Error : undefined " as below :
    I have installed Oracle DB Enterprise edition 11gR2(64-bit)
    Please suggest where I am doing wrong.
    Regards,
    Vinni Sharma.

    Hi Sharma,
    Is this issue resolved? or still facing the same problem?
    We need to setup connections details in ds.ini file under demantra_installation\Demand Planner\Security Management folder on the server side.
    Regards,
    Akshay

  • Oracle Enterprise Manager can't connect to database after installation

    Hello, I have a problem with Enterprise Manager. I installed Oracle 10g and the patch 10.2.0.2. After install, I could connect to database from SqlPlus without problems, but when I try to connect from AllPrograms - Oracle - DatabaseControl or since the Web browser with http://servername:1158/em nothing happen. I reviewed the status of dbconsole with emctl status dbconsole but the status is running. I recreated the repository with emca -deconfig.......-repos drop and emca -config ...... -repos create , but nothing happened. I reviewed some threads in this forum, but I didn't find the solution. Finally I could connect from the browser but with http://localhost:1158/em. Do you help me how can I connect from Database Control, because the operators in Computer Center should monitor the instance since there, and when I want to connect since my own PC how can do it?
    Thanks for your help and excuse my English, I am from Bogot&aacute; Colombia.
    Sincerely Rub&eacute;n

    Hi,
    Check the network connectivity between db server and pc from where u want to access em.
    Check the listener service.
    Check firewall settings, it should be off.
    Regards,
    Xaheer

  • Can I connect with Database using Session Bean

    Hi,
    I am new to EJB. I have small doubt.
    can I connect with Database using Session Bean.
    Regards,
    Murali.

    Double post of http://forum.java.sun.com/thread.jspa?threadID=687239&tstart=0

  • Java 7 Update 25 Client App Downloaded From Web Start Can't Connect Out

    Since Java 7 update 25, I have an issue where my client Java application, downloaded with Java Web Start, can no longer connect to a remote server. (The client uses remote EJB to connect various servers). The issue I believe is that the client application is being blocked by security features of this Java update.
    A very quick (random?) fix around the problem is to show the Java console. If the Java console is enabled to be shown, the client application can connect fine.
    Although showing the Java console is a quick fix, it's not one we particularly want to keep asking customers to do. I understand we may need to define the Codebase and Permissions in the manifest file as described here: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/no_redeploy.html..
    I have defined the Codebase and Permissions in the manifest of the client jar's we build ourselves. I believe this has worked as we no longer see "Missing Codebase manifest attribute for...." in the console for our own jar's. However, the application still cannot connect out. I'm stumbling around somewhat on this issue and trying various things in an attempt to get this to work. Assuming i'm on the right lines and the problem is some jars missing the Codebase and Permissions in their manifests, my question is, should I and how can I modify the manifest of 3rd party jars to include this information? For example, the client app requires many JBoss and EJB client jars - do I need to somehow modify the manifest of all of these jars to include the codebase and permissions?
    It goes without saying that all the jars are signed - the application would not start at all if there was a problem here. So the application starts with it's login box - but it simply cannot connect out to the servers.
    If anybody can offer any help on this issue i'd be most grateful. As a quick fix, is there a way to get this to work via adjusting Control Panel settings (other than showing the console)? I have played with a lot but not stumbled on a way to get this to work other than showing the console, although ideally i'd like to be able to get this to work without having to do any tweaks to clients Java control panel.

    We're also seeing this. The 7u25 update completely derailed a trial program we were conducting, because no one could log in to our application via WebStart once they upgraded Java.
    Our login code crashes because SwingUtilities.isEventDispatchThread() throws an NPE.
    We tried theskad81's fix but it didn't work for us. We worked around the issue by hosting u21 on our site and pointing our WebStart page there instead of at Oracle's update site.
    *** ORACLE: PLEASE FIX THIS ISSUE USING APPLE'S FIX (mentioned in an earlier post - see above) ***
    Slightly edited stack trace:
         javax.security.auth.login.LoginException: java.lang.NullPointerException
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
        at sun.awt.SunToolkit.getSystemEventQueueImpl(Unknown Source)
        at java.awt.Toolkit.getEventQueue(Unknown Source)
        at java.awt.EventQueue.isDispatchThread(Unknown Source)
        at javax.swing.SwingUtilities.isEventDispatchThread(Unknown Source)
        at com.abc.ConsoleAuthUI.handle(ConsoleAuthUI.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
        at com.sun.proxy.$Proxy1.handle(Unknown Source)
        at com.abc.ms.rmi.MsLogin$1.handle(MsLogin.java:100)
        at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(Unknown Source)
        at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(Unknown Source)
        at com.abc.ms.auth.abcLoginModule.login(abcLoginModule.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at javax.security.auth.login.LoginContext.invoke(Unknown Source)
        at javax.security.auth.login.LoginContext.access$000(Unknown Source)
        at javax.security.auth.login.LoginContext$4.run(Unknown Source)
        at javax.security.auth.login.LoginContext$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
        at javax.security.auth.login.LoginContext.login(Unknown Source)
        at com.abc.ms.rmi.MsLogin.authenticate(MsLogin.java:111)
        at com.abc.ms.rmi.MsLogin.login(MsLogin.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at javax.security.auth.login.LoginContext.invoke(Unknown Source)
        at javax.security.auth.login.LoginContext.access$000(Unknown Source)
        at javax.security.auth.login.LoginContext$4.run(Unknown Source)
        at javax.security.auth.login.LoginContext$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
        at javax.security.auth.login.LoginContext.login(Unknown Source)
        at com.abc.ms.rmi.MsLogin.authenticate(MsLogin.java:111)
        at com.abc.ms.rmi.MsLogin.login(MsLogin.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
        at com.sun.proxy.$Proxy0.login(Unknown Source)
        at com.abc.abc.ui.console.Main.attemptLogin(Main.java:488)
        at com.abc.abc.ui.console.LoginDialog$7.run(LoginDialog.java:182)
        at com.abc.util.GrayTimer$GrayTimerTaskWrapper.run(GrayTimer.java:84)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)

  • [SOLVED] Mysql doesn't start, Can't change dir to '/var/lib/mysql/'

    My mysql install was working fine but now it doesn't start
    $ mysqld --verbose
    121202 22:41:34 [Warning] Can't create test file /var/lib/mysql/home.lower-test
    121202 22:41:34 [Warning] Can't create test file /var/lib/mysql/home.lower-test
    mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
    121202 22:41:34 [ERROR] Aborting
    121202 22:41:34 [Note] mysqld: Shutdown complete
    I checked using mysql_safe & it seems to be a permission issue
    $ mysqld_safe --user=mysql
    121202 22:45:34 mysqld_safe Logging to '/var/lib/mysql/home.err'.
    121202 22:45:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    /usr/bin/mysqld_safe: line 107: /var/lib/mysql/home.err: Permission denied
    rm: cannot remove ‘/var/run/mysqld/mysqld.sock’: Permission denied
    rm: cannot remove ‘/var/lib/mysql/home.pid’: Permission denied
    /usr/bin/mysqld_safe: line 144: /var/lib/mysql/home.err: Permission denied
    121202 22:45:35 mysqld_safe mysqld from pid file /var/lib/mysql/home.pid ended
    /usr/bin/mysqld_safe: line 107: /var/lib/mysql/home.err: Permission denied
    But the thing is /var/lib/mysql is already owned by mysql,
    $ ls -la /var/lib/ | grep mysql
    drwxrw-r-- 19 mysql root 4.0K Dec 2 22:29 mysql
    $ ls -la /var/ | grep lib
    drwxr-xr-x 29 root root 4.0K Nov 28 19:59 lib
    $ ls -la / | grep var
    drwxr-xr-x 13 root root 4.0K Nov 28 19:58 var
    so anyone tell me what permissions I have gotten wrong & how can I get mysql to work again?
    Last edited by cool (2012-12-02 18:26:18)

    1. You have to start mysqld as root using either sudo or from your root account
    2. The safest way to start mysql is using the unit file (systemd) or service file (rc.d) -- e.g. 'sudo systemctl mysqld start'
    3. My /var/lib/mysql directory has the following permissions 700 and owner/group is mysql/mysql. With those permissions, you're not going to be able to view the contents of the directory unless you are root or that user.
    Scott

  • OMS doesn't start

    My Oracle Management Server Doesn't start.. I have choosen then existing repository instead of creating a new repository at the time of installation.. When i start OMS it gives error java.lang.arrayindexoutofbounds.exception ....
    What should i do to make it working....

    dear frind
    I am also facing the same problem.
    If you find answer pl mail to me.
    Thanks in advance
    Suresh

  • App Store doesn't work; can't connect to iTunes Store iPod touch

    iOS 6 nothing fixes it

    My son was having this issue on his latest gen iPod touch. Worked fine for months then suddenly after a trip from our home in Wisconsin to Toronto he was getting the error message "can't connect to the iTunes Store" when he'd click on the App Store icon. I searched the forums for an hour. Tried all the tricks I read. Turned out once I set his date and time settings to automatic it started working again.
    Bizarre.
    Hope that helps some people.

  • DB Console can't connect to Database

    To all,
    Trying to get a test instance of 11.1.0.7 up in VM Ware on OEL 5. Instance and OEM installed fine--I've dropped and recreated my repository, but OEM still can't see the database. Here is the error stack I see in the emoms.log:
    2009-03-04 01:52:06,110 [HTTPThreadGroup-11] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 170
    02; Cleaning up cache and retrying
    2009-03-04 01:52:13,059 [HTTPThreadGroup-7] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://rac1.sys.com:3938/emd/ma
    in)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Io exception: Socket read timed out)
    2009-03-04 01:52:13,205 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:20,935 [HTTPThreadGroup-5] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:21,112 [HTTPThreadGroup-11] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:21,134 [EMUI_01_52_21_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has al
    ready been committed
    java.lang.IllegalStateException: Response has already been committed
    Any thoughts? emctl status output below:
    test1 /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1/sysman/log> emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.0
    OMS Version : 10.2.0.4.0
    Protocol Version : 10.2.0.4.0
    Agent Home : /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1
    Agent binaries : /U00/app/oracle/product/11107/db_1
    Agent Process ID : 32520
    Parent Process ID : 32490
    Agent URL : https://rac1.sy.com:3938/emd/main
    Repository URL : https://rac1.sy.com:1158/em/upload/
    Started at : 2009-03-04 01:35:36
    Started by user : oracle
    Last Reload : 2009-03-04 01:38:08
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 80
    Size of XML files pending upload(MB) : 15.03
    Available disk space on upload filesystem : 41.57%
    Data channel upload directory : /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1/sysman/recv
    Last attempted heartbeat to OMS : 2009-03-04 02:06:44
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    Edited by: jdanton on Mar 4, 2009 11:08 AM
    Edited by: jdanton on Mar 4, 2009 11:09 AM

    Oracle 11g.
    I have the same error
    [HTTPThreadGroup-11] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://server:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Io exception: Socket read timed out)
    Any one have found a solution to the problem.
    _Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Managed Server can not connect to Database

    I have a WebLogic cluster with three managed Server on 3 different machines.
    ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
    Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
    It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
    ( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
    Has anyone got the same problem and how to fix it? Is that the problem with the admin server?

    JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
    Ravi Jegga

  • Installed MySQL, but can't connect to database...?

    I run a wiki website, but sometimes want to be able to play with ideas and prep pages when I don't have connectivity or when the connection is bad. I've tried installing MediaWiki right on my MacBook, but while I've ensured that PHP and MySQL are set up, I can't figure out what address to put in the Database Host field, having tried localhost, my computer's address shown in the sharing control panel, usr/local/mysql/bin/mysql/data, and so on and so forth. Everything I do comes back with an error that it can't connect to the database server, even though the MySQL preference pane says that it's installed and running.
    Does anyone know what to put in the field?

    Hi,
    From Terminal, have you verified that you can access MySQL from its own command-line interface? This would confirm that at least MySQL is installed and running correctly. Also, in order to have PHP apps running correctly, you have to turn on Web Sharing in the Sharing section of System Preferences. When you turn on Web Sharing, the URL of your personal website is shown on the preference panel. You should be able to navigate to that site, and if you haven't started any development yet, you should get a default Apache page.
    Hope this helps,
    Ken

  • Can't connect to database after restarting, TNS Error

    I'm a little new to Oracle 10g administration. I successfully installed it on Oracle Enterprise Linux. Immediately after installation, I was able to connect to the default ORCL database using sqlplus. However, when I restarted the computer, I was no longer able to do so, even after restarting the listener service.
    Here is the error I get:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    The other strange thing is, whenver I create a new database using dbca, immediately after that I can connect via sqlplus. However, if I perform a shutdown/startup, I get the same error as above. Restarting the listener doesn't make any difference.
    A tnsping to my new database is successful but I can't connect to it from sqlplus.
    Running the 'lsnrctl services' command immediately after making the new database shows it running but after a shutdown/restart only the default EXTPROC service shows.
    Can anyone tell me why this happens and how to resolve it? Is there some other service I have to restart? Also, why does the listener not know of the service when it is explicitly configured in the tnsnames.ora file?
    Note that I change my ORACLE_SID to the service name before attempting to connect.
    Everything in the listener and tnsnames files was coded by the software, not by me.
    Thanks for any help.
    Here is my listener file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/10gR2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    ______________________________________________

    I played around a little by deleting and creating databases. Here is my current tnsnames file:
    TESTDATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TESTDATABASE)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I just made the database called TESTDATA. Here is the output of the command 'lsnrctl services', where the TESTDATABASE service refers to the database I just made:
    [oracle@linux ~]$ lsnrctl services
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 11-JUL-2007 22:19:47
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linux)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "TESTDATABASE" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:13 refused:0 state:ready
    LOCAL SERVER
    Service "TESTDATABASEXDB" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:972 state:ready
    DISPATCHER <machine: linux, pid: 25175>
    (ADDRESS=(PROTOCOL=tcp)(HOST=linux)(PORT=38662))
    Service "TESTDATABASE_XPT" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:13 refused:0 state:ready
    LOCAL SERVER
    Service "test2.class" has 1 instance(s).
    Instance "test2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "test2_XPT.class" has 1 instance(s).
    Instance "test2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    [oracle@linux ~]$
    Now I'm connecting and here is my result:
    [oracle@linux ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 11 22:21:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/pwd@testdata as sysdba
    Connected.
    SQL>
    I am able to access the database from the OEM.
    Now, here's what happens next. I shutdown the database from sqlplus and now when I restart, I get this message:
    SQL> startup
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Now, if I exit sqlplus, enter again and try to connect, I get this error:
    oracle@linux ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 11 22:28:01 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/pwd@testdata
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    Any solutions? I appreciate your help.

  • ODT v11 Beta Installation Problem - Can't connect to Database

    Hi, I'm having difficulties setting up the ODT 11.1.0.5.10 beta. I'm fairly new to Oracle so I apologise if I've missed something obvious!
    First of all I tried installing ODT 10.2.0.2.21 and that worked fine (after I copies tnsnames into the appropriate folder).
    However, after installing v11 I can't connect to any of our databases anymore, either through VS2005 of PL/SQL developer, which we normally use. When I try to set up a data connection (in VS Server Explorer) using ODP.Net, I get 'ORA-12154: TNS: Could not resolve the connect identifier specified'.
    If I try to make a connection using the .Net Framework data Provider for Oracle, I get 'ORA-12541: TNS: no listener'.
    Testing the connection using Oracle Net Manager, however, succeeds without a problem.
    i put the tnsnames file in there, so that's not the problem. I'm not sure if the installation worked properly, as there are a lot less files & folders in the new Home added for the beta than in the one added for v10.2
    Any thoughts?
    Thanks,
    Grant

    Yeah, you could be onto something with the path, thanks - it seems like the installer for the v11 Beta misses \bin off the end of the new Oracle home path, which causes problems. Since fixing that, I can now connect with PL/SQL developer.
    however, I am still facing one problem which my colleague also seems to have. We have an 8.1 client installed, and when we try to set up a connection with VS2005, it uses the tnsnames from the 8.1 client.
    There is also a strange issue whereby if you go into the advanced settings, the database name is only set to the first couple of characters of the actual name, which is probably why it isn't working. However, if I set the correct name in the advanced settings, when you come out of that dialogue into the standard connection dialogue, the database has reverted back to the first one in the list, putting me in a most annoying vicious circle..
    Even this problem has now taken a back seat as I am now unable to load the connection screen at all' getting a 'Package Load failure' message (it seems to think the package is using a GUID which isn't on the system). This remains even if i reinstall the v11 Beta. I'm not sure how I got into this situation, but it seems that there is some DLL registered in VS2005 which is now incorrect and doesn't get reset on uninstall/installation.
    If anyone has any thoughts on my myriad problems please share them with me!
    Thanks,
    Grant

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Can't connect to database server

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

Maybe you are looking for