Check the following links first. Follow them on the server machine where you run oracle instance, you will get your oracle instance started.
ORA-12560: TNS:protocol adaptor error
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:431775600346873836
If there still exists any TNS related error, maybe you need to check the tnsnames.ora and listener.ora files under $ORACLE_HOME/network/admin.
When you connect to oracle, the client(e.g. sqlplus) will try to find the oracle instance run on the server machine. It will report a TNS related error when it cannot find the server.
To solve the problem, you need to config the tnsname.ora file under your installation directory(by default it's $ORACLE_HOME/network /admin) first.
The basic format of the tnsnames.ora file is:
net_service_name=
(description=
(address=(protocol_address_information))
(connect_data=
(service_name=service_name)))
A sample tnsnames.ora entry might look like the following:
ORA_INSTANCE=
(description=
(address_list=
(address = (protocol = TCP)(host = yourmachine)(port = 1521))
)
(connect_data =
(service_name=ora_sid)
)
)
After this configuration, you can try:
sqlplus /@ORA_INSTANCE as sysdba;
Then the oracle client you installed will find the ORA_INSTANCE based on your configuration in the tnsnames.ora file. If the oracle server is listening, your connection will be established. BTW, you may need to look at the listener.ora on server machine if there is any error remaining.
I attached the following parameters that are commonly used in tnsnames.ora:
description: This tnsnames.ora parameter acts as a container for a connect descriptor. It can be embedded under the description_list parameter in the tnsnames.ora file.
description_list: This tnsnames.ora parameter defines a list of connect descriptors for a particular net service name .
address: This tnsnames.ora parameter defines a single listener protocol address. It can be embedded under the address_list or description parameters in the tnsnames.ora file.
address_list: This tnsnames.ora parameter defines multiple listener protocol addresses. It is not necessary if only one listener protocol address is used. It can be embedded under the description or description_list parameters in the tnsnames.ora file.