Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> Unable to connect with connection string

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Unable to connect with connection string
 arun  Posted: Dec 19, 2007 01:50:54 AM

 Total Post: 28
 Joined: Sep, 2007






 Oracle 9i on Redhat Linux 9
This is my problem

I am unable to connect to the instance
by username/password@connection_string

But It works with username/password


 Ratnaker
Posted: Dec 19, 2007 07:58:07 AM  

 Total Post: 136
 Joined: Apr, 2007






 
Hi

You need to configure Oracle Net service then it will work.



 arun
Posted: Dec 19, 2007 12:09:55 PM  

 Total Post: 28
 Joined: Sep, 2007






 
Already configured

 arun
Posted: Dec 19, 2007 12:11:59 PM  

 Total Post: 28
 Joined: Sep, 2007






 
TNSNAMES.ORA :
ARUN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = arun)
)
)

SQLNET.ORA :

NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)



 Soumya
Posted: Dec 20, 2007 03:18:43 AM  

 Total Post: 56
 Joined: Mar, 2006






 

Hi,

You can do following :

1) put HOST value as the ip addres or the hostname .

2) check in the database the value of " show parameter service "
and put that value.

3) or use the SID parameter with its value.


Hope this helps...


 arun
Posted: Dec 21, 2007 03:49:28 AM  

 Total Post: 28
 Joined: Sep, 2007






 
Thank for ur reply.

Actually problem is with TNSNAMES.ORA

The file was moved from WINDOWS SYSTEM TO LINUX Server.
I created a new TNSNAMES.ORA file at linux server.

Now the problem was solved.




 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi239
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software