ORA-12541: TNS:no listener - when executing procedure

Hi,
I am getting the following error when execting a procedure within a package:
=======================================================
SQL> execute VRT_PIVOTAL_TEMP_INT.GET_NEW_PIVOTAL_ANON_TRANS
BEGIN VRT_PIVOTAL_TEMP_INT.GET_NEW_PIVOTAL_ANON_TRANS; END;
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_LOB", line 722
ORA-06512: at "MPD.VRT_PIVOTAL_TEMP_INT", line 2579
ORA-06512: at "MPD.VRT_PIVOTAL_TEMP_INT", line 2430
ORA-12541: TNS:no listener
ORA-06512: at line 1
=======================================================
But the listener is up and I can ping the host as well as tnsping the connect string. I am trying to execute it on the server itself.
Please help.
Prachi

The problem comes into play when you try to select the actual LOB locator remotely, however straight INSERTs aren't a problem.
SQL> desc test_clob1
Name                                      Null?    Type
A1                                                 NUMBER
A2                                                 CLOB
SQL> desc test_clob2@remotedb
Name                                      Null?    Type
A1                                                 NUMBER
A2                                                 CLOB
SQL> declare
  2     big_text varchar2(32767) := rpad('#',32767,'#');
  3  begin
  4       insert into test_clob1 values (1, big_text );
  5  end;
  6  /
PL/SQL procedure successfully completed.
SQL> select a1, dbms_lob.getlength(a2) from test_clob1;
        A1 DBMS_LOB.GETLENGTH(A2)
         1                  32767
SQL> select count(*) from test_clob2@remotedb;
  COUNT(*)
         0
SQL> insert into test_clob2@remotedb
  2  select * from test_clob1;
1 row created.
SQL> select a1, dbms_lob.getlength(a2) from test_clob2@remotedb;
select a1, dbms_lob.getlength(a2) from test_clob2@remotedb
ERROR at line 1:
ORA-22992: cannot use LOB locators selected from remote tables
SQL> commit;
Commit complete.However, if I do a COMMIT and then go to the remote database and do the same query, I get the following:
SQL> select a1, dbms_lob.getlength(a2) from test_clob2;
        A1 DBMS_LOB.GETLENGTH(A2)
         1                  32767HTH

