Solved

error ora-12560 TNS protocol error

Posted on 2011-03-17
3
747 Views
Last Modified: 2012-05-11
hi guys, i installed oracle 11gr2 on wondow 7, but am not able to login getting error error ora-12560 TNS protocol error
0
Comment
Question by:nirvairghuman
3 Comments
 
LVL 2

Assisted Solution

by:choukssa
choukssa earned 62 total points
ID: 35156252

Some things to consider--

1. Do you have the proper client ?
2. Is listener running?
3. Is ORACLE_SID set properly?

--choukssa
0
 

Author Comment

by:nirvairghuman
ID: 35158263
Yeah, i have set ORACLE_SID and my listener is running, but i installed on my local pc.
0
 
LVL 5

Accepted Solution

by:
anand_20703 earned 63 total points
ID: 35189095
open command prompt
tnsping ORACLE_SID ( replace the correct oracle_sid name here)
result ? ( will give u clue what is the cause ?)
.
another check
set ORACLE_SID=name of oracle_sid
sqlplus /nolog
conn / as sysdba

result ? ( if successful, then the problem is with your listner and it's setup,availability....)
(if not successful, problem is with your database avialability, setup...)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question