This discussion is archived
1 Reply Latest reply: Apr 17, 2012 6:23 AM by JorgeB-Oracle RSS

TNS error adapter

923096 Newbie
Currently Being Moderated
Hi,

I installeed 11.2g and when I try login I have got error TNS error adapter. My file
tnsname
# tnsnames.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

listener
# listener.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = F:\app\Mariano\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\Mariano\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)

ADR_BASE_LISTENER = F:\app\Mariano

sqlnet

# sqlnet.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_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)
  • 1. Re: TNS error adapter
    JorgeB-Oracle Journeyer
    Currently Being Moderated
    Hi,

    This Forum is for Semantic Technologies, you may want to post your question to the forum

    Forum Home » Database » Database - General

    You can verify this:

    1. Make sure the listener is up and running

    lsnrctl stat

    2. Make sure the database is up and running

    sqlplus / as sysdba
    startup


    If that does not answer please post your question in Forum Home » Database » Database - General

    Regards!
    Jorge

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points