Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SID given in connect descriptor could not be resolved.

Posted on 2004-10-01
8
Medium Priority
?
2,380 Views
Last Modified: 2008-02-20
When I try logging in using EM the service line has:
Service     sdw1.ccc.edu
In the tnsnames file
sdw1.ccc.edu =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = psdwd.ccc.edu)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = sdw1.ccc.edu )
    )
  )
     
In the listener.ora file

(SID_DESC =
  (GLOBAL_DBNAME = sdw1.ccc.edu)
  (ORACLE_HOME = /u01/app/oracle/product/9.2.0.1.0)
                                                     (SID_NAME = sdw1)
)

When I try going in through EM, I get the message SID given in connect descriptor could no be resolved.
What's the problem?
0
Comment
Question by:xoxomos
8 Comments
 
LVL 1

Expert Comment

by:flevyhara
ID: 12203623
Try:

sdw1.ccc.edu =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = psdwd.ccc.edu)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SID = sdw1)
    )
  )
     
0
 
LVL 12

Expert Comment

by:geotiger
ID: 12203632

Could you use sdw1.ccc.edu  service name on server  psdwd.ccc.edu?
0
 
LVL 10

Assisted Solution

by:SDutta
SDutta earned 500 total points
ID: 12203643
Check your SQLNET.ORA file, if the settings are like this
names.default_domain = world
name.default_zone = world

then you have to set in TNSNAMES.ORA file
sdw1.ccc.edu.world =
  (DESCRIPTION =
....

rest all remains same.

If you dont want to change the TNSNAMES, you can remove the two parameters above from SQLNET.ORA
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:xoxomos
ID: 12203673
Names. default_ domain is ccc.edu
0
 

Author Comment

by:xoxomos
ID: 12203686
No, it does not work even when I'm at the server using EM.  I can use sqlplus fiine.
0
 

Author Comment

by:xoxomos
ID: 12203700
Yes, I do have an entry
sdw1.ccc.edu =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = psdwd.ccc.edu)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SID = sdw1)
    )
  )
0
 
LVL 1

Accepted Solution

by:
flevyhara earned 500 total points
ID: 12203770
Your entry says:
      (SERVER = DEDICATED)
      (SERVICE_NAME = sdw1.ccc.edu )

Instead, My entry says:
      (SERVER = DEDICATED)
      (SID = sdw1)
0
 

Author Comment

by:xoxomos
ID: 12203781
I don't know if it is related, but i just tried the EM at the server.  There I get oracle.net.config serviceAliasException:10.   Seperate question.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

926 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