Question : ORACLE 11g Connection  problems

Am not able to connect to oracle 11 g,
error message is "oracle initialization or shutdown in progress"
when i try to do "tnsping -a"
am getting the following.  Anything I need to change? please help me in connecting.

TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 21-AUG-2
010 16:35:50

Copyright (c) 1997, 2008, Oracle.  All rights reserved.

Used parameter files:
C:\app\narmadha\product\11.1.0\db_3\network\admin\sqlnet.ora

TNS-03505: Failed to resolve name

Answer : ORACLE 11g Connection  problems

You are speaking about different things.

1.

TNS-03505: Failed to resolve name

means that one or more of the components are not correct: host name, port name, instance_name, protocol or there is a firewall between the server and host (happens often in Windows environment).

2.

oracle initialization or shutdown in progress

is different thing. It is caused by miscommunication between the client and server.

First check if the server is running and the instance is registered by the listener of the server machine:

# lsnrctl status
# lsnrctl services

The database is running if you can connect to it (e.g. SQL*Plus, SQLDeveloper, TOAD)

The v$instnace and v$database views will show you the current state of the instance and when it is started..

In some cases this statement is also triggered by unregistered by the listener DB. I have published many times how to register the instance by the listener, so you are welcome to find and use these postings.
Random Solutions  
 
programming4us programming4us