OEM not connecting to database

I am getting the screen with the following message...
The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation.
Related Links
Configure Recovery Settings
When I click startup it is asking for host and database credentials and then when I click OK it is asking whether to startup database. When I click OK it is again returning back to the same page displaying the above message.
But I am able to startup the database in the command prompt with sql commands .
Please help me out...

yes ... i am using database control and the content which is there in my emoms.properties is
# emoms.properties
# Properties used by Console Configuration Manager.
# Version 1.0
# MODIFIED (MM/DD/YY)
# rpinnama 12/26/03 - Removing repAgentUrl
# sjconnol 12/11/03 - remove noSave flag for pref creds
# hsu 12/05/03 - add param for stmt caching
# mpawelko 11/24/03 - change iSQLPlus URL entries
# hsu 11/10/03 - add sharing param
# sjconnol 10/16/03 - add noSave flag for pref creds
# mgoodric 10/10/03 - add proxyHost, proxyPort, dontProxyFor
# vkapur 08/13/03 - add emdRepRAC for db console
# mpawelko 07/15/03 - add iSQLPlus DBA URL placeholder
# mpawelko 06/26/03 - add iSQLPlus URL placeholder
# streddy 06/12/03 - Added emdrep.ping.pingCommand
# dkapoor 04/21/03 - append db console params
# aholser 04/02/03 - add oms name
# skini 03/26/03 - Add connect descriptor
# skini 02/20/03 - skini_2771051_2_4.0.1_main
# rpinnama 01/03/03 - Remove pingDirectory
# skini 12/31/02 - Leave only essential properties
# skini 12/30/02 - Comment out defaults
# rpinnama 12/12/02 - Add emdrep.ping.pingDirectory
# skini 11/13/02 - Add documentation for proxy parameters
# skini 11/08/02 - Add auth properties
# jpyang 10/24/02 - change maxConnForJobWorkers to 10
# ggilchri 10/23/02 - add https port
# dmshah 10/16/02 - Adding nvp for db connection settings
# xshi 10/03/02 -
# xshi 10/02/02 - sso config - domain
# aholser 10/07/02 - move repository.properties to console.properties
# xshi 08/19/02 - add das location
# xshi 08/14/02 - add sso consoleauthentication
# lyang 06/14/02 - lyang_add_configuration_manager
# OMS login information
oracle.sysman.eml.mntr.emdRepSID=%EM_REPOS_SID%
oracle.sysman.eml.mntr.emdRepPwdEncrypted=false
oracle.sysman.eml.mntr.emdRepPort=%EM_REPOS_PORT%
oracle.sysman.eml.mntr.emdRepUser=%EM_REPOS_USER%
oracle.sysman.eml.mntr.emdRepPwd=%EM_REPOS_PWD%
oracle.sysman.eml.mntr.emdRepServer=%EM_REPOS_HOST%
oracle.sysman.eml.mntr.emdRepConnectDescriptor=%EM_REPOS_CONNECTDESCRIPTOR%
# From the old web.xml file
oracle.sysman.emSDK.svlt.ConsoleServerHost=%HOSTNAME%
oracle.sysman.emSDK.svlt.ConsoleServerPort=%EM_UPLOAD_PORT%
# The https port dedicated to the receiver servlet using an EM Certificate
oracle.sysman.emSDK.svlt.ConsoleServerHTTPSPort=%EM_UPLOAD_HTTPS_PORT%
oracle.sysman.emSDK.svlt.ConsoleServerName=%HOSTNAME%_Management_Service
oracle.sysman.emSDK.svlt.ConsoleMode=standalone
oracle.sysman.emSDK.sec.ReuseLogonPassword=true
oracle.sysman.eml.mntr.emdRepDBName=%EM_TARGET_DBNAME%
oracle.sysman.eml.mntr.emdRepRAC=false
# iSQL*Plus integration
oracle.sysman.db.isqlplusUrl=http://opsserver-dt.sci.local:5560/isqlplus/dynamic
oracle.sysman.db.isqlplusWebDBAUrl=http://opsserver-dt.sci.local:5560/isqlplus/dba/dynamic
# port specific ping command
emdrep.ping.pingCommand=/usr/sbin/ping <hostname>
# HTTP Proxy server to Oracle MetaLink
#proxyHost=%EM_PROXYHOST%
#proxyPort=%EM_PROXYPORT%
#dontProxyFor=%EM_DONTPROXYFOR%
# For controlling the sharing of realtime metric collection
oracle.sysman.emSDK.emd.rt.useMonitoringCred=true
# The number of JDBC statements that's cached per repository
# connection. Setting it to 0 would turn off caching
oracle.sysman.emRep.dbConn.statementCacheSize=30
# The number of JDBC statements that's cached per direct-target admin
# connection. Setting it to 0 would turn off caching
oracle.sysman.db.adm.conn.statementCacheSize=2
# The number of JDBC statements that's cached per real-time database
# connection used for performance monitorng
oracle.sysman.db.perf.conn.statementCacheSize=30

