Solved

tns protocol error

Posted on 2010-11-26
4
527 Views
Last Modified: 2012-05-10
I have two different databases
orcl123 and company
I cannot connect company database
it shows error
This is the what is happening when I connect two diffent database.
set oracle_sid=orcl123
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.

Total System Global Area  535662592 bytes                                      
Fixed Size                  1334380 bytes                                      
Variable Size             255853460 bytes                                      
Database Buffers          272629760 bytes                                      
Redo Buffers                5844992 bytes                                      
Database mounted.
SQL> alter database open;

Database altered.

SQL> select name from v$database;

NAME                                                                            
---------                                                                      
ORCL123                                                                        

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> spool off

set oracle_sid=company
sqlplus /nolog
SQL> conn / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error

Could you please help me why company database could not connect.
My oracle version is oracle 11g.
Thanks in advance

0
Comment
Question by:nobleit
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
The windows service for the database isn't running.
0
 

Author Comment

by:nobleit
Comment Utility
how to services in windows xp. could you help..?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
From control panel. I think under administrative tools.

I'm on mobile right now so I can't look it up for you.

If you still can't find it, Google should provide links on how to startup windows services.

The one you are looking for stars with Oracle and has the Sid, company, in it.
0
 

Author Comment

by:nobleit
Comment Utility
everthing is working fine. I tried with services.msc
Thanks
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.

Join & Write a Comment

Suggested Solutions

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…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now