Connect to Oracle through ODBC - TNS: No Listener Error

Hi All,
I've been trying to chase this problem down for over a month now and I have had no luck. When I try to connect to an Oracle server through MS Access I get the TNS: No Listener error. The kicker is when I go to the odbc data source administrator in windows I am able to connect to the oracle server. My computer is windows 2007 and I have Oracle 11.2 installed. Could anyone assist?
When I type lsnrctl start in the command prompt it says it has been already started.
Here is my tnsnames.ora:
ORMANRPT.WORLD=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=bspz1565.bhdc.att.com)
(PORT=1521)
(CONNECT_DATA=
(SID=ORMANRPT)
Here is my sqlnet.ora:
AUTOMATIC_IPC = OFF
TRACE_LEVEL_CLIENT = OFF
names.directory_path = (TNSNAMES)
names.default_domain = world
name.default_zone = world
names.default_domain=world
here is my listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\cb260e

1009773 wrote:
I used this computers IP and name. Is this what my listener should look like?
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = 144.158.355.240)(HOST = ilcdf44v.itservices.ms.com)(PORT = 1521))Line above is WRONG!
I suggest you move, remove, rename, delete or otherwise move the listener.ora file out of the way.
listener.ora is NOT required to start or utilize the listener
open Command Window after doing as directed above then issue the OS commands below
lsnrctl stop
lsnrctl start
lsnrctl status
# now wait 60+ seconds before issuing the next command below
lsnrctl service
COPY the results from all above, then PASTE all results back here.

