oracle11g - How do I create a new Connection in Oracle SQL Developer? -
i've installed oracle database 11g release 2 on windows 7.
i'm in oracle sql developer , i'm trying create new connection, when click in "connect", got message: "status: failure -test failed: network adapter not establish connection".
in connection window, i've tried changing role sysdba, os authentication, port, , sid, when changing values got same message.
tnsnames.ora contents:
# tnsnames.ora network configuration file: f:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # generated oracle configuration tools. oraclr_connection_data = (description = (address_list = (address = (protocol = ipc)(key = extproc1521)) ) (connect_data = (sid = clrextproc) (presentation = ro) ) ) orcl = (description = (address = (protocol = tcp)(host = 192.168.0.104)(port = 1521)) (connect_data = (server = dedicated) (service_name = orcl.168.0.104) ) )
listener.ora:
# listener.ora network configuration file: f:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora # generated oracle configuration tools. sid_list_listener = (sid_list = (sid_desc = (sid_name = clrextproc) (oracle_home = f:\oracle\product\11.2.0\dbhome_1) ) ) listener = (description_list = (description = (address = (protocol = ipc)(key = extproc1521)) (address = (protocol = tcp)(host = 192.168.0.104)(port = 1521)) ) ) adr_base_listener = f:\oracle
alert log:
<msg time='2015-06-02t19:28:12.428-05:00' org_id='oracle' comp_id='tnslsnr' type='unknown' level='16' host_id='kk-pc' host_addr='fe80::986b:9a38:5c9f:fc06%10' version='1'> <txt>02-jun-2015 19:28:12 * (connect_data=(sid=clrextproc)(cid=(program=sql developer)(host=__jdbc__)(user=kk))) * (address=(protocol=tcp)(host=192.168.0.104)(port=51332)) * establish * clrextproc * 0 </txt> </msg>
lsnrctl status:
services summary... service "orcl.168.0.104" has 1 instance(s). instance "orcl", status ready, has 1 handler(s) service... service "orclxdb.168.0.104" has 1 instance(s). instance "orcl", status ready, has 1 handler(s) service... command completed
how can solve this?
thanks.
so i'll answer own question hehe.
what did stop listener service, removed listener.ora admin folder, , started service again.
then did lsnrctl status in command prompt , got service name , sid. connect orcl sid , orcl.168.0.104 service name, works perfect. lot.
Comments
Post a Comment