Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help!! Ora- 12505
Rob Fisher wrote:
> I'm new to Oracle 7.3 and need to create a new database/instance which I
> have successfully done.
>
> I have created a connection using SQL Net Easy Config, using the new SID as
> the database instance.
>
> My new services are up and running, but when I try to connect I get a ORA
> 12505 error : TNS: Listener could not resolve SID given in connect
> descriptor.
>
> What am I doing wrong? Can anyone help?
>
> Thanks
>
> Rob Fisher
> QA Engineer
> Computer Associates
> Robert.Fisher_at_cai.com
Rob,
I had a similar problem, and this is how I fixed it :-
Check the format of the listener.ora :-
LISTENER=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=<hostname>)(PORT=1521)) (ADDRESS=(PROTOCOL=IPC)(KEY=<servicename>)) (ADDRESS=(PROTOCOL=IPC)(KEY=<servicename>)))
CONNECT_TIMEOUT_LISTENER = 10
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=(SID_NAME=<sidname>)(ORACLE_HOME=<oracle_home_dir))
(SID_DESC=(SID_NAME=<sidname>)(ORACLE_HOME=<oracle_home_dir))
)
This is the portion that fixed my problem :-
(SID_DESC=(SID_NAME=<sidname>)(ORACLE_HOME=<oracle_home_dir)) (SID_DESC=(SID_NAME=<sidname>)(ORACLE_HOME=<oracle_home_dir))
Thanks
Sai
Received on Fri Mar 26 1999 - 10:35:13 CST