http://www.dbforums.com/oracle/16768...nect_data.html
I had the same issue quite some time ago... My issue I believe was a mismatch in tnsnames.ora between placing the IP and the servers hostname...
Code:
# tnsnames.ora Network Configuration File: /opt/oracle11g/product/11.2.0/db1//network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
XXXXX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname )(PORT = xxxx))
(CONNECT_DATA =
)
(SERVER = DEDICATED)
(SID_NAME = xxxxx)
)
)
LISTENER_XXXXX =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname )(PORT = xxxx))
Don't know if this is your issue, I would double and triple check the tnsnames.ora and listen.ora