ORA-01034 Could not connect to Oracle company database

Well I am even unable to connect from windows 98 as well from linux server machine where database is installed !
My dbstart is opening the datbase, lsnrctl is working okie, it is showing the services for orcl database, tnsnames.ora is okie.
But when i try to connect using sqlplus from the linux machine or from 98 machine thro' telnet or enterprise manager of 98, it is giving error ORA-01034 oracle not avaiable.
Any guidence.
You can also mail me on [email protected]
I am using oracle 8i 8.1.6
Thanx in advance,
Naimesh Trivedi
null

The problem is OBIEE server not able to read the tnsnames.ora file. That depends upon the what you set as ORACLE_HOME. that can be find with tnsping command at command line. Follow this article about setting up oracle home and oci drivers
http://oraclebizint.wordpress.com/2007/10/03/oracle-bi-ee-101332-identifying-oracle-homes-for-oci-drivers/
please make sure that your DB-home is the first entry in your PATH environment variable.
Have you created TNS_ADMIN environment variable. Create a environment variable TNS_ADMIN which maps to location where tnsnames.ora file located.
let me know if you are not able to load after this steps.
- Madan

Similar Messages

  • ORA-12154: TNS:Could not connect to Oracle database.

    Hi All,
    I'm getting the following error while trying to access OBIEE dashboard.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [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. (HY000)
    I have oracle 10g R2, I can connect my database using SQLPLUS. I am not able to do Update Row Count from Admin tool also. If anyone come across this issue, please share your experience. Anyhelp would be appreciated.
    Thanks,
    Ravi

    The problem is OBIEE server not able to read the tnsnames.ora file. That depends upon the what you set as ORACLE_HOME. that can be find with tnsping command at command line. Follow this article about setting up oracle home and oci drivers
    http://oraclebizint.wordpress.com/2007/10/03/oracle-bi-ee-101332-identifying-oracle-homes-for-oci-drivers/
    please make sure that your DB-home is the first entry in your PATH environment variable.
    Have you created TNS_ADMIN environment variable. Create a environment variable TNS_ADMIN which maps to location where tnsnames.ora file located.
    let me know if you are not able to load after this steps.
    - Madan

  • Could not connect to oracle OLAP

    Hi
    when i connect to Disco. Plus for "OracleBI Discoverer for OLAP" and Database as "localhost:1521:orcl" i got this message:
    "D40-Could not connect to oracle OLAP"
    so i run a Quick Diagnosis and i got this report:
    JDK version = 1.4.2_04
    BI Beans internal version = 3.2.1.0.13
    Discoverer Plus OLAP version = 10.1.2..07.59
    Discoverer Version = 10.1.2.45.46c
    Connect to database = successful
    JDBC driver version = 10.1.0.3.0
    JDBC JAR file location = \localhost\disco\plus_files\d4o_double.jarjar
    Database version = 10.1.0.4.0
    OLAP API Server version = 10.1.0.4.0
    OLAP AW Engine version = 10.1.0.4.0
    OLAP Catalog version = 10.1.0.4.0
    BI Beans Catalog version = N/A; not installed in younis
    Discoverer Catalog version = N/A; not installed in younis
    Authorized for Discoverer Plus OLAP = No!
    OLAP API JAR file version = 9.2
    OLAP API JAR file location = \localhost\disco\plus_files\d4o_double.jarjar
    Load OLAP API metadata = Successful
    Number of metadata folder = 1
    Number of metadata measures = 3
    Number of metadata dimensions = 4
    Thanks
    Younis

    I think you forgot grant OLAP_USER, D4OPUB role to younis
    Make sure D4OSYS user is created. D4OSYS is the owner when the Discoverer OLAP catalog is created.
    Make sure the OLAPSYS user and OLAP_USER/OLAP_DBA role is created in order to grant D4OPUB. You might need to run $ORACLE_HOME\olap\admin\olap.sql to create those accounts eventhough you have OLAP option installed.
    I found directly install latest Oracle database patchset (10.1.0.4) and then create database doesn't have those accounts automatically, unless you are upgrade from 10.1.0.3.
    Hope this can help

  • D40-1015 Could not connect to Oracle OLAP

    Hello,
    I have installed new 10g R2 database on Sun Solaris 64 bit, When I access the discoverer I am getting this 'D40-1015 Could not connect to Oracle OLAP' error. I have installed OLAP and XDB everything.
    How do I recover from this error, any idea would be greatly appreciated.
    FYI,
    OracleBI Discoverer
         Diagnose Connection
    BI Beans Catalog Version....=N/A; not installed in uv
    Discoverer Catalog version....=N/A; not installed in uv
    Thanks,

    Hi,
    Did you install the Discoverer catalog and authorize users? (see the Configuration Guide)
    Regards

  • Could not connect to Oracle database from excel macro. Getting connection not open.

    Hi all, 
    I could not connect to oracle database using excel macro. After much R&D also, I cannot find right solution. Please help me where I am doing wrong.
    Sub Button2_Click()
    Dim Conn As New ADODB.Connection
    Dim RS As New ADODB.Recordset
    Dim Cmd As New ADODB.Command
    Dim sqlText As String
    Dim Row As Long
    Dim Findex As Long
    Dim Data As Worksheet
    Dim X As Long
    Dim UID As String
    Dim PWD As String
    Dim Server As String
    Dim strCon As String
    Application.Calculation = xlCalculationManual
    UID = "myUserid" 'Enter the User ID
    PWD = "myPassword" 'Enter the password
    Server = "myHostname or myServername" 
    Set Data = Sheets("Sheet2")  
    Data.Select
    Range("A:J").ClearContents 
    strCon1 = "Provider = Microsoft.ACE.OLEDB.12.0;DATA SOURCE=myHostName;Database=myDBname;uid=myUserid;pwd=myPassword;"
    Conn.Open (strCon1)
    Cmd.ActiveConnection = Conn
    Cmd.CommandType = adCmdText
    ' Put your query next
    sqlText = " select * from table "
    Cmd.CommandText = sqlText
    Set RS = Cmd.Execute
    For X = 0 To 17 
    Data.Cells(1, X + 1) = RS.Fields(X).Name
    Next
    Do While Not RS.EOF 'this loops through the data and puts it in the spreadsheet
    Row = Row + 1
    For Findex = 0 To RS.Fields.Count - 1
    Data.Cells(Row + 1, Findex + 1) = RS.Fields(Findex).Value
    Next Findex
    RS.MoveNext
    Loop
    Application.Calculation = xlCalculationAutomatic
    Application.Calculate
    End Sub
    sammy

    I have set oci.dll in to the path specified. Prior to this I musy say that, I have 64 bit excel 2010 & installed respective drivers from the link provided http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    But
    still I am facing as:-" Provider cannot be found. It may not be properly installed."
    sammy

  • Could not connect to Oracle database. (HY000): BI Answers Problem

    Hi,
    I am using OBIEE 11g and 11g admin client tool is installed in my machine. I created one rpd and I deploy that rpd in the server through Enterprise manager fusion middleware control. But when try to run the analysis from BI answers it throws and error like
    "TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)".
    In the rpd I use OCI default (10g/11g) and cheked that connection is successful and also when I click on view data option in the physical layer I am able to see the data. I cheked with DBAs and correct TNS entries are also there in the server. Could not understand where is the problem.
    Please help.
    Thanks
    Titas

    Try like this
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    BTW: Whats the client bit version 32/64 bit, if you have 64bit and above is not working try with Oracle client 32bit.
    Pls mark correct/helpful if helps

  • Opca could not connect to the specified database

    I have both Oracle 9.2 database and Oracle 9iAS R2 Standard Edition installed in my same home pc. The origin database name is FIRST and the listener port is 1526.
    My pc's host name is mypc.chen.com and the IP address in my local LAN is 192.168.0.1. I have no DNS server.
    In "hosts" file I added a line: 192.168.0.1 mypc.chen.com
    While running opca to install Portal, I entered password of SYS login of database FIRST and connection string "mypc.chen.com:1526:first". I got error message saying "could not connect to the specified database".
    In Net8 Assistant local Profile, the naming method was HOSTNAME. But I got the same error message when I change it to TNSNAMES.
    Please if anyone can help.
    Thanks a lot.

    This is a security feature introduced in 11.5.10, and it will not allow any client to connect to the database unless in it registered on the system through OAM.
    Note: 295915.1 - ADI Signon Issues in Release 11.5.10+
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=295915.1
    Note: 291897.1 - 11.5.10 New Features : Managed SQL*Net Access from Hosts
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=291897.1

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • Could not connect to Oracle Server...

    Hi All. I set up a Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on a Win XP Pro machine (say Machine A). When I tried to connect to the database using SQL*Plus from another machine (say Machine B) its throwing error...
    ORA-12170: TNS: Connect timeout occurred
    When I tried to telnet by IP...its saying
    Connecting To xx.xx.xx.xx...Could not open connection to the host, on port 23: Connect failed
    But its pinging successfully to this IP.
    I have added a TNS entry to the Machine B tns.ora.
    Please let me know what to do next?
    I'm able to connect to database form Machine A through SQL*Plus.

    >> Connecting To xx.xx.xx.xx...Could not open connection to the host, on port 23: Connect failed
    What command did you try check this??
    Did you try to telnet as follows
    telnet ip database_port i.e. telnet xxx.xxx.xxx.xxx 1521
    >> I have added a TNS entry to the Machine B tns.ora.
    Are you able to tnsping the tns service?
    c:\>tnsping <tnsnames entry>
    Regards,
    Sabdar Syed.

  • Could not connect with Oracle 9iAs Portal

    I have already install oracle9iAs ,but when I try to connect to
    oracle 9i AS portal , the server return these messages to me :
    Proxy log On failed.
    Please verify that you have specified correct connectivity
    information i.e.username, password & connect-string in the
    Database Access Descriptor
    Error-Code:6401
    Error TimeStamp:Thu, 18 Oct 2001 08:22:24 GMT
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address
    supplied or destination is not listening. This error can also
    occur because of underlying network transport problems.
    Verify that the TNS name in the connectstring entry of the DAD
    for this URL is valid and the database listener is running. "
    How could I do ???
    Thank you !

    Shi
    Check out the FAQ document on portalstudio:
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#Inst
    allation
    And Troubleshooting section of the Configuration Guide:
    http://otn.oracle.com/docs/products/ias/doc_library/1022doc_otn/p
    ortals.102/a90096/toc.htm

  • Could not connect to Oracle 8i using jdbc

    I am running Oracle8i Enterprise Edition Release 8.1.5 on Windows 2000 Server. I try to compile a sample program using JDK 1.3 and getting the following error message.
    Program:
    import java.sql.*;
    class Hotels
    public static void main (String args [])
    throws SQLException
    DriverManager.registerDriver (new oracle.jdbc.Driver.OracleDriver ());
    Connection conn =
    DriverManager.getConnection ("jdbc:oracle:oci8:@chandran", "TRAVEL", "TRAVEL");
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select NAME from HOTELS");
    while (rset.next ())
    System.out.println (rset.getString (1));
    rset.close();
    stmt.close();
    conn.close();
    Error Message:
    D:\>javac E:\Javaex\Hotels.java
    E:\Javaex\Hotels.java:10: cannot resolve symbol
    symbol : class OracleDriver
    location: package Driver
    DriverManager.registerDriver (new oracle.jdbc.Driver.OracleDriver ());
    I am New to the JDBC 2.0 and JDK1.3. Could you please anyone guide me how can I overcome this problem. Should you require any additional information please reply me.
    Best regards

    rdbms 8.1.5 never was certified to run on win 2000.
    by the way rdbms 8.1.5 goes out of support on dec 31, 2000.
    in addition, oracle products like - the jdbc drivers, rdbms, oas, ias -- are NOT certified to work with jdk 1.3.
    if you run into problems, you'll need to reproduce it with jdk 1.2.x and rdbms 8.1.6 or 8.1.7 to have a bug filed.
    to be in a supported configuration, you'll need to move to rdbms 8.1.6 or 8.1.7 (preferred) and stick with jdk 1.2.x.

  • 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

  • OBIEE 11g not connect the Oracle database

    Hi All,
    We installed 11.1.1.6.0 version on Linux 64 bit it works fine after some reason we delete that one and re install on same Linux box,we place old catalog and rpd.
    But when you login all reports is showing errors bellow
    In log file..........
    [nQSError: 43119] Query Failed:
    [2013-10-19T19:47:24.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 24cef0e6e960bda3:-7f74eefb:141d239504e:-8000-0000000000000d97] [tid: 44b5a940]  [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 43119] Query Failed:
    [nQSError: 43113] Message returned from OBIS.
    In report level
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [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. (HY000)
    Pls help thanks in advance.

    There are 2 places you need to keep TNS names.ora file for OBIEE to connect.
    1. Oracle client which is in your machine
    2. OBIEEhome>Oracle_BI1\network\admin
    I'm sure you would have it in your oracle client. Copy paste the same TNS names in this path too.
    Then open rpd and right click on any table in physical layer and click view data. You should see the results.
    if this doesn't work check your credentials.
    mark if this helps

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • Error Could not connect to the database - ora-12545: tns:name lookup failure

    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

    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

Maybe you are looking for