Home » RDBMS Server » Networking and Gateways » Oracle 10 g client networking issue
Oracle 10 g client networking issue [message #377821] Thu, 25 December 2008 13:41 Go to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
Hello all,

I am having a problem when I try to install Oracle 1g client on Windows.
My problem is that on step where I have to enter the hostname and the port I add my hostname localhost.localdomain, or localhost or IPaddr but when I test it it fails and I cannot understand why.

When I check the hostname form the Linux machine (VMware) through OEM it says localhost.localdomain port 1521.
Database is up and running and the listener too.

What can I do?

Thanks and Merry Christmas
Re: Oracle 10 g client networking issue [message #377822 is a reply to message #377821] Thu, 25 December 2008 13:59 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
Will it be a good idea to install the Client in in the VMware machine where I have the Linux and the Oracle 10g DB was installed?
Re: Oracle 10 g client networking issue [message #377823 is a reply to message #377821] Thu, 25 December 2008 14:05 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
Is it possible to have in a linux machine the Oracle installed and from my Windows machine to install the client and be able to connect to the DB?

If it is possible do I have to create the tnsname.ora because there is not such file in Windows (in Linux machine it exist of course)?


Thanks again
Re: Oracle 10 g client networking issue [message #377824 is a reply to message #377823] Thu, 25 December 2008 14:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Yes.
Yes.

Regards
Michel
Re: Oracle 10 g client networking issue [message #377826 is a reply to message #377821] Thu, 25 December 2008 15:23 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
The thing is that a tnsnames.ora file exist in the Linux machine under /home/oracle/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora

BUT in my windows machine there is no tnsnames.ora under \oracle\product\10.2.0\client_1\network\admin

How can I create it?
Re: Oracle 10 g client networking issue [message #377894 is a reply to message #377826] Fri, 26 December 2008 02:16 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Copy it.

Regards
Michel
Re: Oracle 10 g client networking issue [message #377900 is a reply to message #377821] Fri, 26 December 2008 02:59 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
Thanks but I am not allowed to create any file under \oracle\product\10.2.0\client_1\network\admin
That's why I am asking if there is any other way
Re: Oracle 10 g client networking issue [message #377907 is a reply to message #377900] Fri, 26 December 2008 03:53 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
If you posted the full description of your problem maybe you and I will lose less time.

Copy it in a directory you are allowed to and set TNS_ADMIN environment variable.

Regards
Michel
Re: Oracle 10 g client networking issue [message #377910 is a reply to message #377821] Fri, 26 December 2008 04:08 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
I try to install 10g client to acdess my DB which is installed in linux machine (VMware)

I have added some attachments if they can help you.

On step 1 attachment you can see that I add in the host name:localhost or localhost.localdomain
/forum/fa/5481/0/

On step 2 where I ask to test the connection to the DB it fails.
/forum/fa/5482/0/

This is my issue and also that, correct me if I am wrong, the tnsnames.ora was supposed to be created by itself but in my path there is no tnsnames.ora.

Also When I open the client and it asks me to create a new DB to connect and I add all the infrmation required (hostnmae, SID etc)I receive the following error:
Failed to parse tnsnmaes.ora file
Service Alias excepetion 11


Thanks for the help
  • Attachment: step2.jpg
    (Size: 26.39KB, Downloaded 2532 times)
Re: Oracle 10 g client networking issue [message #377912 is a reply to message #377821] Fri, 26 December 2008 04:12 Go to previous messageGo to next message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
sorry Step 1 message
/forum/fa/5484/0/
  • Attachment: Step1.jpg
    (Size: 15.45KB, Downloaded 2645 times)
Re: Oracle 10 g client networking issue [message #377918 is a reply to message #377821] Fri, 26 December 2008 05:09 Go to previous message
Mimas
Messages: 40
Registered: September 2008
Location: Athens
Member
I created by myself the tnsnames.ora file in Windows (I copy it from the linux machine) and I created the DB from EM Client (the same from tnsnames.ora)but when I enter connect it just do nothing and the EM exits by itself.
Previous Topic: Data Transfer from SQL Server to Oracle
Next Topic: listner error
Goto Forum:
  


Current Time: Sat Nov 23 22:33:41 CST 2024