Similar Messages

  • Cannot connect to Oracle through ODBC.

    Please help, I don't know what else to try.
    I'm writing automated test scripts and frequently need to access the database to verify data values. These scripts run under multiple environments and have to validate several different flavors of database products. I use ODBC to establish the database connection and this works well under everything except the following environment:
    Database Host:
    Windows Server 2008, Standard Edition
    Oracle 10g
    Client:
    Windows Server 2008 Standard (64-bit)
    Oracle 11g client software installed.
    Following recommendations here on the Oracle site, I used the OUI to remove the Oracle ODBC driver that is installed with the client software and installed RDBODBC3320_x64.msi.
    I was unable to connect to the database at all using the Oracle 10g client software under this environment, but it is my understanding that Oracle 11g should work. I don't have much choice. The Oracle 10g client refused to install in this environment.
    I am able to create a DSN for the database using the ODBC Data Source Administrator. I specify the configuration correctly, but when I try to test the connection, it returns the error:
    FAILED: Service Connection test
    rc=-1
    SQLState=08S01
    [Oracle][ODBC][Rdb] Connect Ret -1 Err# 10061
    WSAECONNREFUSED Connection refused
    I interpret this to mean that I'm reaching the server and database, but it isn't recognizing the connection as being from a legitimate account. Am I wrong?
    From this client machine, I am able to connect to and query the database using SQLPlus, so it isn't that the database is unavailable from the test machine.
    On the host server, I am able to create an ODBC configuration that tests successfully. That is, of course, the 10g version of the ODBC driver.
    I hope someone can supply an answer, this is a high visibility item that is making me look foolish.
    Thanks,
    Dave P.

    Hi Dave,
    It's difficult to make decent recommendations without knowing for sure even what kind of database you're connecting to, or what issues you're having exactly. "No success with the 64 bit flavor" doesn't provide much info to go on.
    Here's the bullet points that will hopefully get you working, assuming you're connecting to "regular" oracle and that this whole RDB thing was a wild goose chase. If you're actually connecting to an RDB database, skip all the steps below and go post in the RDB forum to get their advice. If you're not sure what the difference is, or what you're connecting to, ask someone who knows.
    *1)* Are you ultimately trying to connect with a 32 bit app or a 64 bit app, from the 64 bit 2008 box?
    - What kind of "scripts" are you writing? VBSscript you're executing from a DOS prompt? If so, how are you invoking it exactly? Just by typing filename.vbs?
    - Are the scripts running with 32bit cscript.exe or 64 bit cscript.exe?
    The bottom line is that 32 bit apps need 32 bit client software, and 64 bit apps need 64 bit client software, and you need to have the right stuff installed. The first thing you need to figure out is whether you're running 32 bit app or 64 bit process. Usually you can open Task Manager and look for the process name in the Process tab; if there's a *32 next to it, it's 32 bit. Otherwise it's 64 bit.
    *2)* Once you determine what bitness the software you're running is, you then need to download and install that bitness of Oracle client software. You can get 11.2.0.1 here:
    32 bit 11.2 client:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
    64 bit 11.2 client:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
    *3)* After downloading the client.zip and extracting it, run setup.exe, take the defaults, chose Custom install type, select ODBC driver and SQLPlus from the list, and the installer will automatically install the Oracle software as well.
    Note: You could use Instant Client for this as well; but you'll have to download and install SQLPlus and the ODBC driver in addition to the instant client itself, and using the OUI and the Full client installation is "easier" as it doesn't require manual installation like Instant client does, so less error prone.
    *4)* Configure tnsnames.ora for that install so the client knows where you want to connect to, test it using sqlplus from that install location to make sure you have it right.
    *5)* If you want to configure a 32 bit dsn, you need to use the 32 bit administrator ( c:\windows\syswow64\odbcad32.exe).
    64 bit dsn's you configure via c:\windows\system32\odbcad32.exe (or via control panel > odbc administrator).
    *6)* Run your app, hopefully you're dialed.
    *7)* Profit.
    Hope it helps,
    Greg

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • TNS:No listener error: Please help me

    Hi all,
    I have installed Oracle 10g in my laptop.few weeks back i was able to work on that. But today when i tried to connect to my database(im using Toad) i am getting TNS:No Listener error.
    I checked in Listener.ORA file also. All seems to be fine.
    What could be the probelm?? Can anyone pls help me in this regard?
    Thanks in advance.
    Raghu

    Hi,
    check whether listener is Up and running or not.
    Use lsnrctl and check for status
    Thanks
    Pavan Kumar N

  • Unable To Connect To Oracle through forms

    Hi All
    I have loaded forms 6i and unable to connect to database.
    error:ora:12154 tns no listener
    this is the problem i am facing currently
    1. i reconfigured the listener and got the test sucessful in my net manager and net configuration assistant.
    2.i checked out in the services also
    3.i loaded forms in a different drive other than where oracle home directory exists.so i checked out with the tns names.ora file and it is also there in the forms directory.
    As i feel this as a peculiar problem.pls do suggest reg the same
    Thanks in advance
    Sasidhar.p

    Apply this command at the command line to know if the listener service is started:
    lsnrctl status
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • ORA-12541: TNS:no listener Error When connected to net....

    I am using internet via mobile on my pc. Whenever I am connected to the net I can't run the following code from Visual studio.
    It shows the following error:
    OleDbException was unhandled
    ORA-12541: TNS:no listener
    I have no idea about it.please help!!
    ***************************Code Section*****************
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Data.OleDb;
    using Oracle.DataAccess.Client;
    namespace gridques
    public partial class Form1 : Form
    OleDbConnection newConnection;
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    newConnection = new OleDbConnection("Provider=MSDAORA.1;Data Source=orcl;User ID=project;Password=project");
    newConnection.Open();//////********IT SHOWS THE ERROR HERE*************
    private void show_Click(object sender, EventArgs e)
    OleDbCommand resultsCommand = null;
    OleDbDataAdapter resultsAdapter = new OleDbDataAdapter();
    DataTable resultsTable = new DataTable();
    try
    // establish command object and data adapter
    resultsCommand = new OleDbCommand("select * from stock order by serialNo", newConnection);
    resultsAdapter.SelectCommand = resultsCommand;
    resultsAdapter.Fill(resultsTable);
    dataGridView1.DataSource = resultsTable;
    catch (Exception ex)
    MessageBox.Show(ex.Message, "Error in Processing SQL", MessageBoxButtons.OK, MessageBoxIcon.Error);
    resultsCommand.Dispose();
    resultsAdapter.Dispose();
    resultsTable.Dispose();
    }

    Hi,
    ORA-12541: TNS:no listener
    Many reason but first thing need to check is "Is your listener is up and running on the server"
    lsnrctl statusregards,
    Taj

  • How to find the sessions connected to oracle through application server?

    Hi all,
    i want to restrict my application server users from the deletion of the data in my database.
    for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
    is there any view to find the sessions and applications which are connected to oracle database?
    Thanks,
    Sandeep

    hi pavan,
    Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
    please suggest me on this?
    --sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle XE installation  (TNS:protocl adapter error)

    Hi,
    I have been reading through all emails regarding installing Oracle 10g XE.
    I have successfully installed XE on Windows XP on first attempt with no problems.
    Next, I have to install on Windows 2000 but during the Installation process Task 1 of 5 ends prematurely.
    I looked at postDBCreation.log and have following:
    QL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    All Oracle Services are running, ORACLE_SID is set, as well as ORACLE_HOME,ORACLE_BIN, and Path set to ORACLE_HOME\bin
    I have tried all suggestions but cannot make progress.
    Any advice is welcome.
    Thanks.

    Hi,
    Sorry for late response. I took a break because my head was spinning.
    Here is what I have for listener.ora
    ==============================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oraexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = c:\oraexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Here is what I have for sqlnet.ora
    ==========================
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Here is what I have for tnsnames.ora
    =============================
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    The TNS:protocol adapter error also shows up during install when XE.bat is executed:
    =================================================
    ...\10.2.0\server\config\scripts\xe.bat
    w/ the see
    ...10.2.0\server\config\seeddb
    populated as instructed in other posts, however it fails as indicated in:
    \10.2.0\server\config\log\postDBcreate.log
    <snippet>
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> set echo on
    SQL> //create or replace directory DB_BACKUPS as 'c:\oraxe\app\oracle\flash_recovery_area';
    SP2-0103: Nothing in SQL buffer to run.
    SQL> begin
    2      dbms_xdb.sethttpport('8087');
    3      dbms_xdb.setftpport('0');
    4 end;
    5 /
    SP2-0640: Not connected
    <end snippet>
    Questions/Answers
    ==================================
    1. Connect
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 12 19:09:05 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/pw1@XE as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    2. tnsping
    C:\>tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 12-FEB-2006 19:11:27
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    c:\oraexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521)) (CONNECT_DATA = (SERVER
    = DEDICATED) (SERVICE_NAME = XE)))
    OK (80 msec)
    C:\>
    It seems to work.
    3. value of TNS_ADMIN env variable.
    I did not have it set as this machine never had Oracle before and I am newbie to Oracle. I will set it a try again. I'll also define TNS_NAME as I just learned about this one too.
    now my Env variables have:
    COMPUTERNAME=MYPC
    ORACLE_BIN=c:\oraexe\app\oracle\product\10.2.0\server\bin
    ORACLE_HOME=c:\oraexe\app\oracle\product\10.2.0\server
    ORACLE_SID=XE
    Path=c:\oraexe\app\oracle\product\10.2.0\server\bin;..
    REM THE FOLLIWNG I JUST ADDED
    TNS_ADMIN=c:\oraexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    TNS_NAME=XE
    Some more testing
    ======================
    Now I have stopped and re-started the services in this order.
    OracleXETNSListener
    OracleServiceXE
    OracleXEClrAgent
    OracleMTSRecovery
    These last two don't automatically start w/ Beta 3 but I started anyway.
    A quick check to see if:
    http://127.0.0.1:8087/apex comes up
    No luck. Which I expected because I think the XE database needs to be created first. So let's check to see if I can get into sqlplus now.
    And I still get:
    SQL> connect system/pw1@XE as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    Next, I am going to try to run XE.bat again, but first I am populating the seeddb directory w/
    EXPRESS.CTL (5,840 KB)
    express.dbc (5 KB)
    EXPRESS.DFB (133,040 KB)
    which I have set aside during the installation (per some other forum suggetion)
    I invoked XE.bat as: xe pw1 pw1
    passwords I have during install to SYS and SYSTEM
    And XE.bat spits out:
    Adding user to ORA_DBA group...
    Creating Directories...
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\adump already exists.
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\bdump already exists.
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\cdump already exists.
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\dpdump already exists.
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\pfile already exists.
    A subdirectory or file C:\oraexe\app\oracle\admin\XE\udump already exists.
    A subdirectory or file C:\oraexe\app\oracle\product\10.2.0\server\dbs already exists.
    A subdirectory or file C:\oraexe\oradata\XE already exists.
    Creating Instance...
    Starting Instance...
    Database creation in progress...
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 12 19:37:58 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> spool C:\oraexe\app\oracle\product\10.2.0\server\config\log\CloneRmanRestore.log
    SQL> startup nomount pfile="C:\oraexe\app\oracle\product\10.2.0\server\config\scripts\init.ora";
    ORA-12560: TNS:protocol adapter error
    SQL> @C:\oraexe\app\oracle\product\10.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
    SQL> set echo off;
    SP2-0640: Not connected
    and more of the same follows....
    And now it is almost time to give up. I will keep working on trying to install so I can check it out, but for now I will continue to use mySQL
    Can't use it if cannot install it or get it to run...
    Thanks for any assistance you can give me.

  • TNS:no listener error with dblink

    I am able to connect to oracle database 10g machine from other machine with oracle 8i then I have create dblink in 8i machine but when I am accessing 10G database it is giving me error
    for example select count(*) from t_cons@orcl
    ORA-12541: TNS:no listener
    is it a version issue or something else?

    Thanks Dushyant.
    following is the result of query
    SQL> select value from v$parameter where name='global_names';
    VALUE
    TRUE
    SQL> select global_name from global_name;
    GLOBAL_NAME
    JBPONM.US.ORACLE.COM
    one thing I have noticed that when I am connecting to database server with same
    hostname & dbname then there is no problem but when hostname & dbname is
    different then it is not connecting through dblink.
    I have gone through oracle doc but no where it is mentioned that both should be same.

  • ORA-12541: TNS:no listener error from client mechine

    We have oracle 11g server from onsite and I am trying to connect from offshore client.But I am getting error
    From SQL plus i am getting the error,
    ORA-12541: TNS:no listener
    and from SQL Developer I am getting the error,
    IO Error:The network adapter could not establish the connection
    I am able to Telnet the host with proper port.Onsite peoples able to connect the database from any client using the same TNS names configration I am using.
    What are the possibilities to get this errors ?
    Please guide me on this.

    sadasivam wrote:
    Hi
    Thanks for reply.I checked with onsite DBA for listener and it is up.If you have an on-site DBA why aren't you working with him to solve the problem?
    Since you assert that other client machines are able to connect to the database, the issue must be with your own setup. I strongly suspect your tnsnames has a bad entry. Please compare it to the same file from a working client. Also, show us the contents of your tnsnames.ora file.
    >
    I dont have access of disable the firewall in my clent mechine.I will get it done by network team and post you the status.

  • "TNS:no listener" error

    Hi,
    I have got Oracle 9iR2 on Redhat 8 I have installed Oracle 9i client software on Windows 2000.
    Using the Oracle Net Configuration Assistant I am trying to set up my connection to my Linux server. When I com to test the connection I get
    CONNECTING ORA-12541: TNS:no listener
    The listner is started on the linux box so I am a bit stuck at the moment
    I would be very greatful if someone who has set up a linux server/windows client before could let me know what they did or if anyone knows of any documentation that would be a good starting point
    many thanks
    James Norton

    Check the SID you configured in the client with <oracle_home>\network\admin\tnsnames.ora.
    Venkat.

  • TNS-12541 TNS: No Listener error HELP!!!

    Hello,
    We have installed Oracle 8.0.5 on Windows 2000.
    Oracle was well installed (no errors) but sometimes we can connect to the database (via SQL+ or by a tnsping on the client), sometimes we cannot and it shows above message (TNS-12541 TNS: No Listener). That is very strange: the listener do really exist and is running. (Service is started). I tried to stop and start manually the listener (tnslnr80) but the 'start' failed (it was too long so I killed the command).
    Can someone help us to solve this or to understand what happens?
    Thx a lot
    Nivotiana

    Mohammed ... wrote:
    Thanks all your help and support..
    I reconfigured the instant client following below link :
    [http://www.dbatoolz.com/t/installing-oracle-instantclient-basic-and-instantclient-sqlplus-on-win32.html]
    and followed your advises as well and i can now connect to database though any user
    But unfortunately, i cannot connect as sys user, it gave me below error :
    C:\Users\mohammed>sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Tue May 7 17:29:56 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    C:\Users\mohammed>
    Could you please advise..
    Regards,
    MohammedIf the client is on the same machine as the database, then you don't have ORACLE_SID set.
    More likely the database is on a different server, you have to specify 'sqlplus sys/pswd@dbname'.
    And your db will need to be configured to allow remote sysdba authorization, which is not a good idea from a security perspective.

  • TNS no listener error when internet is enabled

    Hi
    When my internet connection is enabled and if i try to connect to the database, I get the No listener error.
    Although I'm able to connect to database when there is no internet I find it hard to run my forms 9i as they run on Internet Explorer and only when there is internet connection.
    Please help me in this regard.
    Thanks in advance
    rishank

    I think, that your listener listen to only one address.
    Try to edit tnsnames.ora to replace you hostname with local network address.

  • While trying to connect to Oracle database 11g from SQL developer (Error)

    Hi Guys,
    Installed OIM in virtual machine with Windows 2008 and when trying to connect to Database after completing installation receiving with Error ' No more data to read from socket'
    Vendor code : 17410. can anybody give suggestion on this.
    thanks
    sri485.

    yes i tried connecting DB directly its working fine and i tried select * from DUAL it displays 2 . VMware with OIM working fine in my system and when i copied the same VMWARE file to other system and i tried running OIM and connecting to DB it not working.
    log trace:
    <Aug 21, 2012 2:28:56 PM BST> <Warning> <DeploymentService> <BEA-290014> <Inval
    d user name or password.>
    <Aug 21, 2012 2:28:58 PM BST> <Error> <OIM Authenticator> <BEA-000000> <Error s
    tting SQL Hint java.sql.SQLException: Unable to start the Universal Connection
    ool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in
    Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPoolExce
    tion: Error during pool creation in Universal Connection Pool Manager: oracle.u
    p.UniversalConnectionPoolException: Universal Connection Pool already exists in
    the Universal Connection Pool Manager. Universal Connection Pool cannot be adde
    to the Universal Connection Pool Manager>
    java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.uc
    .UniversalConnectionPoolException: Error during pool creation in Universal Conn
    ction Pool Manager MBean: oracle.ucp.UniversalConnectionPoolException: Error du
    ing pool creation in Universal Connection Pool Manager: oracle.ucp.UniversalCon
    ectionPoolException: Universal Connection Pool already exists in the Universal
    onnection Pool Manager. Universal Connection Pool cannot be added to the Univer
    al Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java
    488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.ja
    a:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    651)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:890)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:857)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:851)
    at oracle.iam.platform.auth.impl.DBStore.getConnection(DBStore.java:130
    at oracle.iam.platform.auth.impl.DBStore.setSQLHint(DBStore.java:107)
    at oracle.iam.platform.auth.impl.DBStore.<init>(DBStore.java:62)
    at oracle.iam.platform.auth.impl.DBStore.getInstance(DBStore.java:83)
    at oracle.iam.platform.auth.impl.Authenticator.<init>(Authenticator.jav
    :87)
    at oracle.iam.platform.auth.impl.Authenticator.getInstance(Authenticato
    .java:71)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMA
    thLoginModule.java:43)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(Lo
    inModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(Lo
    inModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:
    86)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:
    80)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(
    AASLoginServiceImpl.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy25.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceIm
    l.login(WLSJAASLoginServiceImpl.java:89)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceIm
    l.authenticate(JAASAuthenticationServiceImpl.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy43.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authen
    icate(WLSJAASAuthenticationServiceWrapper.java:40)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:348)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:355)
    at weblogic.management.servlet.BootstrapServlet$1.run(BootstrapServlet.
    ava:169)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    146)
    at weblogic.management.servlet.BootstrapServlet.processGet(BootstrapSer
    let.java:119)
    at weblogic.management.servlet.BootstrapServlet.doGet(BootstrapServlet.
    ava:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.ru
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecur
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebApp
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServlet
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Error during pool creat
    on in Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPo
    lException: Error during pool creation in Universal Connection Pool Manager: or
    cle.ucp.UniversalConnectionPoolException: Universal Connection Pool already exi
    ts in the Universal Connection Pool Manager. Universal Connection Pool cannot b
    added to the Universal Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(
    CPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:80)
    at oracle.ucp.admin.UniversalConnectionPoolManagerMBeanImpl.createConne
    tionPool(UniversalConnectionPoolManagerMBeanImpl.java:316)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    625)
    ... 61 more
    <Aug 21, 2012 2:28:58 PM BST> <Error> <Configuration Management> <BEA-150035> <
    n attempt was made to download the configuration for the server oim_server1 by
    he user iamamin with an invalid password.>
    thanks
    sri485

Maybe you are looking for

  • Rolling out ADE to Open Access Computers in libraries

    (In the UK). In Plymouth we are using Secure Electronic Delivery as the default to deliver access to documents provided by the British Library. Internet Explorer 7 (and this is also known with Firefox and other browsers) causes an ebook reader detect

  • Sound just cut out.

    Hey. I own a Pavilion G6 (I think its the 1325ae) I've had it for around four months give or take. About two days ago I opened up my Calibre application (read books) and my Itunes just stopped playing. I thought at first that maybe it was because of

  • Message with a large attachment will not copy to SENT folder...what can I do to correct?

    After sending a message with a large attachment, I receive an error message that the message did not copy over into the SENT file. It allows me to retry, which does not correct the problem. Ultimately, I have to 'X" out of the message without knowing

  • Can't add music to itunes

    I've re-installed itunes, and nothing is working.  I've tried adding songs both by "Add song", by drag and drop - nothing is working. I'm trying to add aiff files, m4a, and mp4s to my iTunes library.  The files are on my computer.

  • Mac/windows and dial-up

    I live out in the sticks and am unable to get any type of high speed internet. I have two telephone lines, one is connected to my iBook and the other is connected to my windows machine. I would like to know if I can use the dial-up connection on my w