oracle - SQL*Net configuration - spurious IP -



oracle - SQL*Net configuration - spurious IP -

i can't connect oracle 12 database through sql*net

tracing backwards tnsping result follows:

tnsping devpdb tns ping utility linux: version 12.1.0.2.0 - production on 08-oct-2014 05:28:55 copyright (c) 1997, 2014, oracle. rights reserved. used parameter files: used hostname adapter resolve alias attempting contact (description=(connect_data=(service_name=))(address=(protocol=tcp)(host=xx.xxx.xxx.xx)(port=1521)))

the host ip unresolvable computer. don't know getting it's not nat address of host or of router, it's @ to the lowest degree 30 hops away per ping.

tnsnames.ora:

# generated oracle configuration tools. devdb = (description = (address = (protocol = tcp)(host = tts-poweredge-t105)(port = 1521)) (connect_data = (server = dedicated) (service_name = devdb) ) ) devpdb = (description = (address = (protocol = tcp)(host = tts-poweredge-t105)(port = 1521)) (connect_data = (sid = devpdb) (server = dedicated) (service_name = devpdb) ) ) diamondpdb = (description = (address = (protocol = tcp)(host = tts-poweredge-t105)(port = 1521)) (connect_data = (sid = diamondpdb) (server = dedicated) (service_name = diamondpdb) ) )

the /etc/hosts is:

127.0.0.1 localhost 192.168.1.2 tts-poweredge-t105 # next lines desirable ipv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters

ping works:

ping tts-poweredge-t105 ping tts-poweredge-t105 (192.168.1.2) 56(84) bytes of data. 64 bytes tts-poweredge-t105 (192.168.1.2): icmp_seq=1 ttl=64 time=0.054 ms

my sqlnet.ora:

# sqlnet.ora network configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora # generated oracle configuration tools. names.directory_path= (tnsnames, onames, hostname)

when alter tnsnames.ora follows:

# tnsnames.ora network configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/tnsnames.ora # generated oracle configuration tools. devdb = (description = (address = (protocol = tcp)(host = tts-poweredge-t105)(port = 1521)) (connect_data = (server = dedicated) (service_name = devdb) ) ) devpdb = (description = (address = (protocol = tcp)(host = tts-poweredge-t105)(port = 1521)) (connect_data = (sid = devpdb) (server = dedicated) (service_name = devpdb) ) ) diamondpdb = (description = (address = (protocol = tcp)(host = 192.168.1.2)(port = 1521)) (connect_data = (sid = diamondpdb) (server = dedicated) (service_name = diamondpdb) ) ) wtf = (description = (address = (protocol = tcp)(host = 192.168.1.2)(port = 1521)) (connect_data = (sid = wtf) (server = dedicated) (service_name = wtf) ) )

i this:

tnsping wtf tns ping utility linux: version 12.1.0.2.0 - production on 08-oct-2014 08:21:15 copyright (c) 1997, 2014, oracle. rights reserved. used parameter files: tns-03505: failed resolve name

my environment:

ld_library_path=/u01/app/oracle/product/12.1.0/dbhome_1/lib oracle_sid=devdb oracle_base=/u01/app/oracle oracle_home=/u01/app/oracle/product/12.1.0/dbhome_1

i can remove tnsnames.ora file , original message not beingness used.

i tried changing sqlnet.ora to:

# sqlnet.ora network configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora # generated oracle configuration tools. #names.directory_path= (tnsnames, onames, hostname) names.directory_path= (hostname,tnsnames, onames)

and makes no difference

so whatever hostname adapter or how configured seems problem. note "used parameter files:" empty

i exported tns_admin

export tns_admin=/home/u01/app/oracle/product/12.1.0/dbhome_1/network/admin

but still no parameter files beingness used. have read permissions on file.

i suspect has sqlnet.ora file, have run out of ideas.

oracle tnsnames

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -