1. If the listener answers that he can not find the instance
check if the listener is up and has registered the listener:
lsnrctl status
lsnrctl services
Static registration is the fix, if you do not see the instance
2. SCOTT/TIGER account is locked by default. To unlock:
SQL> alter user scot identified by tiger account unlock;
Now you will enjoy the Oracle world!
Main Topics
Browse All Topics





by: schwertnerPosted on 2009-05-19 at 12:19:37ID: 24425534
Installing Oracle 11g you have choosen a SID name for your instance.
ponentware .com)(PORT = 1521))
The connection string is an alias for 4 components without which the client can not understand where the server is:
Host (Computer) name
Port (1521)
Service Name (SID)
Protocol (TCP)
Now go the the file tnsname.ora (...\network\admin directory)
You will find some rows in front of which stays the alias (here it is QSYS):
QSYS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = developqsysdb.dev.intercom
)
(CONNECT_DATA =
(SERVICE_NAME = qsys)
)
So the connection will be:
SQL>connect sys/password@QSYS as sysdba
QSYS stands for the 4important entries that direct the client where to find the instance.
But there are 2 surprises that you have to overcome.