TNS error adaplter

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)
I try :
lsnrctl stat
sqlplus / as sysdba
startup
but still doesn't work

C:\Documents and Settings\Mariano>set|sort
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Mariano\Dane aplikacji
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MARIUSZ
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOME=C:\cygwin\mariusz
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Mariano
LOGONSERVER=\\MARIUSZ
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=F:\app\Mariano\product\11.2.0\dbhome_1\bin;C:\oraclexe\app\oracle\produc
0.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system
C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
TMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
USERDOMAIN=MARIUSZ
USERNAME=Mariano
USERPROFILE=C:\Documents and Settings\Mariano
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\WINDOWS
C:\Documents and Settings\Mariano>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wt Kwi 17 19:59:29 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:b│╣d adaptera protoko│u
Proszŕ podaŠ nazwŕ u┐ytkownika:
OK, I see that I haven't got ORACLE_HOME and ORACLE_SID. How create them?
Edited by: user8894354 on 2012-04-17 11:00

Similar Messages

  • External datasource problem(tns error)

    hi,
    i got and error while working with external datasource in BAM architect, how to fix it? Moreover i got tns error when i use tnsping utility for my XE db from command prompt
    ======================================
    C:\Documents and Settings\rehanfa>tnsping xe
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2
    008 15:26:18
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\OracleBAM\ClientForBAM\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    ======================================
    and BAM archtect error while viewing contents of data model based on this external datasource
    ========================================
    ADC Server exception in OpenViewset().
    Details <<
    ADC Server exception in OpenViewset().
    Source: "ActiveDataCache" ID: "ADCServerException"
    ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    Source: ""
    Internal debugging information >>
    Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in OpenViewset(). ---> System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
    ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    at System.Data.Odbc.OdbcConnection.Open()
    at Oracle.BAM.ActiveDataCache.ExternalDataSources.ODBC.Open(String strXml)
    at Oracle.BAM.ActiveDataCache.Kernel.Datasets.ExternalStorageEngine.GetDataReader(DSEQuery oDseQuery)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.DataImporter.ExecuteQuery()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalData(String strDatasetID, String strTempName, FilterExpression filter)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalFactData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.GetExternalData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.LoadData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Open()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.InitViewset(Modifier oModifier, ViewsetOptions oViewsetOptions, Boolean bSynchronized, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Viewset.Open(Context ctxAdcContext, Modifier oModifier, ViewsetOptions options)
    at Oracle.BAM.Architect.DataObjectsContents.InternalContentsByRowID(String strEventParam, Boolean bEdit, Int64 lHighlightRowID, Boolean bAddBegin)
    ==========================================================

    Dear, I am facing that problem and I need some help. please tell me how the issue was resolved

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

  • OBIEE 11g : Report throwing TNS Error

    Hi,
    We have installed OBIEE 11g in Linux server. After replacing the Out-of-the-box RPD.
    The reports are throwing following TNS Error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)SQL Issued: SELECT 0 s_0, "Assets"."Product"."Product" s_1 FROM "Assets" FETCH FIRST 65001 ROWS ONLY
    What configurations we need to re-check?
    Regards
    Sudipta

    HI,
    Please cross check you rpd connection pool details in physical layer like below.
    Data source name
    Username and password
    Or,
    Login Weblogic Console with admin username/pwd.
    Goto Services -> JDBC -> Data Sources.
    Select Lock & Edit button
    Select Data Source "bip_datasource" link in the available Data Sources list
    Select Connection Pool tab
    .... Change the URL|Driver|Properties|Password
    Select Save button.
    OR,
    you have to go to WEblogic Enterprise Manager (http://<server>:7001/em/. Then go to Business Intelligence folder -> coreapplication. Go to "Deployment" tab and then to "Scheduler" tab. Change the database field to point to the new DB and apply changes.
    Or,
    Please check Database services running or not including TNS listner service also.
    Hope this helps.
    Thanks
    Satya

  • Tns error

    Hi
    I am getting tns error below .we noticed that queries are disconnecting in between execution with ora-3113 error.I am getting error in sqlnet.log in server side
    VERSION INFORMATION:
         TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
    Time: 16-MAR-2008 20:32:42
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 78
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=XXXXX)(PORT=XXXX))
    AND CLIENT SIDE
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=XXXX)(CID=(PROGRAM=C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE)(HOST=XXXXXX)(USER=XXXX))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 17-MAR-2008 08:49:00
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 126
    nt OS err code
    Anybody who have been sorted out these errors please let me know.
    thanks

    Protocol adapter error is either a missconfigured environment or a network related error. In your case, since you are working with a windows platform and there are other errors related to time out, I suggest you to verify the windows firewall, it could be preventing database from being reached by the oracle client.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • ORA-12560 TNS error in protocol adapter. Why ?

    I installed on computer1 an Oracle Express 10g server and he runs fine.
    Then, on another computer2 in the inhouse-net I installed the Oracle Client.
    When I try to contact now from computer2 the Oracle server on computer1
    with e.g.
    sqlplus.exe myname/mypasswd
    I am getting an error ORA-12560: TNS: Error in protofol adapter.
    What does that mean?When I enter the same locally on the server machine everything is fine.
    Firewalls between the computers are disabled.
    Which Oracle services must run on the client (not the server !) machine ?

    Ok, my Oracle Client is installed in C:\XEClient
    Below I show you the (recursive) output of the 'tree.exe' command (under WinXP)
    of the folder tree of C:\XEClient. Where is the directory "network/admin" ??????
    C:\XEClient>tree
    Folder PATH listing for volume WinXP
    Volume serial number is xxxxxxxx
    C:.
    ├───bin
    ├───doc
    ├───jdbc
    │ └───lib
    ├───jlib
    ├───lib
    ├───oci
    │ ├───include
    │ ├───lib
    │ │ └───msvc
    │ │ └───vc71
    │ └───samples
    ├───odbc
    │ ├───help
    │ └───html
    ├───odp.net
    │ ├───doc
    │ ├───help
    │ │ └───ja
    │ ├───PublisherPolicy
    │ ├───Resources
    │ │ ├───de
    │ │ ├───es
    │ │ ├───fr
    │ │ ├───it
    │ │ ├───ja
    │ │ ├───ko
    │ │ ├───pt-BR
    │ │ ├───zh-CHS
    │ │ └───zh-CHT
    │ └───samples
    │ ├───ArrayBind
    │ ├───AssocArray
    │ ├───DataSet
    │ │ ├───DMLOperOnDS
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSDRwithLOB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulate
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulateVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSwithRefCur
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───RelationalData
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───RelationalDataVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───SafeTypeMapping
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───EventHandler
    │ │ └───RowUpdateEventHandler
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ ├───Globalization
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───LOB
    │ │ ├───AccessBFile
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ └───src
    │ │ └───UpdLob
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───RefCursor
    │ │ └───UpdRefCursor
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ ├───StatementCache
    │ ├───TAF
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───Transaction
    │ │ ├───DistributedTransaction
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───Savepoint
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ ├───WebService
    │ │ └───OdpNetWs
    │ │ ├───doc
    │ │ │ └───images
    │ │ └───src
    │ │ ├───client
    │ │ └───webservice
    │ └───XML
    │ ├───XMLView
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ └───XMLViewVB
    │ ├───doc
    │ │ └───images
    │ ├───setup
    │ └───src
    ├───oledb
    │ ├───include
    │ ├───lib
    │ └───samples
    │ ├───DataSet
    │ │ ├───DMLOperOnDS
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulate
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSPopulateVB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ ├───DSwithLOB
    │ │ │ ├───doc
    │ │ │ │ └───images
    │ │ │ ├───setup
    │ │ │ └───src
    │ │ └───DSwithRefCur
    │ │ ├───doc
    │ │ │ └───images
    │ │ ├───setup
    │ │ └───src
    │ └───RefCur
    ├───oramts
    │ ├───admin
    │ ├───public
    │ └───trace
    ├───precomp
    │ ├───admin
    │ └───lib
    └───sqlplus
    C:\XEClient>

  • Receive TNS error when trying to upgrade DB

    I receive a TNS error when I try to upgrade a database using the Database Upgrade Assistant. I want to upgrade to 9.2 from 8.1.7. When I click on the database I want to upgrade I receive the TNS error. It never prompts for a username/password@cstring.
    I am trying to run this through Windows Terminal Service, is this the problem? I know there are issues trying to run server manager through WTS.
    Thanks,
    Jim

    I'm new to this, but between Oracle 9.0 and 9.2 the required format appears to have changed for the "TNS Service Name" parameter for a "System DSN" in the Windows "ODBC Data Source Administrator". In 9.0 the "TNS Service Name" can be in either of two formats: global_database_name OR oracle_home$global_database_name. One can verify this by clicking the "Test Connection" button on the the "Oracle ODBC Driver Configuration" screen from the "ODBC Data Source Administrator" window. On a 9.2 system only the first format works. I tested this on freshly-installed systems, each with just one Oracle home and the default sample database.
    Perhaps this is related to the problem you are encountering. I was able to fix a problem connecting to 9.2 by changing the "TNS Service Name" parameter. The error I was receiving was: "[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name".
    Can anyone point me to some documentation on this apparent change between 9.0 and 9.2? Thanks in advance.

  • Installation Oracle 8i TNS error

    I am trying to install Oracle 8.1.7. on windows 2000 OS. I have installed Oracle before but never had the problems I am having now.
    I am installing it through a Remote Desktop Connection. I used the typical installation option. At 100% of the installation, it hangs on the net8 optional installation. When I am trying to create the database with the database configuration assistent I get an TNS error while initializing the global database. ORA-12560 TNS protocol adapter error.
    What could be the problem here?
    Marco

    I've never tried installing Oracle 8 on Windows XP machine, so I don't know. And Oracle does not provide download link for software they don't support (like Oracle 8.1.7), </br></br>
    So your options are upgrade your existing database or try searching 8.1.7 version. I presume you don't have 8.1.7 version, either way you need to upgrade your database anyway.</br></br>
    Give Oracle Express Edition(it's free) a try, using it you can fully utilize advance ODP.NET feature like Database Change Notification. If you choose to download Oracle Enterprise Edition, Oracle won't charge you if you use it only for development purpose.</br></br>
    Cheers,</br>
    NH</br>

  • Discoverer desktop installation on Windows 7 64 OS XP Mode TNS error

    I have installed discoverer administrator and desktop in XP Mode on a Windows 7 64 OS. I downloaded the install from Oracle Discoverer 11g Fusion Middleware. I am using XP mode because I believe there is no download for the 64 bit OS in the Windows environment. I have had no trouble with the installation. The trouble comes when trying to connect to a database. I get a TNS error.
    I have edited the environmental variable to include tns names. I am able to connect to a database on the network via sql developer but not with discoverer.
    One needs to run the xp application within the Windows 7 environment. I have included the environmental variable in both environments (xp virtual and Windows 7) and am 0% successful with discoverer and 100% successful with sql in seeing the database.
    Any technical advice?

    I am indebted to Praveen Deshpande for this :
    You need to create a Windows environment variable TNS_ADMIN that points to the directory where the correct Tnsnames.ora file is held.
    On my system, I went to 'Computer - System Properties - Advanced - Environment Variables", created an environment variable TNS_ADMIN and set its value to C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
    Check where your server or other tnsnames file is stored and set the corresponding value.
    Then it all worked perfectly.

  • ORA_-12560: TNS :ERROR  by Protokoladapter

    Hi,
    I've tried to Connect PHP and Oracle,but I'd get this error
    ERROR: Nr12560
    ORA-12560: TNS: Error by Protocolladapter
    my Script in PHP is als fallow and this is only for the connection to Oracle.
    <?php
    // Datenbank verbindug zu Oracle wifi
    //$wifi ="";
    $co = @ocilogon("hr8","hr8");
    $sql = 'select * from jobs';
    //Fehler ausgeben
    if(!$co)
    $fehler =ocierror();
    echo('<p>Fehler Nr');
    echo($fehler ['code']);
    echo('<br>');
    echo($fehler ['message']);
    die();
    else
    //die datenbank ansprechen
    echo('Verbunden mit'.ociserverversion($co).'<br>');
    //$result= prüfen($co,$sql);
    // die Verbindung schliessen
    ocilogoff($co);
    ?>
    I use Windows XP Prof. ,and I have my DataBase running when I 'd try to do the connection to Oracle .
    Please I need a fast answer.
      Regards
       CARLOS
     

    Hi ;
    is there anyone who can  help me this ERROR to resolve.
    First of all,  I use Windows XP system  and I tried to connect  PHP  to Oracle 10g DataBase.But I'd get the ERROR ABOVE.
    I've installed PHP 5 Editor 5.0.3  und  XAMPP  for the connection to Oracle Database . The Database is running When I 'd try the connection between  both of them. The  PHP script looks like this;:
    <?php
    // Datenbank verbindug zu Oracle wifi
    $co = @ocilogon('hr8','hr8') ; // this is a String with 'username' and 'PSW'
    $sql = 'select * from jobs';
    //Fehler ausgeben
    if(!$co)
    $fehler =ocierror();
    echo('<p>Fehler Nr');
    echo($fehler ['code']);
    echo('<br>');
    echo($fehler ['message']);
    die();
    else
    //die datenbank ansprechen
    echo('Verbunden mit'.ociserverversion($co).'<br>');
    // $result= prüfen($co,$sql);
    // die Verbindung schliessen
    ocilogoff($co);
    ?>
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    I' need an answer as soon as possible.
    Thanks.
      Greetings
         CARLOS

  • Import / Export TNS error

    Hello, I am getting this pesting TNS error when running IMP and EXP from the server. I can successfully run sqplus on the server and across the net.
    IMP 00058 - Oracle error 12560
    ORA 12560 - TNS: Protocol Adapter Error
    What gives?
    Scott

    Hi Ken, thanks for the reply. These look like Unix vars. Are they? I am running it under NT in a DOS shell. Do these exist elsewhere?
    Incidently, I am in the process of installing OMS and getting a simliar error when creating the Repository.
    ORA 12571 TNS Packet Writer Error.
    Thanks again.

  • TNS ERROR PLease help me

    Hi Everybody !! I hav changed my Network interface Card as the previous NIC is not working, since then i get TNS Error. I have changed IP address of the New NIC and disabled the OLD NIC, but still i get the TNS Error. Please help me find a solution.

    HI,
    Welcome to our Forum...!!1
    post the error and tns entry...
    redards,
    deepak

  • Tns error in alert.log

    Often I get this error in alert.log file
    Fatal NI connect error 12504, connecting to:
    (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=my_server)(USER=NETWORK?SERVICE)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.10)(PORT=1521)))
      VERSION INFORMATION:
            TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
            TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
            Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
      Time: 18-JAN-2011 10:54:04
      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: 0it's Oracle 11.2.0.2
    what's causing this error?

    status of listener:
    STATUS of the LISTENER
    Alias                     LISTENER01
    Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    Start Date                17-JAN-2011 22:58:21
    Uptime                    0 days 12 hr. 57 min. 14 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      ON
    Listener Parameter File   /h01/oracle/product/db11.2/network/admin/listener.ora
    Listener Log File         /h01/oracle/diag/tnslsnr/myserver/listener01/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver)(PORT=1561)))
    Services Summary...
    Service "myDB.company.com" has 1 instance(s).
      Instance "myDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully

  • TNS Error after Linux Patch

    I manage a small instructional Database (Oracle 9i) running on Linux Advanced Server. Everthing had been okay since installation last summer, until a week ago that our Linux Admin applied some patches. Now TNS listener (port 1521) and Oracle Apache (Port 7777) cannot be reached from outside the system. The strange thing is that both services are reported to be running OK, and on the server itself both of them work ok. However, trying from another machine (on the same network) there is neither a TNS listener found, nor an apache service for web (iSqlPlus).
    Has anyone seen anything close to this before? Where would you suggest we look?
    Thank you

    What kind of TNS error you've got? - That's important!
    Check that is not local firewall running.
    Try stop that firewall using:
    "/etc/init.d/iptables stop" - in case of iptables
    or
    "/etc/init.d/ipchains stop" - in case of ipchains
    If it will solve your problem then disable starting of service for future. For example: use the "setup" command.

  • TNS ERROR PROBLEM

    I am facing the following problems in oracle 8i database.
    1. I have installed the oracle 8i database on windows2000.
    oracle 8i databaseis working right after that I have installed the form 6i on same stand along PC.
    When I make new form or open old form it give error that
    "ORA-12203 TNS: unable to connect to destination"
    2. oracle 8i sqlplus is working and also retrieving data, but form 6i sqlplus is not
    working it give error " TNS-03505 failed to resolve name"
    3. TNSPING <dbsid> does not work (in oracle 8i sqlplus and form 6i sqlplus)
    4. oracle 8i and form 6i related services have started.
    5. oracle 8i and form 6i have installed separate directories.
    6. Lentener is start.
    Please guide me what is the problems ? what is the possible
    causes of TNS error ?
    How I should installed the oracle 8i database and form 6i on
    the same stand along
    PC on windows2000.
    Your early response will be highly appreciated.
    Mateen
    Oracle user

    hi,
    thanks your for your reply. please inform me what I have to
    configure the tnsname.ora files ? what entry I have to pass
    in form6i tnsname.ora file.
    form6i tnsname.ora and oracle 8i tnsname.ora files are folliwing.
    # " form6i tnsname.ora "
    Beq-local.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = beq.world)
    (PROTOCOL = BEQ)
    (PROGRAM = oracle73)
    (ARGV0 = oracle73ORCL)
    (ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=
    (PROTOCOL=beq)))')
    (CONNECT_DATA = (SID = ORCL)
    Tcp-loopback.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 127.0.0.1)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORCL)
    Example1.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = Production1)
    (Port = 1521)
    (CONNECT_DATA = (SID = SID1)
    Example2.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = spx.world)
    (PROTOCOL = SPX)
    (Service = Server_lsnr)
    (CONNECT_DATA = (SID = ORCL)
    Example3.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = nmp.world)
    (PROTOCOL = NMP)
    (Server = FinanceServer1)
    (Pipe = ORAPIPE)
    (CONNECT_DATA = (SID = ORCL)
    # oracle 8i tnsname.ora
    # TNSNAMES.ORA Network Configuration File:
    C:\oracle\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    DEXXA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dexxa)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)

Maybe you are looking for

  • Regarding the availability of a drop down(like we have on browser 'File')

    Hi, I have a requirement wherein I have to provide a functionality similar to what we have in web browsers or for that matter in any application. For Eg. on the web browser we have menu bar which has options like 'File', 'Edit', 'View'..etc. When we

  • 3D environment in pure java programming

    hi all, my problem is dat... import java.awt.*; import java.applet.*; import java.awt.event.*; </applet code="project1" width=1024 height=768> </applet> public class project1 extends Frame implements ActionListener , MouseListener {      deathscreen

  • Foreign Current Revalution posting document not found

    Hi SAP Expert, I have post an foreign currency valuation in IDES system and found that the document is posting to Posting Not in Leading Ledger (Document Status) and Ledger Group (L5). When i view document in FB03 the document can be display. But whe

  • Count Query Performance

    How can we improve the perfromace of a count query? Suppose I have a table A that holds more than 50 million rows. Now if i want to count the no of rows which is the best one 1) Select count(*) from A. Definitely not as it is doing a full table scan

  • I have a large amount of files to be compressed...

    avi format that I'm changing to DV NTSC so that I can edit them in FCP. They all have the same output settings and same destination. Is there a way to apply the same settings to several files at once instead of having to drag them to each individual