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

Similar Messages

  • Failed to connect to database instance: ORA-12541: TNS:no listener

    Hello -
    This is the error in grid alert:
    Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    But the test of connection string in database configure screen is successful. tnsping works too.
    Grid version: 11.2.0.1.0, no patches.
    Target database version: 10.2.0.2
    Connect string: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = s08) (PORT = 1528))) (CONNECT_DATA = (SID = S08) (GLOBAL_NAME = S08.WORLD)))
    Any ideas?

    OK.. Are you testing the connectivity from "Preferred Credentials " setting page?
    Try to configure target from
    Targets-->databases--> then select your database and click on "configure" button.
    Enter all the details and press "Test Connection" button once it shows that connection is successful go to next page and finally save the setting.
    Let me know how it goes....

  • 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-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

  • 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 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.

  • 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

  • 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

  • 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 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

  • Another ORA-12541:TNS: No Listener

    I have Windows Vista
    I install Oracle 10g Enterprise edition on my laptop, then I install the DevSuite 10g and 4 days later i cant connect to TOAD or SQLplus I got the error
    ORA-12541:TNS: No Listener
    I have 2 folders on my C:// Drive
    1.- C:\DevSuiteHome_1\NETWORK\ADMIN\ tnsnames
    2.- C:\oracle\product\10.2.0\db_1\network\ADMIN\ Listener + tnsnames.
    Can anyone help? I ran already the command:
    lsnrctl start
    And I got the following message:
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    Can someone help?

    KEY_OraDb10g_home1/ORACLE_HOME -- Value:
    C:\oracle\product\10.2.0\db_1This path needs to be first (or at least before any other oracle stuff) in the PATH setting.
    >
    I think Dev Suite have its own database but I´mNope. Not in the Dev Suite home.
    trying to connect to the database called ORCL which I
    setup with the Enterprise edition 10g .So, is the listener started now?
    What do you get from lsnrctl stat?

  • Cannot config EM from dbca with ORA-12541: TNS:no listener

    Hi all,
    I am having a strange issue with Oracle Database. I have "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production" running on a windows 7 system. Everything seems working: I can connect and do SQL operations. But my EM is not running. I need to do a re-config by running dbca. I choose to "configure database options" etc for the existing database, roughly at the 67%, it stopped. In log, I see the following exceptions:
    Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12541: TNS:no listener
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    However, my listener seems working (otherwise, my sqlplus connections wouldn't work, correct?). Please see the attached information. Can anyone please tell me what I am doing wrong here and how to fix it? Thank you all very much!
    $ lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 21:54:12
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 2 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:27 refused:0
    LOCAL SERVER
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I can also connect
    $ sqlplus sys/*****@orcl as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 7 23:11:30 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    I can also do:
    $ tnsping orcl
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 23:12:53
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (40 msec)

    Can you please tell me what options I need to run emca? My current database is accessible and seems running fine except this EM issue.
    dbca can also "configure database options" existing DB's, at least I should not get that error in "C:\oracle\cfgtoollogs\dbca\orcl\emConfig.log" that says
    Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12541: TNS:no listener
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
    Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    Refer to the log file at C:\oracle\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .

  • 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

Maybe you are looking for

  • How to open a idml file created by CS6 in CS5?

    I created a file in InDesign CS6 and saved as idml file yesterday. But today I can not open either in CS6 or CS5 version. It says "Cannot open the file "Project #3.idml". Adobe InDesign may not support the file format, a plug-in that supports the fil

  • Read Image XMP Metadata

    Hi All, Hope I'm not spamming  this thread to your mailbox as I felt this question asked in unrelated  forum. Question: Can we read image meta data from Flex ? I tried it with xmp core library and passed a jpeg file to xmpMeta object : private functi

  • Duplicate rows in repetitive area

    Hi all, I'm going to modify existing Employee Report (from Employee Master Active Window). I have added a repetitive area to show Education details. Education details are not there in the Employee Master window. Only a link is there. Education detail

  • Run LabVIEW exe in notification tray

    How would I run a labview program in the notification tray without having a main icon open in the task bar. The program would just be placed in the startup folder and operate solely from the notification tray? Paul Power I have not lost my mind, it's

  • Tuning of Individual SQL statement

    Hi all, One of my developer come to me stating that the query is taking long time. In this case, how i have to deal/tell with this from interview point of view. 1. I will say, first, i will see whether Indexes are there or not. 2. Join conditions. Th