Connecting two oracle database in different server [message #560477] |
Fri, 13 July 2012 08:59 |
|
sivac47
Messages: 25 Registered: July 2012 Location: CHENNAI
|
Junior Member |
|
|
Hi friends,
I need solution for connecting two oracle database in two different server.I installed Oracle 10g XE in both system.Both system act as Server.I need to connect both server using database link concept.
Please provide information for how to use the tnsnames,ora and listener.ora file for connecting both system.
Thanks in advance for your reply?
[Edit MC: remove empty poll]
[Updated on: Mon, 16 July 2012 10:29] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Connecting two oracle database in different server [message #560491 is a reply to message #560490] |
Fri, 13 July 2012 11:11 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I see the error. Go back your second post.
In the listener.ora file for your Server 1, you specify a listening address of,
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.50.20.36)(PORT = 1521))
but you then say,
server 2 ip address is ->10.50.20.36
A listener can listen only on an address of the machine on which it is running. How could it listen anywhere else? That is why it fails to start. So replace that address with the address of Server 1, and all will be cool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Connecting two oracle database in different server [message #560733 is a reply to message #560731] |
Mon, 16 July 2012 10:06 |
|
sivac47
Messages: 25 Registered: July 2012 Location: CHENNAI
|
Junior Member |
|
|
C:\Documents and Settings\sivamurugan>ping 10.50.31.91
Pinging 10.50.31.91 with 32 bytes of data:
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Ping statistics for 10.50.31.91:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\sivamurugan>ping 10.50.20.36
Pinging 10.50.20.36 with 32 bytes of data:
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Ping statistics for 10.50.20.36:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\sivamurugan>ping saravanan1
Pinging saravanan1 [10.50.20.36] with 32 bytes of data:
Reply from 10.50.20.36: bytes=32 time=1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Ping statistics for 10.50.20.36:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Documents and Settings\sivamurugan>ping sivamurugan
Pinging Sivamurugan [10.50.31.91] with 32 bytes of data:
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Ping statistics for 10.50.31.91:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\sivamurugan>
C:\Documents and Settings\saravanan1>ping 10.50.31.91
Pinging 10.50.31.91 with 32 bytes of data:
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Ping statistics for 10.50.31.91:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\saravanan1>ping 10.50.20.36
Pinging 10.50.20.36 with 32 bytes of data:
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Ping statistics for 10.50.20.36:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\saravanan1>ping saravanan1
Pinging saravanan1 [10.50.20.36] with 32 bytes of data:
Reply from 10.50.20.36: bytes=32 time=1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Reply from 10.50.20.36: bytes=32 time<1ms TTL=127
Ping statistics for 10.50.20.36:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Documents and Settings\saravanan1>ping sivamurugan
Pinging saravanan1 [10.50.31.91] with 32 bytes of data:
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Reply from 10.50.31.91: bytes=32 time<1ms TTL=128
Ping statistics for 10.50.31.91:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\saravanan1>
|
|
|
|
|
|
|
|
|
|