Similar Messages

  • TNS-12541: TNS: no listener when execute startdb

    Dear,
    i have install a nw04s System ABAP + J2EE and try to start
    the db with startdb. I got this error:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = kratie) (PORT = 1527))) (CONNECT_DATA = (SID = SOT) (GLOBAL_NAME = SOT.WORLD)))
    TNS-12541: TNS:no listener
    V2 connect is not available. Terminating
    /usr/sap/SOT/SYS/exe/run/startdb: Terminating with error code 14
    I could start the listner with the oracle user manually
    and afterward start the stardb or startsap. When i first
    start the listener that way then it is possible to start
    startsap or stardb with no problem. But why do i have
    to start the listener by hand?
    best regards,
    Ly-Na Phu

    Hi Naidu,
    thanks for you answer. Now i understand that the listener
    ist not configured by sapinst automatically and that one
    have to start it manually. At windows sapinst do that and
    the listener ist comming automatically when booting.
    At linux it has to be put in the startup procedure e.g.
    in the runlevel 3 rc3.d. If not doing so we have to start
    the listener manually. But everything else work fine.
    Thanks,
    Ly-Na Phu

  • ORA-12541: TNS: no listener when attempting to log int SQL*Plus

    Hi everyone,
    Since we are now studying forms. I installed The Developer Suite on the same machine as the Oracle Database. I was able to use SQL*Plus and the Procedure Builder in Oracle Forms. I was able to connect to the Oracle 8i database with the Oracle 9i Developer. Then I started playing with forms and when I tried to run the form it told me that it could not find a listener. So, I made some changes on the Oracle Database and added a listener and gave it the 8888 port that it was looking for. That did not work so I change the properties on the forms to the port that the database listener had 1521 or at least that is what I believe it was. Now I cannot connect to Oracle SQL*PLus and I cannot connect from the forms to the database either. I have deleted the listeners and added them again. I have checked under services to make sure that it is started. Has anyone seen this before.
    Thanks for any help.
    Robert

    The problem comes into play when you try to select the actual LOB locator remotely, however straight INSERTs aren't a problem.
    SQL> desc test_clob1
    Name                                      Null?    Type
    A1                                                 NUMBER
    A2                                                 CLOB
    SQL> desc test_clob2@remotedb
    Name                                      Null?    Type
    A1                                                 NUMBER
    A2                                                 CLOB
    SQL> declare
      2     big_text varchar2(32767) := rpad('#',32767,'#');
      3  begin
      4       insert into test_clob1 values (1, big_text );
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> select a1, dbms_lob.getlength(a2) from test_clob1;
            A1 DBMS_LOB.GETLENGTH(A2)
             1                  32767
    SQL> select count(*) from test_clob2@remotedb;
      COUNT(*)
             0
    SQL> insert into test_clob2@remotedb
      2  select * from test_clob1;
    1 row created.
    SQL> select a1, dbms_lob.getlength(a2) from test_clob2@remotedb;
    select a1, dbms_lob.getlength(a2) from test_clob2@remotedb
    ERROR at line 1:
    ORA-22992: cannot use LOB locators selected from remote tables
    SQL> commit;
    Commit complete.However, if I do a COMMIT and then go to the remote database and do the same query, I get the following:
    SQL> select a1, dbms_lob.getlength(a2) from test_clob2;
            A1 DBMS_LOB.GETLENGTH(A2)
             1                  32767HTH

  • 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

  • PL/SQL Debugger and ORA-12541: TNS:no listener

    I installed SQL Developer on my PC (Windows XP). I have a connection to my devlopment database on server (Solaris, Oracle 9.2.0.6).
    I create a procedure and compile it successfully. Now I want to 'debug' it. I click on the Debugger (ladybug), set my parameter value and click on 'OK' in the Debug PL/SQL window. In the Debugging log I get:
    Connecting to the database Banner devl.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '130.207.xxx.xxx', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database Banner devl.
    What listener is it looking for on my own machine? I don't have J Developer and I'm using a remote database.
    I found the thread on setting the 'Prompt for Debugger Host for Database Debugging'. Enabled that and tried debugging again. Got the prompt for entering the IP of the Debugger Host. Tried the database server. So I got:
    Connecting to the database Banner devl.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '130.207.xxx.xxx', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database Banner devl.
    The answer is probably right in front of me, but I just can't see it. Is something mission on the database server?

    I am running SQL Developer on Windows XP Professional and I was experiencing the same problem.
    When I started the debugger I got the message from Win XP that Windows Firewall will block some features of the program (being the PC at work I don't have admin privileges on it). I accepted this, not knowing which features would be blocked.
    Then, the debugger was just hanging. After a while it timed out and came back with exactly this error message.
    I restarted the SQLDeveloper and tried again without much success. This time though I didn't get the Windows Firewall message.
    After another few trial and errors I figured out that the Firewall must be blocking connection establishement on the client site i.e. on my PC.
    It was the CALL DBMS_DEBUG_JDWP.CONNECT_TCP that was hanging.
    As the system admin disabled the Windows Firewall on my PC the debugger started working. We have a luxury to disable local firewalls as there is one that protects our network from outside traffic. People who cannot afford to disable the Windows firewall will have to tinker with the firewall itself and configure it in such a way that it allows traffic on certain port range (4000...4999). Then in SQLdeveloper you will have to go to Tools->Preferences->Debugger and tick Debugging Port Range. The chosen range should match the port range on the Windows Firewall side.
    By the way, in the call to CALL DBMS_DEBUG_JDWP.CONNECT_TCP the first parameter is the IP address of your PC and the second one is the port used for debugger connection with the database server. If for some reason the IP address chosen by the debugger is not your IP address (you can find your IP address as follows: Start->Run->cmd; then use command ipconfig), you will have to tick "Prompt for Debugger Host for Database Debugging" on your Debugger Preferences. This way you'll be able to chose the IP address yourself.
    Good luck!

  • ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) Error in EM

    Hi All,
    When I try to drop and re-create the EM i am getting the TNS: no Listener error.
    The command i issued is : emca -deconfig dbcontrol db -repos drop
    Error:
    ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach). Please help me.
    From where it picks up the connect information "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(H
    OST=e2k.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=E2K.E2K.COM
    Here is the log file
    CONFIG: SQLEngine created successfully and connected
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvA
    rray
    CONFIG: New Env List: [ORACLE_HOME=/u03/app/oracle/product/10.2.0/db_1, ORACLE_S
    ID=E2K, PATH=/u03/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerbero
    s/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin]
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface executeComman
    d
    CONFIG: Starting execution: /u03/app/oracle/product/10.2.0/db_1/sysman/admin/emd
    rep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(H
    OST=e2k.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=E2K.E2K.COM
    ))) -repos_user SYSMAN -action drop -verbose -output_file /u03/ap
    p/oracle/product/10.2.0/db_1/cfgtoollogs/emca/E2K/emca_repos_drop_2008-06-2
    4_12-32-31-PM.log
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface executeComman
    d
    CONFIG: Exit value of 50
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface executeComman
    d
    CONFIG: Enter SYS user's password :
    Enter repository user password :
    Getting temporary tablespace from database...
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST
    =e2k.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=E2K.E2K.COM
    ))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface executeComman
    d
    CONFIG: stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.util.PlatformInterface executeComman
    d
    WARNING: Error executing /u03/app/oracle/product/10.2.0/db_1/sysman/admin/emdrep
    /bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST
    =e2k.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=E2K.E2K.COM
    ))) -repos_user SYSMAN -action drop -verbose -output_file /u03/app/o
    racle/product/10.2.0/db_1/cfgtoollogs/emca/E2K/emca_repos_drop_2008-06-24_1
    2-32-31-PM.log
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u03/app/oracle/product/10.2.0/db_1/cfgtoollogs/e
    mca/E2K/emca_repos_drop_<date>.log for more details.
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /u03/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/E2K/emca_2008-06-24_12-32-11-PM.log for more details.
    Jun 24, 2008 12:32:32 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:173)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.jav
    a:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAss
    istant.java:1123)
    --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Using a DNS address in tnsnames.ora and a hardcoded IP address in listener.ora or a DNS name not translating to the same IP address the tnsnames.ora DNS translates to, is a known source for ORA-12541.
    The listener tries to establish communications to the client, using the IP address it gets from listener.ora or by calling nslookup.
    If they don't match: kabloey.
    Been there, done that, and a little searching would have helped you out.
    This discussion forum is turning more and more into a Q&A forum for redundant answers on redundant questions, asked by people who can not be bothered to use existing resources.
    Sybrand Bakker
    Senior Oracle DBA

  • 9.2.0.1.0 - OEM - XP home - ORA-12541 TNS: no listener

    I have installed 9i (9.2.0.1.0) on Windows XP home edition and can connect to database with SQL Plus but get ORA-12541 TNS: no listener error when I try to connect with OEM. I saw someone else had this problem in Febuary and he sadly got no replies, hopefully someone will be able to help me (us) out.

    I guess you now have answers.
    1. Check if listener is running
    lsnrctl status <listener name>
    2. Check port number and SID used
    3. Check TNSNAMES for correct Port and SID name
    4. Check error details in $HOME/network/log

  • DB13c Error:ORA-12541: TNS:no listener for windows systems

    Hello Gurus,
    We are facing an issue in DB13C jobs.
    Background:
    DB13c is setup in Solution Manager.
    Only for windows systems DB13 jobs are failing.
    Job log is given below:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000002249, user ID P96ADM)
    Execute logical command BRCONNECT On host 10.91.26.117
    Parameters:-u / -jid CHECK20120116070805 -sid T72 -j P96 -c -f check
    BR0801I BRCONNECT 7.10 (20)
    BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
    BR0301W SQL error -12541 at location BrDbConnect-15, SQL statement:
    'CONNECT / AT JOURNAL_DB USING P96'
    ORA-12541: TNS:no listener
    BR0310W Connect to database instance P96 failed
    BR0477I Oracle pfile /oracle/T72/102_64/dbs/initT72001.ora created from spfile /oracle/T72/102_64/dbs/spfileT72001.ora
    BR0805I Start of BRCONNECT processing: cehrfhfs.chk 2012-01-16 07.08.08
    BR0484I BRCONNECT log file: /oracle/T72/sapcheck/cehrfhfs.chk
    BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
    BR0301E SQL error -12541 at location db_connect-7, SQL statement:
    'CONNECT / AT JOURNAL_DB USING P96'
    ORA-12541: TNS:no listener
    BR0310E Connect to database instance P96 failed
    BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
    BR0301W SQL error -3114 at location brc_dblog_open-3, SQL statement:
    '/* AT JOURNAL_DB */ INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20120116070808', 'chk', 'T72
    ORA-03114: not connected to ORACLE
    BR0324W Insertion of database log header failed
    BR0806I End of BRCONNECT processing: cehrfhfs.chk2012-01-16 07.08.09
    BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    Internal session terminated with a runtime error (see ST22)
    Job cancelled
    P96 is our solman(version:SAP EHP 1 for SAP Solution Manager 7.0)
    T72 is 4.6c System .
    Sap in windows
    Database in Linux
    Oracle -10.2.0.4
    rest all DB13 jobs are running fine.
    Only for windows system we are facing issue now.
    Runtime Error which comes along with it is:
    OBJECTS_OBJREF_NOT_ASSIGNED
    Access via 'NULL' object reference not possible.
    The current ABAP program "RSDBAJOB" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    lsnrctl status for t72 instance is giving result for another instance(A72 which is teh Acceptance system for T72)
    orat72 51> lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 16-JAN-2012 07:27:53
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER_A72_ES1UL0017
    Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date                27-DEC-2011 14:53:43
    Uptime                    19 days 16 hr. 34 min. 9 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /oracle/A72/102_64/network/admin/listener.ora
    Listener Log File         /oracle/A72/102_64/network/log/listener_a72_es1ul0017.log
    Kindly provide your valuable suggestions.
    Regards,
    Samaya

    Hello Nicholas,
    Thank you for your suggestion.
    But  i do not think it is really required to change P96 tnsnames.ora.
    Because, T72 database is in a  Linnux box where several other DB are also there.
    (Our landscape,NOn-PRD DB instances are together in 1 linux box)
    DB13 jobs of other instances are working fine.
    Only difference is T72 sap instace is a windows server where as other instances are in AIX.
    In DB13c, windows system is configured as without ABAP server .
                     UNIX systems as With ABAP server.
    All were working with this configuration till few days ago.
    Thank you.

  • TNS Error: ORA-12541: TNS: no listener.

    I have installed Oracle 9i on machine in Windows XP. When I try to open the database SID in the Enterprise Manager, it gives me TNS Error: ORA-12541: TNS: no listener.
    I have checked the Oracle Net Configuration:
    Protocol: TCP/IP
    Host: PNR18
    Port: 1521
    In the xp administrative tools, I found that the listener is on start.
    When I try to test trough ' Net Configration Assistant' getting same error, similarly with Net Manager.
    I don't know if I am using the correct protocol in my case of standalone installation.
    Any advice/correction? it would be appreciated. I am giving all the information of TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA, which is on my machine.
    Thanks in advance.
    # LISTENER.ORA Network Configuration File: #C:\oracle\ora90\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora90)
    (PROGRAM = extproc)
    # TNSNAMES.ORA Network Configuration File: #C:\oracle\ora90\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    # SQLNET.ORA Network Configuration File:
    #C:\oracle\ora90\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)

    First of all Thanks for suggestions for solutions but still SAME PROBLEM:
    Case-1::
    I tried according to your suggestion, still SAME error !! I have also configured new DB
    with Enterprise MAnager Configuration Assistent - during DB creation same error occured.
    1) I have seen in XP service where all listener is running as well as OracleServiceORCL
    is also running.
    2) OracleOraHome90TNSListener also running with other listeners!
    Case-2::
    Dear I also delete listener and create new one and also configured Database Description
    and tried to do so but still same problem while I am TESTing it with - Net Manager /
    Net Configuration Assistant. I have also tried
    C:\TNSPING ORCL - it is giving 'ok' result
    but when I am using C:\LSNRCTL START listener - it gives me following errors.
    Service OracleOraHome90TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 1056: Unknown error
    Thats the whole story....hope this time you will find easy to give solution.
    All files after your suggestion are as follow:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora90\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    # LISTENER.ORA Network Configuration File: C:\oracle\ora90\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = C:\oracle\ora90)
    (SID_NAME = ORCL)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora90)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora90\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
    SQLNET.AUTHENTICATION_SERVICES= (NTS)

  • ORA-23324: error ORA-12541: TNS:no listener, while creating deferror entry

    I need Help for the following error message while pushing the dererred transactions from the snapshot to Master in advanced replication.
    The Snapshot site has some deftran which supposed to propagate daily push.
    SQL>
    SQL> -- push existing transactions
    SQL> declare
    rc binary_integer;
    begin
    rc := dbms_defer_sys.push('XXXX.WORLD');
    dbms_output.put_line(to_char(rc));
    end;
    declare
    ERROR at line 1:
    ORA-23324: error ORA-12541: TNS:no listener, while creating deferror entry at
    "XXXX.WORLD" with error -12541
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1716
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1804
    ORA-06512: at line 4
    Thank you in advance.

    The Listener in SNAPSHOT server and the MASTER server - started
    I can do the same from different country of the other server with the same tnsname works.
    But only this perticular site have issues since Oct 27, 2011 onwards. The last successful replication from that snapshot site to master is on Oct 27, 2011.
    I can connect to the SNAPSHOT Site and from there i can connect to the master using any profile to the master.
    But only when i replicate from the snapshot site using the script then i am getting this 12541 no listener error
    Please help.
    Thank you,

  • Error:  ORA-12541 : TNS: No Listener

    Hi
    i got a error when i am connecting to the database
    I am in Oracle 1.7.
    Error: ORA-12541 : TNS: No Listener
    Please say me the solution
    Farhad

    HI
    BUT IF I DONT USE THE DATABASE NAME, IN THAT TIME IT CAN EASILY GOES TO THE DATABASE
    i COULD NOT FIND THE TNS LISTENER AND DOES NOT KNOW HOW TO START THE SERVER
    FARHAD

  • ORA-12541: TNS:no listener. (HY000)

    Hi,
    I created a DSN A and added the name to my connection pool in OBIEE 10G rpd. When i click on "Test Connection" in the DSN, it connects successfully. However, when i create an ad-hoc report in Answers with a subject area that uses the same connection pool, i get the no listener error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 12541 message: [Oracle][ODBC][Ora]ORA-12541: TNS:no listener. (HY000)
    What am i doing wrong?

    what I am referring to is the post above which says the following
    If you have Oracle client installed why you need DSN?!!!
    just use hostname:port/Service at connection pool by selecting OCI
    before that using command use tnsping <tnsname> that should return tnsentry if not check setting

  • ORA-12541: TNS:no listener on my VISTA

    Hi guys,
    I've installed Oracle 10g on my Windows Vista laptop and it says Successful but upon connecting to Database using TOAD or SQL plus an error ORA-12541: TNS:no listener. What seems to be the problem here. I've search the forums and try all the advices but to no avail.? I run the lsnrctl start / in the command prompt but it seems that lsnrctl command is not recognize as an internal or external command. by the DOS. I also checked the Services to determine if the OracleServices is running but I cant find any Service with Oracle name. Ive reinstalled twice but unfortunately same things happen. Kindly advice.
    Thank you
    Jay
    Edited by: LORDJAY on Oct 9, 2008 10:33 PM

    Sybrand and Zack:  Thanks for pointing me to the log.  I was able to see that the problem computer had a Windows Computer Name mismatch.  And also, its "Microsoft Loopback Adapter" network connection had been disabled.  While I could have tried enabling the MLA, I chose to set the "HOST = " value in the listener.log file in the %ORACLE_HOME%\network\ADMIN\ path to match the Windows Computer Name.  Once I changed that, I was able to start the Listener.
    ...and now, I need to address the issue of Vista versions:
    If you guys would look up the Microsoft Windows Vista: Compare editions page, you would see that the differences are just frosting on the cake.  Things like "Aero Desktop", "Tablet PC Support", "Windows Meeting Space", some backup/restore options and more games (Yeah I really want InkBall and Chess Titans!).  Otherwise, Vista is running the same engine under the hood.
    I have no clue why Oracle has chosen to certify only a specific Vista version.  It appears they have fallen for a Microsoft marketing ploy:  give people a choice of levels, and human nature is to always reach for the more expensive one.
    A few years ago, when Oracle was proudly bragging about their robustness and the "Write once, Run anywhere" theme, they would have certified their software on all Vista versions.  Given Larry's distaste for competition with Microsoft, it would seem like he would have urged Marketing to aim for the leanest Vista version.  But then maybe Marketing decided that having software that ran on the cheapest Vista version would look cheap.  Or maybe they are looking for ways to cut back on costs -- it is less expensive to say you support Vista and then tell some of the people seeking help that they have the wrong version, rather than spend the time helping them work through the problem.
    No matter what Oracle's reason, I still say you guys parroting the same line as Oracle are doing a disservice to people looking for help on the forum.
    The answers given so far were perfectly valid, because this is the
    answer you will get from Oracle Support. They will not help the OP. Nor
    will they help you when your database on Vista Home crashes.Sounds like my mother telling me to put on a coat before I go out to play.  "You'll be sorry when you catch a cold!"
    Sorry, but Oracle is the LAST place I would go for help.  Multiple times, I have presented issues to Oracle, and the person at the other end either could not comprehend the problem, or maintained that what I was seeing was the same as another bug...  It is my experience that they go to the greatest lengths possible to maintain that there is nothing wrong at their end.  The result is that it is up to me to find a workaround.
    Not certified means not certified. It might work, and then it might not
    work. You have just been lucky.Right.  I work on software day in and day out that has been uncertified by Oracle, but still runs fine -- in production.  And on the other side of the coin, have published steps to get software to run on platforms not yet certified by Oracle.
    People are providing this answer here, because no one can provide more
    support than Oracle Support actually does.Why do you write such stuff?  Every time I encounter this Re: Sarcasm and negative comments, it gets me going.

  • Return: 12541 - ORA-12541: TNS:no listener

    I could not able to login thorugh Data Mover and Appdesigner. I am getting below errro
    File: SQL Access ManagerSQL error. Stmt #: 2 Error Position: 0 Return: 12541 - ORA-12541: TNS:no listener
    But, I can able to login through SQL DEVELOPER.
    Also, I can see different DB name in select * from v$database; and select * from PS.OSDBOWNER;
    I have set PSDBOWNER name as " PSHRDEV" but when i fire " select * from v$database;" i see " PSHRQUE "

    I think you answer your own question
    PSHRQUE is your DB name, this should match PSDBOWNER column DBNAME
    If your tnsnames reflects PSHRQUE, then you cannot connect to PSHRDEV.
    change PSDBOWNER.DBNAME to PSHRQUE and check your tnsnames if PSHRQUE entry exists.
    If you are not sure, ask your DBA for the dbname and the correct entires for tnsnames.

  • ORA-12541: TNS:no listener after upgrading from 11.1.0.6 to 11.1.0.7

    After upgrading from 11.1.0.6 to 11.1.0.7, I get the error: ORA-12541: TNS:no listener.
    I have attached my tnsnames.ora, listener.ora and my sqlnet.log.
    I have tried deleting the listener and re-adding it and I get the same error.
    I have tried adding a new database and it errored at 97% because it couldn’t connect to the listener, but still seemed to create the database.
    Any suggestions would be appreciated
    <b>My tnsnames.ora file:</b>
    # tnsnames.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    <b>my listener.ora file:</b>
    # listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    <b>my sqlnet.log:</b>
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=tebxjt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Oracle\product\11.1.0\db_1\jdk\jre\bin\java.exe)(HOST=tebxjt)(USER=739179))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
    Time: 21-JUL-2010 16:53:37
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

    Hi,
    What is your ORACLE_SID name of your database. Have you checked in given above output there is two things:
    1.
    Service "orcl.us.oracle.com" has 1 instance(s).
    Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl_XPT.us.oracle.com" has 1 instance(s).
    Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    The status BLOCKED is coming instead of READY
    2. From
    +"+
    +my listener.ora file:+
    +# listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora+
    +# Generated by Oracle configuration tools.+
    +LISTENER =+
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))+
    +)+
    +)+
    Here what i feel complete linstner.ora should be have two parts one LISTENER and another SID_LIST_LISTENER :
    LISTENER =
    (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
         (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))     
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC=
                   #BEQUEATH CONFIG
    (GLOBAL_DBNAME=salesdb.mycompany)
    (SID_NAME=sid1)               
    (ORACLE_HOME=/private/app/oracle/product/8.0.3)
    In your case SID_LIST_LISTENER part is missing.
    In this part you have to set SID_NAME and ORACLE_HOME value of new 11g home.
    Hope this will help you.
    Regards
    Rajinder

Maybe you are looking for

  • Need help getting a value from an XML column

    Hi, I need to get a value from an XML column in a table (the column is called TEST_XML). I have tried using the Select TEST_XML.value function but it always returns nulls. Could you please take a look at the following xml sample stored in the TEST_XM

  • How to set dynamic date in variant

    Hi, I'm going to create a variant for report RBDAPP01, I want to set the create on date dynamically, create on from should be one day before current day, to should be currently day, how to create this variant?

  • Podcasting on an iWeb site not published to .mac

    Hi, I have created a website with iWeb which is hosted externally to .Mac. Everything works fine except I created a podcast (m4a file) which I'd like to include on my site. Can anyone let me know the steps I need to take to get this to be available t

  • Forum post ID's and broken tag rendering

    Hi all and Merry summer solstice How do I reference the forum post ID's? I saw a post relating to the tag {tag_blogpostid} - what is the equivilent tag for forum posts? My customer is a forum user, and they have used really basic forums in the past,

  • Transfering songs from ipod to new computer

    Hello..Please forgive me but I not very computer literate...I have a new computer and want to put the 101 songs that are currently on my Ipod classic onto the itunes playlist for the new computer. How do I go about doing this?? Using the SYNC functio