473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Question on debugging TNS-12560

Hello all,

I have oracle 9i installed on win2k. It works without problem
most of the time, but once in a while I get TNS-12560:protocol
adapter error --> during login <--.

I know re-installation is probably one solution which I did
earlier but seeing the mess it involves, I am not very inclined
to do so.

Following the suggestions of an earlier post in this newsgroup,
I tried the following things in a DOS window:

1. Ping my machine: Worked
2. tnsping my ORACLE_SID (which is ORACL): Gave OK.
3. set ORACLE_SID=ORACL
4. sqlplus system/manger: This still gave a 12560 error.

I am a novice in this. Can somebody please let me know
how to debug this problem? I am attaching my listener.ora
and tnsnames.ora from the D:\oracle\ora92\network\admin
directory if that helps.

Regards,
- Swapnajit.

listener.ora ++++++++++++++++++++++++++++++++++++++++++++
# LISTENER.ORA Network Configuration File:
D:\oracle\ora92\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 = PC-MITTRA)(PORT = 1521))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = oracl.localhost)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = oracl)
)
)

tnsnames.ora ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++
# TNSNAMES.ORA Network Configuration File:
D:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORACL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PC-MITTRA)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracl.localhost)
)
)

INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PC-MITTRA)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
Jul 19 '05 #1
1 8788
Swapnajit Mittra wrote:
Hello all,

I have oracle 9i installed on win2k. It works without problem
most of the time, but once in a while I get TNS-12560:protocol
adapter error --> during login <--.

I know re-installation is probably one solution which I did
earlier but seeing the mess it involves, I am not very inclined
to do so.

Following the suggestions of an earlier post in this newsgroup,
I tried the following things in a DOS window:

1. Ping my machine: Worked
2. tnsping my ORACLE_SID (which is ORACL): Gave OK.
3. set ORACLE_SID=ORACL
4. sqlplus system/manger: This still gave a 12560 error.

I am a novice in this. Can somebody please let me know
how to debug this problem? I am attaching my listener.ora
and tnsnames.ora from the D:\oracle\ora92\network\admin
directory if that helps.

Regards,
- Swapnajit.

unset TWO_TASK environmental variable

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Subrahmanyam Arya | last post by:
Dear oracle gurus, I am unable to get past the error ORA-12154: TNS: could not resolve service name on my host when using hsodbc to talk to a remote mysql database. i got from the meta link all...
6
by: John | last post by:
Hi Right password -> ORA-12154: TNS:Could not resolve service name wrong password => ORA-01017: invalid username/password; logon denied Tested on a Windows XP client connecting to Oracle on...
0
by: dance | last post by:
My Apologies for my ineptitude on posting, this is all new to me...........but I'll get it.... I'm using Windows 2000 Version 5.0 with Service pack 4 I installed the free version of Oracle...
4
by: Axel Dachtler | last post by:
Hello, I am little bit confuseed about the meaning of TNS (Transparent Network Substrate). I know what it does: It enables Applications to communicate with different network protocols. But I...
2
by: hazz | last post by:
if I can ask that in this newsgroup? <input message="tns:addRestaurantIn"/> what is the tns used for here in this wsdl? Thank you thank you.. -hazz
0
by: robert | last post by:
Hi all, I'm having a hard time resolving a namespace issue in my wsdl. Here's an element that explains my question, with the full wsdl below: <definitions name="MaragatoService"...
8
by: CJM | last post by:
I have a working web application (ASP) which links to an Oracle 10g DB via OO4O. I'm trying to port it to either of two test servers, but in fact, I can't get it to work with either - 'Unable to...
2
by: smanicom | last post by:
Hi all I need help urgently as I am in the middle of a migration and can't resolve a TNS error. My db has been fine for months! Today I connected as sysdba and shut down the db. Now I am trying...
0
by: sudheer.kilari | last post by:
<xsd:complexType name="BaseMoney"> <xsd:sequence> <xsd:element name="amount" type="xsd:decimal" minOccurs="0"/> <xsd:element name="currencyCode" type="tns:CurrencyTypeCode" minOccurs="0"/>...
6
by: Tlou5831 | last post by:
Hello All, I pretty new to access and kinda stumbling my way through making a database I made a SQL query to assign a numerical values to each role. For example: TNS role - WOPS = 28 App...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.