Connecting a client to Oracle [message #471495] |
Sun, 15 August 2010 18:04  |
dsub42
Messages: 72 Registered: April 2010 Location: uk
|
Member |
|
|
Hi Im trying to connect a benchmarking application (benchmark factory) from my windows 32bit laptop to Oracle on my linux desktop.
When connecting I am supplying the following details: (im getting the error: ORA 12170 : TNS connect timeout occoured)
User/Schema : matt
Password: ****
Host: 192.168.1.9
Port: 1521
SID: orcl
Connect as : SysDBA
Connect Using: Instant Client (selected from a drop down)
----------------------------------------------------
when i use the following command:
tail -100 /home/matt/app/matt/diag/tnslsnr/localhost/listener/alert/log.xml
i get these results:
[matt@localhost ~]$ tail -100 /home/matt/app/matt/diag/tnslsnr/localhost/listener/alert/log.xml
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:26:29 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:26:36.708+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:26:36 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=47677)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:27:48.913+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:27:48 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=47699)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:27:49.166+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:27:49 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=47700)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:29:29.477+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:29:29 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:30:31.752+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:30:31 * ping * 0
</txt>
</msg>
<msg time='2010-08-15T23:30:31.841+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>WARNING: Subscription for node down event still pending
</txt>
</msg>
<msg time='2010-08-15T23:30:31.842+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:30:31 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=matt))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(H OST=localhost.localdomain)(PORT=1521)))(VERSION=186646784)) * status * 0
</txt>
</msg>
<msg time='2010-08-15T23:30:53.474+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:30:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:30:59.475+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:30:59 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:31:29.475+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:31:29 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:31:32.475+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:31:32 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:31:36.976+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:31:36 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=43212)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:32:29.473+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:32:29 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:32:49.162+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:32:49 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=43237)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:32:49.404+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:32:49 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=perl)(HOST=localhost.localdomain)(USER=matt))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=43238)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-08-15T23:34:29.469+01:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='localhost.localdomain'
host_addr='127.0.0.1'>
<txt>15-AUG-2010 23:34:29 * service_update * orcl * 0
</txt>
</msg>
[matt@localhost ~]$
-------------------------------------------------------
I have been told client is not getting to the listener because listener is only listening on 127.0.0.1
unless & until DB server is configured with a routable IP#, no remote client will succeed.
How do I do this though?? .. .im pretty new to all this.... can someone please help me?
|
|
|
|
|
|
|
|
|
|