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

Similar Messages

  • 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

  • TNS: no listener when trying to perform Import

    Hi,
    Inspite of the listener running fine (tested both on the server and client via tnsping) while trying to perform import it is terminating throwing an error
    Could you tell me where could be the problem? And why am I unable to perform my import.
    Import: Release 8.1.7.4.1 - Production on Wed Feb 22 05:44:18 2012
    (c) Copyright 2000 Oracle Corporation.  All rights reserved.
    Password:
    IMP-00058: ORACLE error 12541 encountered
    ORA-12541: TNS:no listener
    IMP-00000: Import terminated unsuccessfullyMy oracle database is a 8i database.
    Even while trying to connect using svrmgrl
    C:\>svrmgrl
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation.  All Rights Reserved.
    ORA-12541: TNS:no listener
    SVRMGR> exit
    Server Manager complete. All the environment variables are also properly set. Also please find the listener status as below:
    C:\>lsnrctl status LISTENER_ABC
    LSNRCTL for 32-bit Windows: Version 8.1.7.4.0 - Production on
    (c) Copyright 1998 Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<gave-the IP address of the host>
    STATUS of the LISTENER
    Alias                     LISTENER_ABC
    Version                   TNSLSNR for 32-bit Windows: Version
    Start Date                22-FEB-2012 05:41:21
    Uptime                    0 days 0 hr. 12 min. 40 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   D:\Oracle\ora817\network\admin\listener.ora
    Listener Log File         D:\Oracle\ora817\network\log\listenener_ABC.log
    Services Summary...
      ABC                has 1 service handler(s)
    The command completed successfully
    C:\>echo %ORACLE_HOME%
    D:\Oracle\ora817
    C:\>echo %PATH%
    D:\Oracle\ora817\bin;E:\Oracle\Forms6i\bin;C:\Perl\bin\;C:\Per
    ;D:\Oracle\10as\bin;E:\Oracle\10as\jlib;E:\Oracle\Forms10g\jdk
    \Apache\Perl\5.00503\bin\mswin32-x86;C:\WINNT\system32;C:\WINN
    C:\>echo %TNS_ADMIN%
    D:\Oracle\ora817\network\admin
    C:\>echo %ORACLE_SID%
    ABC find the below TNS entries:
    ABC,ABC.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
             (ADDRESS =
              (PROTOCOL = TCP)
              (HOST = <gave the ip address of host>)(PORT = 1522) )   )
        (CONNECT_DATA =
          (SID = ABC)
    )find the below listener file:
    LISTENER_ABC =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST =<gave the ip address of the hosT>)(PORT = 1522))
    SID_LIST_LISTENER_ABC =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ABC)
          (ORACLE_HOME = D:\Oracle\ora817)
          (SID_NAME =ABC)
      )

    It has a single home.
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 8.1.7.4.0 - Production on 22-FEB-2012 06:13:48
    (c) Copyright 1998 Oracle Corporation.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
      TNS-00515: Connect failed because target host or object does not exist
       32-bit Windows Error: 49: Unknown errorWhen I just tried,
    the tnsping on the server is throwing a no listener error.
    the tnsping on the client is working fine .. but taking 3640msec to respond.

  • 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

  • When i try to log on to Oracle it gives an error TNS:no listener, WHY?

    hi guys,
    WHen i try to log on to the Oracle 8i server using the user: SYSTEM and password: manager, it gives an error
    ERROR:
    ORA-12541: TNS: no listener
    why this occurs and how do i fix the problem? please give me step by step instructions TY :)
    Message was edited by:
    user502781

    ORA-12541 ...
    - The client is requesting connection to a service.
    - The service is derived from the alias used in the connection. For example, @orcl ... orcl = alias.
    - The alias is used to look up the host, listener port and service in the tnsnames.ora
    The listener is on the same machine as the database. The listener must be up and listening on the port the client want to use.
    If the listener is not up, there wil be an "ORA-12541: TNS: no listener" error;
    If the listener is listening on the wrong port, there wil be an "ORA-12541: TNS: no listener" error;
    If the client is asking for the wrong port, there wil be an "ORA-12541: TNS: no listener" error.
    To start the listener in Windows, go to the Control Panel > Administration Tools > Services and ensure the Ora?????Listener is started.
    To verify the listener is up, open a command box, and type 'lsnrctl status'
    To see what the client is expecting, on the client machine open a command box, and type 'tnsping {alias}' where you replace {alias} with the alias to be used in the connection.

  • TNS-12541:  TNS: no listener (has to input user name)

    Hi!
    I have installed Oracle10g successful. I have tested the connection in Net Manager and is successful in condition that I change the user name to system. How can I preset the user name, so that the system will not prompt me for input when I sqlplus?
    Enclosed please find the output:
    C:\>tnsping train
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 -
    Production on 21-9&#26376; -2005 12:10:04
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=
    (CONNECT_DATA=
    (SERVICE_NAME=train.plusten.com.cn))(ADDRESS=
    (PROTOCOL=TCP)(HOST=210.245.166.72)
    (PORT=1521)))
    TNS-12541: TNS:no listener
    C:\>sqlplus system/manager@train
    SQL*Plus: Release 10.2.0.1.0 - Production on &#26143;&#26399;&#19977; 9
    &#26376; 21 12:14:16 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12541: TNS:no listener
    Enter user-name:system //will prompt for user name and password
    Enter password:
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL> exit
    Disconnected from Oracle Database 10g Release
    10.2.0.1.0 - Production
    C:\oracle\product\10.2.0\db_1\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-9&#26376; -2005 16:43:31
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 21-9&#26376; -2005 15:01:50
    Uptime 0 days 1 hr. 41 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orange.plusten.com.cn)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "train.plusten.com.cn" has 1 instance(s).
    Instance "train", status READY, has 1 handler(s) for this service...
    Service "trainXDB.plusten.com.cn" has 1 instance(s).
    Instance "train", status READY, has 1 handler(s) for this service...
    Service "train_XPT.plusten.com.cn" has 1 instance(s).
    Instance "train", status READY, has 1 handler(s) for this service...
    The command completed successfully

    I am sorry. I am newbie in Oracle and still do not know how to solve it. Even I try sqlplus system/[email protected], the outcome is still the same. Enclosed pleae find my sqlnet.ora, listener.ora and tnsnames.ora files:
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 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)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    NAMES.DEFAULT_DOMAIN = plusten.com.cn
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORANGE)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    TRAIN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORANGE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = train.plusten.com.cn)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

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

  • TNS-12541: TNS:no listener   TNS-12560: TNS:protocol adapter error    TNS-00511: No listener

    Dear Team,
                            When I am trying to start my LISTENER  on my Windows server manually its showing error like The OracleOraDb11g_home1TNSListener service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.I Have created LISTENER twice also.When I am checking status on CMD prompt below is error is showing.Please help me out how to solve the issue.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<host name>)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
      32-bit Windows Error: 61: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
      32-bit Windows Error: 2: No such file or directory
    Regards,
    Praveen K

    Hi,
    Did you check whether the windows service for listener is up and running? if not please start it, by typing "services.msc" in run window and start the service. Then check whether you have listener.ora file in $ORACLE_HOME/network/admin and also post listener.ora contents.
    Regards,
    Pradeep. V

  • TNS-12541: TNS:no listener

    Dear Team,
                            When I am trying to start my LISTENER  on my Windows server manually its showing error like The OracleOraDb11g_home1TNSListener service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.I Have created LISTENER twice also.When I am checking status on CMD prompt below is error is showing.Please help me out how to solve the issue.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<host name>)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
      32-bit Windows Error: 61: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
      32-bit Windows Error: 2: No such file or directory
    Regards,
    Praveen K

    hi,
    first be sure that oracle database service and listener service are started as same OS username and this user was in the list of group oracle dba
    second stop all services and delete all listeners using netca and delete all files(listener.ora, tnsnames.ora) from network\admin\ folder
    after create new listener using netca and check hostname in listener.ora, if everything is ok create new connection string in tnsnames .ora and then do following commands on cmd and put here result.
    lsnrctl stop
    lsnrctl start
    lsnrctl status
    tnsping myDb
    Ramin Hashimzade

  • TNS-12541: TNS:no listener after 10g DB installation

    After installing Oracle 10g DB on my PC (Windows XP), I went to SQLPLUS, but when I connected using system user, it gave me an error:
    TNS-12541: TNS:no listener
    Then, I tried to check the status of the listener as below.
    D:\oracle\product\10.1.0\Db_2\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Pro
    :34
    Copyright (c) 1991, 2004, Oracle. All rights reserv
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(K
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or director
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(H
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    Not sure what is going on here. Any pointers ?

    Set the enviroment variable ORACLE_HOME , ORACLE_SID
    and then issue lsnrctl status
    D:\oracle\product\10.1.0\Db_2\BIN>lnsrct status

Maybe you are looking for