ORA 12224 - TNS:  No Listener problem

Hi there,
I have SQL*Plus working on client A (Sun Solaris, 9i), connecting to server C (Windows NT, 7.3.4)
From client B (Sun Solaris, 8.0.6), trying to connect to server C using the same TNSNAMES.ORA, same user & instance, I get the error :
ORA-12224: TNS:no Listener
This error, to me, means that the Oracle listener on server C is not working. Which is not possible, because it does work from client A !
Where did I go wrong ?
Could this mean that client B does not have network access to server C (client B is in DMZ, but should have all required accesses) ?
Thanks in advance !
Best regards,
Jerome

Do you have a firewall between the server and the clients and are allowing only 1521 through? If so, read on. Oracle on NT by default uses a non shared socket impl which essentially means that even though the original request comes in on 1521, the server bequeaths the connection to a thread listening on a different port (a high port) and sends a redirect request back to the client. When the client attempts to connect to this neew port, the firewall blocks it. The way around this is
1. Get a firewall that recognizes SQLNet like checkpoint and allow all SQLNet traffic through
2. Open up all high ports (I can hear the sysadmins wanting to kill you)
3. Get Oracle to use SHARED_SOCKETS (if applicable to your platform/version. Update the registry to set SHARED_SOCKETS = true. This is a feature in Winsock2.0 that allows a socket to be shared through IO completion ports. (There is a great whitepaper on Metalink/Technet. Search for SHARED_SOCKETS)
HTH
Ram

Similar Messages

  • ORA-12224: TNS:no listener

    I installed Developer 6 on a Windows 98 PC. When I tried to run
    SQL*plus for the first time using scott/tiger, it gave me the
    following error:
    ERROR:
    ORA-12224: TNS:no listener
    I discovered that I got the same error mesg. on all developer
    programs.
    What is exactly wrong here? I follow the installation
    instruction and everything went well.
    null

    Go to MS-DOS Prompt and Type
    C:\lsnrctl80 start
    and check if this works ..........
    Regards,
    Ameya Narvekar,
    [email protected]
    Ee Ming (guest) wrote:
    : Hi,
    : I tried all the steps except for iii & iv. There is no
    : lsnctrl80.exe. I tried to search the entire harddisk. There is
    : no
    : such file. I installed the entire developer 6.
    : regards
    : Ee Ming
    : Ramesh Pinjala (guest) wrote:
    : : Hai,
    : : I hope you are using Personal Oracle8.0.3. And as far as I
    : : know PO8.0.3 was for Windows 95 but in Windows98 the lisetner
    : : does not work properly !! In any case this is how it should
    : work
    : : i) Go to Net8/admin/listener.ora file check all the
    : parameters
    : : ii) Add an alias for the database SID in tnsnames.ora by
    : : editing the file or using Net80 Asst.
    : : iii) Start the .../Bin/LSNCTRL80.exe & type START
    : : iv) then check the status by typing the STATUS.It should
    give
    : : the status if the Listener is up and running.
    : : Everything should work fine !! Good Luck !
    : : Ee Ming (guest) wrote:
    : : : How do you start the new tnsnames.ora file? I understand
    that
    : I
    : : : need lsnrctl to start it? I read the Net8 admin guide but
    : : : frankly I still couldn't understand how it works. BTW, what
    : : : server are you refering to? I only have a Windows 98 PC
    with
    : : the
    : : : entire developer 6 installed.
    : : : Chris Stolp (guest) wrote:
    : : : : You must configure the tnsnames.ora file. Developer 6.0
    : does
    : : : : not come with a configuration utility but if you had a
    : : previous
    : : : : oracle product installed on this machine you can copy the
    : : : : tnsnames.ora file that was used there to the Oracle
    : : : : home/net80/admin directory then your connection should
    : work.
    : : : : Otherwise you will have to edit the file to match your
    : server
    : : : : information.
    : : : : Ee Ming (guest) wrote:
    : : : : : I installed Developer 6 on a Windows 98 PC. When I
    tried
    : to
    : : : : run
    : : : : : SQL*plus for the first time using scott/tiger, it gave
    me
    : : the
    : : : : : following error:
    : : : : : ERROR:
    : : : : : ORA-12224: TNS:no listener
    : : : : : I discovered that I got the same error mesg. on all
    : : developer
    : : : : : programs.
    : : : : : What is exactly wrong here? I follow the installation
    : : : : : instruction and everything went well.
    null

  • ERROR: ORA-12224: TNS: no listener

    Whenever I try and install the Web-to-go from the Oracle Lite installation program, I get the above error at the dos prompt when SQL PLUS is executed. Can anyone tell me what this error means?
    Thanks.

    Whenever I try and install the Web-to-go from the Oracle Lite installation program, I get the above error at the dos prompt when SQL PLUS is executed. Can anyone tell me what this error means?
    Thanks.

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

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

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

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

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

  • 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

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

Maybe you are looking for

  • How to change font size in check printing program in AP Invoice

    I would like to know how to change font size in check printing program in Oracle Payables Module for Invoice printing. We are using Oracle standard report to print check. Concurrent program short name : APXPBFEL Prt file : APLASP.prt I modified prt f

  • Unable to install windows 7 on boot camp partition

    Hello everyone! As the title says, I'm trying to install windows 7 on my macbook - the 2009 13 inch model- and failing at it. I have been peeking around the net and I haven't found any solutions, so here I come. If I'm not wrong I need to format the

  • Weblogic Server 10.3.5 - Configuration Wizard Error

    Hi I am a newbie to forum threads. Please dont mind if I posted incorrectly. When I try to run configuration wizard of weblogic server 10.3.5, I am getting the following error. Java Virtual Machine Launcher Could not find the main class: com.oracle.c

  • Having trouble connecting column to column using niSwitch on a PXI 2530

    Having trouble connecting column to column using niSwitch vi on a PXI 2530 matrix module.  I have configured my switch using Switch Executive, have identified aliases, and verified routes and route groups.  When I use LabVIEW to connect column to col

  • Mail messages are constantly marked as "Unread"

    On certain mail messages, I cannot get the message to remain as "Marked Read"  - the message continues to come to my Mac as "New".  I have tried deleting message, manually marking it as Read.  Nothing seems to work.  Please share any advice.