Similar Messages

  • 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

  • OEM not connecting to DB Problem not seen on this forum

    Hi,
    I installed Oracle 10g db server release 2 (10.2.0.1.0) and let it create a default database for the test purpose.
    I received no errors during installation.
    I tested the connection via SQL*Plus, and iSQL*Plus and it works fine.
    But when I tried to run Enterprise Manager it can not connect to database instance.
    database is open
    listener is up
    Agent connection to instance succeeded
    I followed link Recovery Settings and tried to log in with
    1. system/password ... as SYSDBA ----> ORA-01017: invalid username/password; logon denied
    2. system/password ....as NORMAL ------>
    ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
    Does anyone have idea why is this happening??
    How to make it work??
    I read almost all threads in this forum and emctl status agent shows
    Agent Version : 10.1.0.4.1
    OMS Version : 10.1.0.4.0
    Protocol Version : 10.1.0.2.0
    Agent Home : C:\oracle\servers\db\10g\db_1\maja.dmsgroup.co.yu_devdb10g
    Agent binaries : C:\oracle\servers\db\10g\db_1
    Agent Process ID : 2972
    Agent Process ID : 2972
    Agent URL : http://maja.dmsgroup.co.yu:3938/emd/main
    Started at : 2006-02-10 11:23:37
    Started by user : SYSTEM
    Last Reload : 2006-02-10 11:23:37
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 454
    Size of XML files pending upload(MB) : 4.89
    Available disk space on upload filesystem : 36.57%
    Agent is Running and Ready
    I would really appreciate your help.
    Maja

    Actually, I don't have that ORA_NLSxx value in my registry.
    What should be the value?
    Under the 10g home tree in Registry, I can find just one more place where I can see some NLS settings, and that is
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLAP\ExpressServer\OLAPServer\Locale
    NLS_LANG = American_America.UTF8
    I am not sure that I know what does that mean..
    Can it be the cause of the problem??

  • UDConnect - Could not connect to database. Connection is inactive

    Dear SDN,
    We have a Netwever BI 7.0 server and trying to connct the Nonsap Sybase database through Udconnect .
    we have downlod the EBF13490.tgz file form sybase site which contanse the jconnect5.5 drivers for all hardware and OS platforms.
    We extract the file and save the jconn2.jar file in out solaris BI 7.0 server 
    follwoing settings are configured .
    1.JCO_RFC_PROVIDER -
    the settings in visual adminstrator    Myserverhostname_PORTAL_BD1 is alreday found and RFC from sm59 is also tested properly.
    2. JDBC Connector - create sybase driver and upload the jconn2.jar
    3. connector container - create resource adapter as library:sybase
    4. Maintan the settings of nonsap sybase server as below
    DriverName= com.sybase.jdbc2.jdbc.SybDriver
    Url= jdbc:sybase:Tds: <my server ip>:2638 /databse=rdd
    and usrname , password after that restart the java stack.
    when Exicute test report  throw portal :
    http://<bi server ip > :50000/TestJDBC_Web/test2  
    It gives the follwoing error.
    Test JDBC Page
    Error!
    Could not connect to database. Connection is inactive or does not support JDBC.
    Go back
    Exception Details:
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:238)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getConnection(JDBCModel.java:796)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getTables(JDBCModel.java:132)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control2.doPost(Control2.java:25)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:123)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnectionFactory.createManagedConnection(JdbcManagedConnectionFactory.java:112)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320)
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:188)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:233)
         ... 19 more
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot connect to JDBC data source
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:336)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connect(Connection.java:99)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:118)
         ... 23 more
    Caused by: java.sql.SQLException: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s).
         at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:570)
         at com.sybase.jdbc2.tds.Tds.processLoginAckToken(Tds.java:4088)
         at com.sybase.jdbc2.tds.Tds.doLogin(Tds.java:527)
         at com.sybase.jdbc2.tds.Tds.login(Tds.java:449)
         at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:254)
         at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:230)
         at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:200)
         at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:134)
         at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:320)
         ... 25 more
    Please suggest.
    i have check the nonsap server is accesiable from BI 7.0 server using telnet and port 2638.
    Plea

    please check if the configuration is correct:
    http://help.sap.com/saphelp_scm50/helpdata/en/43/e35b3315bb2d57e10000000a422035/content.htm

  • 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

  • Tns error could not connect to database but can tnsping and sqlplus

    The new install OBIEE 10.1.3.4.1, with two Linux RH/64 Bit servers set up and running, but can't get to 11g database when running reports.
    Error: nqsError 17001 Oracle Error Code 12154, message ORA-12154: TNS could not resolve the connect identifier specified at OCI call OCIServerAttach. nQSError 17014 could not connect to Oracle database
    Server 1 BI Server
    BI server is running.
    oc4j is running.
    jdk is installed
    /setup/user.sh variables and libs set
    .bash_profile variables and libs set
    oracle client installed with lib32
    can tnsping the database from here using SID
    can sqplus login to the database from here
    changed connection pool offiline and uploaded new .rpd
    this script does not work /setup . sa-cli.sh to test client, nothing happens, also unable to connect to BI Server in online mode from Windows client 32bit.
    Server 2 Presentation Server
    saw server is running
    set odbc AnalyticsWeb DSN to point to BI Server 1
    Since I can ping and connect with tns, why is presentation server throwing errors?
    Thanks for the help

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • Forms not connecting to database in browser

    Hi All
    I have got Oracle9i Personal Database and Oracle Developer installed on my Windows XP professional machine.
    I can connect to the database in SQL*Plus and I can connect to the databse to compile the form, but when the browser opens all I get is a big blank green square. The applet has initialised and the java icon has loaded into the task bar, but no information. I also noticed in the address bar that the name of my database is not there. i.e username/password@<database name>&buffer_record etc. If I add the name of the database in the address I then get login dialog box the TNS protocol adapter error message pops up.
    I have OC4J running and I can get to the main page if I don't add the form name which tells me the server is running, but nothing in the browser.
    Any help or hints would be appreciated

    Here is the output
    Driver loaded
    Authorising for: test - testpass
    Protocol connecting to database
    Exception in Protocol: java.sql.SQLException: No suitable driver
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:532)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at baeauthserver.AuthProtocol.getPMConnection(AuthProtocol.java:66)
         at baeauthserver.AuthServerThread.run(AuthServerThread.java:38)The program is a server daemon or service that listens for connections from a client. On connection the server spawns a "work" thread to deal with authorising the user and creating a database connection. I can make a connection in the main server class (i.e. the main thread) but as soon as I move this to the "work" class it seems to lose the driver.
    I've just done some more tests and I can't even grab the driver as a driver object on the work thread so it's not just the getConnection method.
    I'm initialising the driver in a static block in the main server program. I've moved it around to various constructors on both the main class and the work class to no avail.
    It has me stumped so far :p
    Thanks for the input though :)

  • Forms 6 not connecting with Database 10g

    I can not connect Oracle forms 6 with database 10g

    795192 wrote:
    I can connect to sql plus but i cannot connect my forms 6 with database 10g. getting the following error:
    ORA-12154: TNS: could not resolve service name=================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • OEM: error connecting to database: java.exe - Entry point not found

    Greetings all. I have oracle 11g installed on a system and wanted to also install Enterprise Manager from 10g. The installation went smoothly, but when I try to connect to a database using OEM, I get an error stating "The procedure entry point longjmp could not be located in the dynamic link library orauts.dll.
    I've seen many threads indicating that environment variables are not set correctly, but regardless of which installation I specify for ORACLE_HOME and PATH, I get this error. Any suggestions would be greatly appreciated. Thanks in advance for your responses.
    Roland

    See this thread.
    Re: Error while starting the report server

  • Enterprise manager is Not Connecting to database

    Hi
    I installed oracle 10g on my system the installation was successfull but in the enterprise manager console
    1.database instance is down
    2.Listener is up and running
    3.Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    starting the database with sysoper I m having following queries executed but EMC is not able to connect to the database
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 2 23:58:04 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
    starting the database with sysdba I m having following exception
    SQLException
    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL10G)))
    I m able to work from windows commant prompt by using following commands
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    G:\oracle\product\10.2.0\db_2\BIN>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    G:\oracle\product\10.2.0\db_2\BIN>set ORACLE_SID=ORCL10G
    G:\oracle\product\10.2.0\db_2\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://127.0.0.1:5500/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory g:\oracle\product\10.2.0\db_2/127.0.0.1_ORCL10G/
    sysman/log
    G:\oracle\product\10.2.0\db_2\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-APR-2008 23:36
    :55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 02-APR-2008 23:17:44
    Uptime 0 days 0 hr. 19 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File g:\oracle\product\10.2.0\db_2\network\admin\listener.o
    ra
    Listener Log File g:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    G:\oracle\product\10.2.0\db_2\BIN>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-APR-2008 23:37
    :06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(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
    The command completed successfully
    G:\oracle\product\10.2.0\db_2\BIN>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 2 23:37:28 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn/as sysdba
    Connected.
    SQL>
    Please tell Me what is the problem

    Tony Cool,
    Please don't post this in every forum you can spell. You also posted this as [email protected] in comp.databases.oracle.server.
    The only thing you should do is
    Look up the error messages in the online documentation and work from there.
    This are known errors, the solution is all over the Internet, there is really no need for you to request volunteers to deliver it on your doorstep for free.
    Sybrand Bakker
    Senior Oracle DBA

  • Form 9i does not connect to database

    Hi All,
    I have installed Oracle 9i database and 9i Dev Suite on my PC having Win 2000 OS. I get the following error whenever I try to run a test form in Forms 9i. The forms have been already connected to the database.
    Error is:
    "The HTTP Listener is not running on svr01 at port 8888. Please start the listener or check your runtime preferences."
    Could anybody help me please of how to handle this scenario.
    Thanks

    You need to start the OC4J instance before you run your form.
    Check out the Forms program group for the shortcut to do it.

  • Hyperion IR client 11.1.2.2 is not connecting to database

    Hi,
    I've installed EPM 11.1.2.2 Interactive reporting client on 32 bit windows XP machine. The oracle client installed is 9.2.0.
    The IR client just throws the error "Oracle Error -1: ORA-12154: TNS could not resolve the connecter identifier specified". I'm trying to connect using Oracle*Net and oracle as the database.
    Then I specify the following in the next screen and get the above TNS error -
    username - uname
    password - pass
    Host - abs
    I can do the following from the client machine where IR studio is installed -
    * i can tnsping to db from command line - tnsping abs works
    * i can connect to db using sqlplus uname/pass@abs
    * my tnsnames.ora file has the following entry -
    ABS.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = XYZ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = abs)
    The sqlnet.ora file has the following entries -
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    NAMES.DEFAULT_DOMAIN = world
    SQLNET.EXPIRE_TIME = 32000
    NAME.DEFAULT_ZONE = world
    ADR_BASE = C:\oracle\11.2.0.1\log
    *The path variable is as follows -
    C:\Oracle\Middleware\EPMSystem11R1\bin;C:\Oracle\9.2.0\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\SecureCRT\;C:\Program Files\Windows Imaging\;C:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Oracle\jre\1.3.1\bin\;C:\Oracle\9.2.0\jre\1.4.2\bin\client\;C:\Program Files\Oracle\jre\1.1.8\bin\;C:\Oracle\9.2.0\jre\1.4.2\bin\;C:\Oracle\Middleware\EPMSystem11R1\common\ODBC\Merant\6.1\Drivers
    I've gone thru other posts and tried to follow similar steps but the problem exists.
    Any pointers will be appreciated. Thanks in advance!

    Hey add TNS_ADMIN as the environmental variable name and value as the path for the file tnsnames.ora. Problem Solved.
    Regards,
    Harish

  • BRTOOLS not connecting to Database

    Hi,
    The BRTOOLS 7.20(16) is not getting connected to Oracle11g(11.2.0.1) using the default password.I have to explicitly  provide the Oracle SYSTEM ID and password. How ever orasid is able to execute sqlplus / as sysdba.
    Means No OS level authorization problem appears. Please suggest. Its a ECC6.0 system with Oracle11g running on Solaris5.10.

    Hello,
    The fact that you can connect with / AS SYSDBA does not say anything about the SYSTEM user and password. With "/ AS SYSDBA" your Oracle user is SYS, not SYSTEM. If the SYSTEM user does not have the default password (and it shouldn't have!) then there are two solutions: either use "brconnect system/password", which is what you do but is very unsafe because anyone doing a "ps" will see the password in clear text; or create the user OPS$ORA<sid> with the proper roles and use "brconnect -u /" (empty user, empty password). Example ("SID" = database name):
    sqlplus / as sysdba
    create user OPS$ORA<SID> identified externally
         default tablespace PSAPSR3 temporary tablespace PSAPTEMP;
    grant connect, resource, sapdba to OPS$ORA<SID>;
    exit
    # Now to run any BR tool:
    su - ora<sid>
    brtools -u /
    If the SAPDBA role does not exist you have to run the script "sapdba_role.sql" first (to be found in /sapmnt/<SID>/exe. Alternatively you can also grant the full DBA role.
    Hope this helps,
    Mark

  • Could not connect to database using servlet

    Hi,
    i'm using oracle 8.1.5.0.0, tomcat 3.2.1, jdk1.2.2 to build an intranet application. I downloaded the classes12.zip and nls_charset12.zip from the oracle web site and install in the oracle\ora81\jdbc\lib directory.
    when i tried to run the samples code provided by oracle, the program can run properly. but when i tried to run it in my own program using servlet, i got an error as follow:
    java.sql.SQLException IoException:The Network Adapter could not establish a connection.
    i have gone through the codes but could not found any errors that I made and now i'm run out of ideas on the error i get.
    could someone please help me with this problem?
    thank you.
    regards,
    Josephine
    null

    No, the web server requires no configuration. You do need to make sure that the classes12.zip file is in the Tomcat classpath - I believe the Tomcat startup script pulls in all the files in $TOMCAT_HOME/lib, so put the zip file there. I assume you had to change your hostname in the connection URL - what are the connection parameters you used in the Oracle samples? Were these samples Servlets, or command-line programs? Usually when you get the "Network Adapted could not establish a connection" error from the JDBC thin driver, it means that your hostname or port number or SID are wrong,or the database is not up.
    John H.
    null

  • Could not connect to database io exception: 10g on xp

    after a series of adding and deleting an instance of oracle through oracle database assitantl;
    i've yet to see my database :(
    the error written in enterprise manager was :
    Unable to connect to the database
    io exception: The Network Adapter could not establish the connection
    i'm on xp sp1 standalone;
    any help on the matter is greatly appreciated

    guys you can discard this question,
    i've decided to uninstall and reinstall the entire 10g
    now it works fine
    cheers

Maybe you are looking for

  • Problem with Double Buffering and Swing

    Hi I made a game and basically it works pretty well, my only problem is it flickers really badly right now. I read up on a whole lot of forums about double buffering and none of those methods seemed to work. Then I noticed that Swing has double buffe

  • How can I get a full print screen of a website

    Hi, Is it possible to make a full printscreen of a webpage and insert this screenshot in Photoshop? I want to make a print screen of http://www.witshirtonline.nl and import the file into Photoshop so I can make some adjustments. Is this possible and

  • Itunes store content not appearing in itunes

    When I click on the iTunes Store button, nothing appears in the window.  I can get to my account information, but I cannot get to any content in the iTunes store.

  • Blackberry bold 9900

    I recently downloaded an app (gps for google) and  after the trial period I deleted it but I get notifications to renew (upgrade for pay) I do not want it, how I stop it from receiving the notices?

  • Register Lightroom Testversion with Photoshop Photography Program

    Hi I bought the Phtotoshop Photography Program which includes photoshop and lightroom, but I cant seem to register my Lightroom trial version. It keeps asking for a serial number, but I have not received a serial number. What should I do?