TNS 12154 error

My application is in one machine (say machine A) and the DB in another machine (machine B).
When i connect using a user (appuser@netservicename) from A to be , TNS 12154 error comes.
netservicename have an entry in tnsnames.ora.
also, i am able to do "tnsping netservicename" from A to B ?
What will be the issue ?
Regards,
JJ

12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause:  A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
//   - If you are using local naming (TNSNAMES.ORA file):
//      - Make sure that "TNSNAMES" is listed as one of the values of the
//        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA)
//      - Verify that a TNSNAMES.ORA file exists and is in the proper
//        directory and is accessible.
//      - Check that the net service name used as the connect identifier
//        exists in the TNSNAMES.ORA file.
//      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
//        file.  Look for unmatched parentheses or stray characters. Errors
//        in a TNSNAMES.ORA file may make it unusable.
//   - If you are using directory naming:
//      - Verify that "LDAP" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Verify that the LDAP directory server is up and that it is
//        accessible.
//      - Verify that the net service name or database name used as the
//        connect identifier is configured in the directory.
//      - Verify that the default context being used is correct by
//        specifying a fully qualified net service name or a full LDAP DN
//        as the connect identifier
//   - If you are using easy connect naming:
//      - Verify that "EZCONNECT" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Make sure the host, port and service name specified
//        are correct.
//      - Try enclosing the connect identifier in quote marks.
//   See the Oracle Net Services Administrators Guide or the Oracle
//   operating system specific guide for more information on naming.Not getting off client due to lookup error

