Linux
--
Questions
--
Followers
Top Experts
I am trying to connect a new PC to an oracle database i get error TNS-12560: TNS:protocol adapter error. I am able to Tnsping the oracle database though. I get this error when I try to open Turfview
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If possible, share your tnsnames.ora file for further analysis.
check whether you have the following setting in tnsnames.ora file:
service Name=
(Description=
(address_list=
(address=(protocol = tcp)(Host=<server ip address>)(port = 1521))
)
(Connect_data=
(Server=dedicated)
(Service_name = <your actual sid name>
Durai
Kig på MetaLink Note:117976.1 offers tips for diagnosing the TNS-12560 error:
check here for more info:
http://www.dba-oracle.com/t_ora_12560_tns_protocol_adapter_error.htm






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Please find below the SQL.ORA and TNSNAME.ORA
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\ad
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERV
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\NETWORK\AD
# Generated by Oracle configuration tools.
TURFVIEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = lsb.co.bw)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = turfview)
)
)

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
lib=C:\Program Files\Microsoft.NET\Oracle
LOGONSERVER=\\LSB-ACC
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\oracle\ora92\bin;C
32;C:\WINDOWS;C:\WINDOWS\S
PATHEXT=.COM;.EXE;.BAT;.CM
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0605
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\
TMP=C:\DOCUME~1\ADMINI~1\L
USERDOMAIN=LSB-ACC
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
WF_RESOURCES=C:\oracle\ora
in your case it should be enough to set the variable LOCAL to the service name TURFVIEW -
set LOCAL=TURFVIEW
If this works then consider making this setting permanent by specifying it as a system variable.
wmp






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
set none in SQLNET.AUTHENTICATION_SERV
and open your path (select properties under my computer and advanced then select envirment variables
and double click path )and add path to your tnsnnames.ora
Use
My Computer -> Properties -> Advanced -> Environment Variables -> System Variables -> New/Edit/Delete (to set the variables)

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Linux
--
Questions
--
Followers
Top Experts
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.