Similar Messages

  • ORA/TNS-12154 error on a Win98 machine

    Is there any difference in the TNSNAMES.ORA contents needed if you are running the Oracle 8.1 Client on a Windows 98 machine verusu on a Windows2000pro machine?
    We've gotten a "new" laptop and after the install on WIN98 and moving the TNSNAMES.ORA file from a WIN2K machine, we get the 12154 error.
    Any thing else that might be causing the problem?

    Maybe you have more than one ORACLE_HOME.
    Try setting in the registry the variable TNS_ADMIN, pointing to the folder where you tnsnames.ora is. You sholud insert this value in two branches of the registry :
    HKLM/SOFTWARE/ORACLE
    HKLM/SOFTWARE/ORACLE/HOMEx
    where x is a number corresponding to the id of the OH installed.
    Good luck,
    Sebastian.

  • TNS-12154...3rd Party tools won't connect to 9.2iEE

    Platform:
    Pentium 4 2.4GHz
    Windows 2000 (SP2)
    Oracle 9iEE 9.2
    OWB 9.2
    Quest Software Data Dictionary for Oracle
    Other 3rd party tools accessing Oracle RDBMS
    We have installed Oracle 9iEE, and OWB 9.2. OWB Client and Server components have been installed into their own 'oracle_home' directories. All software is installed on the one machine.
    We have also installed Quest Software Data Dictionary for Oracle on the machine.
    We have found 2 TNSNAMES.ORA files on the machine....one for the database itself, and the other in the OWB Client 'Oracle home'
    The OWB client connects with the database ok, but the Quest software and other 3rd party tools come back with the error of TNS-12154. 3rd party tools were ok while we had 9iPE installed. But have stopped connecting with the oracle database since the installation of 9iEE and OWB, and come up with the TNS-12154 error each time we try.
    We have 3 'Home' entries in the Registry under HKEY_LOCALMACHINE>SOFTWARE>ORACLE. One for 9iEE, and 2 others each for the OWB Server & Client.
    Below are the TNSNAMES.ORA, SQLNET.ORA, and LISTENER.ORA contents for the 9iEE installation:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92ee\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ora92ee.mydomain =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521))
    CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora92ee.mydomain)
    INST1_HTTP.mydomain =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA.mydomain =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92ee\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92ee)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ora92ee.mydomain)
    (ORACLE_HOME = C:\oracle\ora92ee)
    (SID_NAME = ora92ee)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92ee\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = mydomain
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Below is the TNSNAMES.ORA for OWB Client:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\OWB92_C\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    OWB92NETSERVICE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ora92ee.mydomain)
    When LISTENER is started, the following is displayed.....
    LSNRCTL> Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    System parameter file is C:\oracle\ora92ee\network\admin\listener.ora
    Log messages written to C:\oracle\ora92ee\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mydomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    STATUS of the LISTENER
    Alias listener
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date 28-AUG-2003 22:51:52
    Uptime 0 days 0 hr. 0 min. 4 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File C:\oracle\ora92ee\network\admin\listener.ora
    Listener Log File C:\oracle\ora92ee\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mydomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "ora92ee.mydomain" has 1 instance(s).
    Instance "ora92ee", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    NOTE THE STATUS OF THE INSTANCES!...Can't get them to start as READY.
    After a minute or two, status check shows (without any other action)......NOTE THE ADDITIONAL INSTANCE ENTRIES THAT APPEAR.
    LSNRCTL> Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    STATUS of the LISTENER
    Alias listener
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date 28-AUG-2003 22:51:52
    Uptime 0 days 0 hr. 1 min. 10 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File C:\oracle\ora92ee\network\admin\listener.ora
    Listener Log File C:\oracle\ora92ee\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mydomain)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mydomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver.mydomain)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "ora92ee.mydomain" has 2 instance(s).
    Instance "ora92ee", status UNKNOWN, has 1 handler(s) for this service...
    Instance "ora92ee", status READY, has 1 handler(s) for this service...
    Service "ora92eeXDB.mydomain" has 1 instance(s).
    Instance "ora92ee", status READY, has 1 handler(s) for this service...
    The command completed successfully
    THE NEW INSTANCE STATUS COME UP AS READY, UNLIKE THE PREVIOUS STATUS OF UNKNOWN!
    My guess is the 2 TNSNAMES.ORA files on the machine, and the contents of the Registry 'Home' entries are causing the issues. But I'm not sure of what actions to take, and why initially the service instances come up as 'UKNOWN', and then the other 2 appear as 'READY'. ora92ee.mydomain has 2 instances of the service....baffling.
    Is it to do with installing 9iEE on a single machine, rather than a Client/Server environment?
    Any ideas upon how we can get our 3rd party tools to successfully connect to the Oracle database again will be greatly appreciated!
    Thanks!

    problem solved

  • Tns listener error:

    i was away from Oracle for around 6-7 months and now i am back in it.
    i was trying to install Oracle 32-bit 10.2 on windows 2003 enterprise edition.
    i installed it without any issues. i didnt enable to option on creating the default database which comes along with Oracle installation.
    later after installation i created a database throught dbca (not manually).
    once i created the database, i tried to log into the database through command line and faced a oaa-12154 error. i restarted the listener and even edited the listener.ora and tnsnames.ora files.
    i also ran the netca and restarted the listener. i am confused as to what is causing the error the OracleServoceSID service is running
    can someone please guide me as to what is going wrong?
    ^C:\Documents and Settings\Administrator>set oracle_sid=arvind^
    ^C:\Documents and Settings\Administrator>sqlplus "sys as sysdba"^
    ^SQL*Plus: Release 10.2.0.1.0 - Production on Sun Mar 8 00:35:22 2009^
    ^Copyright (c) 1982, 2005, Oracle. All rights reserved.^
    ^Enter password:^
    ^ERROR:^
    ^ORA-12154: TNS:could not resolve the connect identifier specified^
    i went to lsnrctl and saw the status.
    ^LSNRCTL> status^
    ^Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))^
    ^STATUS of the LISTENER^
    ^------------------------^
    ^Alias LISTENER^
    ^Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ^
    ^ction^
    ^Start Date 08-MAR-2009 00:03:57^
    ^Uptime 0 days 0 hr. 29 min. 40 sec^
    ^Trace Level off^
    ^Security ON: Password or Local OS Authentication^
    ^SNMP OFF^
    ^Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o^
    ^ra^
    ^Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log^
    ^Listening Endpoints Summary...^
    ^ (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))^
    ^The listener supports no services^
    ^The command completed successfully^
    contents of the listener.ora file:
    ^LISTENER =^
    ^ (DESCRIPTION_LIST =^
    ^ (DESCRIPTION =^
    ^ (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))^
    ^ )^
    ^ )^
    contents of the sqlnet.ora file
    ^SQLNET.AUTHENTICATION_SERVICES= (NTS)^
    ^NAMES.DIRECTORY_PATH= (TNSNAMES)^
    ^NAMES.DIRECTORY_LOOKUP= (TNSNAMES, ONAMES)^
    contents of the tnsnames.ora file
    ^ARVIND =^
    ^ (DESCRIPTION =^
    ^ (ADDRESS_LIST =^
    ^ (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))^
    ^ )^
    ^ (CONNECT_DATA =^
    ^ (SERVICE_NAME = arvind)^
    ^ )^
    ^ )^

    I am new to Oracle and I have come accross this error earlier.
    Try going to oracle base and start sqlplus from there.
    If it still gives error, issue set ORACLE_SID=<yourSID> at the oracle base directory level and again try logging in through SQLPlus. That worked for me.

  • TNS-12518 error while trying to fetch data from SQL Server

    Hi everyone,
    I'm trying to establish connectivity from Oracle 10.2 server to a SQL Server 2005. These are the server details
    DOVER - This is where I installed Oracle Gateway for SQL Server. There's already an Oracle home in this server and I have used the existing listener for the incoming connections
    LUNDY - This is where my actual Oracle server resides
    HEBRIDES - This is where SQL Server 2005 instance resides, the database name is TRACKIT90
    I've set everything as explained in Oracle documentation http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/ch2.htm#i1005694 but in the end I'm getting an TNS-12518: TNS:listener could not hand off client connection when I run a test query and this is what it says in the listener.log of DOVER
    01-MAR-2010 15:33:19 * (CONNECT_DATA=(SERVICE_NAME=tg4msql)(HS=OK)(CID=(PROGRAM=w:\oracle\product\10.2.0\db_1\bin\ORACLE.EXE)(HOST=LUNDY)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.58)(PORT=3887)) * establish * tg4msql * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    My initialization parameter under \\ORACLE_HOME\tg4msql\admin of gateway installation in DOVER is as below:
    HS_FDS_CONNECT_INFO=hebrides.TRACKIT90
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    The listener.ora of the active listener in DOVER has the following lines, by the way this listener does not reside on the same ORACLE_HOME as the gateway's ORACLE_HOME but it is the current active listener in the server. The listener has also been stopped and started:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dover)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_DESC =
    (SID_NAME = tg4msql)
    (ORACLE_HOME = E:\oracle\product\10.2.0\tg_1)
    (PROGRAM = tg4msql)
    The following entry has been added to the tnsnames.ora in LUNDY server where my actual Oracle database resides.
    TRACKIT_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DOVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = tg4msql)
    (HS = OK)
    And finally a database link is created by using the below DDL statement:
    CREATE DATABASE LINK "DLINK" CONNECT TO "username" IDENTIFIED BY "password" USING 'TRACKIT_DATA';
    When I do a select statement on one of the tables of TRACKIT database by using the following query I got the TNS-12518 error with above details
    select * from announcement@dlink;
    I would appreciate any help and also please let me know if I missed out any details.
    Thanks.

    This is the output comes with the "lsnrctl service listener" command on DOVER server
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-MAR-2010 11:48:55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "STD81" has 1 instance(s).
    Instance "STD81", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:5 refused:0
    LOCAL SERVER
    Service "STD81" has 1 instance(s).
    Instance "std81", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4234 refused:0 state:ready
    LOCAL SERVER
    Service "STD81_XPT" has 1 instance(s).
    Instance "std81", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4234 refused:0 state:ready
    LOCAL SERVER
    Service "tg4msql" has 1 instance(s).
    Instance "tg4msql", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:22
    LOCAL SERVER
    The command completed successfully

  • ORA-12560-TNS PROTOCOL ERROR

    SIR,
    i hadbeen installed oracle aplication server.but i m not connecting to database.when i use the sql*plus.i use the user name-scott &password-tiger.i got an error ORA-12560=TNS PROTOCOL ERROR.
    I M NOT ABLE TO RECTIFY ITS PROBLEM,how can i create host string in oracle application server 10g.please send reply its very urgent.
    thanx ranjeet

    Although this question is completely off topic of the Personalization you can learn how to configure the SQL*Net connect from the manual by reading the topic "Configure the Client to Use a Net Service Name" found at the following link:
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/network.901/a90154/gettings.htm#483215

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

  • ORA-12154 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
    This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
    I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
    Do anybody have any idea what else could be wrong?

    I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
    I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
    Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
    I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
    It woudl seem that there is a conflict between 10g and 9i Developer/2000.

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Error: ORA-12560 TNS : Protocol Error help need urgently

    HI
    i m working on win 2k adv server
    i installed orcale 8i
    and then i started sql plus
    and entered us id and pass : scott / tiger
    and also tried :system / manager
    but i m having this error
    plz tellme how can i solve it
    Error: ORA-12560 TNS : Protocol Error
    plz do it soon
    Nurali
    03002199037

    You're attempting to go across SQL*Net. I'm a unix guy so I can't help very much except to point this out.
    On Unix I'd either undefine the TWO_TASK environmental variable. Probably a reg entry on 2k.
    Or configure Sql*Net.
    Ken

  • MARS - Oracle TNS listener errors

    Anyone familiar with this:
    [pnadmin]$ pndbusage
    Program aborted due to: ORA-12541: TNS:no listener
    MARS was fine before the holiday weekend. When I came back, I was looking at the summary page and the graph wasn't being drawn. I SSH'd to MARS and did the above.
    While SSH'd to MARS (and my HTTPS session still open) I did a reboot and I still get the same error. Also, now when I HTTPS to MARS I get a login page, but the url is: https://10.6.184.116/logout.jsp
    The username/password fields and login button are in the upper left corner of the browser window, not in the middle like normal.
    So, now I have two problems. The first being my TNS listener error and the second being that I can't log in. It wants me to log out first...ugh.
    Thanks,
    Bob

    This sounds like a known issue and if memory serves a developer will need to login and do something, so you'll need to open a TAC case.
    Here is the link:
    http://www.cisco.com/en/US/products/ps6241/products_field_notice09186a008070fcaf.shtml

  • Unable to connect to TOAD : ora:-12546 TNS Permission error

    Hi friends
    Kindly help me
    Am Unable to connect to TOAD : ora:-12546 TNS Permission error
    till 2 days before it was connecting.
    Dont know what happened now
    SQL*Plus and Forms 6i are getting connected.
    What can be the issue ?
    Regards
    Dora

    Hi
    ORA-12546: TNS: permission denied
    Cause: User has insufficient privileges to perform the requested operation.
    Action: Acquire necessary privileges and try again.
    Pls check the sites suggest by google
    http://dbmotive.com/oracle_error_codes.php?errcode=12546&type=ORA
    http://www.ironspeed.com/Designer/6.2.1/WebHelp/Part_V/ORA_12546_TNS_permission_denied.htm
    Thanks & Regards
    Srikkanth.M

  • Ora 12154 error help needed

    Hi,
    I am a newbie in oracle forms. I have installed oracle database 10gr2 on windows xp in c directory. In D drive i have installed oracle developer suite 10g. When i try to connect database from developer suite i receive ORA 12154 error.
    Do i need to change tnsnames.ora in developer suites 'D' directory or in database'C' directory.
    Please explain me in steps so that i can configure developer suite.
    Thank You

    Forms will use its own Tnsnames.ora file so create alias for it
    Run NetCA from
    START > PROGRAMS > ORACLE - Oracle HOME name > Configuration and Migration tools > Net Configuration Assistant
    and create Alias for Local naming
    also make sure the Listener and Database is up and running
    Baig,
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • If your getting the ora-12154 error...

    If you have followed the directions provided and swear you have done everything right... then try this.
    Check to make sure the tnsnames.ora and sqlnet.ora files are actually .ORA files. I recently started a new job and was tasked with getting instant client working with a VB app. Anyhow, I installed instant client and added the enviroment variables etc etc. I kept getting the 12154 error when testing a sqlplus connection and I couldn't understand why.
    Well since this was a new computer I was working on, I hadn't change the setting when viewing files so it was hiding the file type from me and all I could see was "tnsnames.ora" when the file was really "tnsnames.ora.txt". A day later I figured it out and felt pretty stupid!
    Windows Explorer | Tools | Folder Options | View | Uncheck "Hide extensions for known file types"
    Check those file types people...

    I think you had done a "terrific" job helping novices like me to check/fix the error with the hidden tnsnames.ora.txt extension. I think it is very useful information.
    Thank a lot.

  • TNS-12500 Error

    Guys,
    I get TNS-12500 error whenever I tried to connect to my Oracle Instance
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.6.0 - Production on Mon Feb 16 17:42:46 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn /@oradev as sysdba
    ERROR:
    ORA-12500: TNS:listener failed to start a dedicated server process
    i then tried to restart the listener services but I get the following message
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 16-FEB-2009 17:39:
    56
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amcad3)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Produc
    tion
    Start Date 16-FEB-2009 13:19:14
    Uptime 0 days 4 hr. 20 min. 42 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File C:\oracle\ora92\network\admin\listener.ora
    Listener Log File C:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<>)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<>)(PORT=2100))(Presen
    tation=FTP)(Session=RAW))
    Services Summary...
    Service "OraDev" has 1 instance(s).
    Instance "OraDev", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 16-FEB-2009 17:40:
    30
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<>)(PORT=1521)))
    Services Summary...
    Service "OraDev" has 1 instance(s).
    Instance "OraDev", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:5
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    I have checked listener logs and thsi is what I see
    16-FEB-2009 17:41:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=OraTEST)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=LP-AB)(USER=abell))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.67.112)(PORT=3304)) * establish * OraTEST * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    16-FEB-2009 17:41:54 * ping * 0
    16-FEB-2009 17:42:11 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=OraDev)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=LP-AB)(USER=abell))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.67.112)(PORT=3306)) * establish * OraDev * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    16-FEB-2009 17:42:53 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=OraDev)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=AMCAD3)(USER=scelamkoti))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.53)(PORT=20980)) * establish * OraDev * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    ------ Entries from sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    ------ listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = OraDev)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = OraDev)
    Any suggestions and inputs would help
    Thanks

    Hi..
    On the server where the database resides..
    go to START -->RUN --> services.msc --> Look at "OracleService" and "OracleStart". These two services are followed by your SID name.These services should be started.
    Check for OraclexxxxTNSListener -- it must be started.
    HTH
    Anand

Maybe you are looking for