- 论坛徽章:
- 8
|
楼主看下你的出错信息:
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
从这两个方面看下!
把我的listener.ora给你看下,看你能参照该下不?
我的是oracle10g
[root@Ruochen oradata]# more /usr/u01/app/oracle/product/10.2.0.1/network/admin/listener.ora
# listener.ora Network Configuration File: /usr/u01/app/oracle/product/10.2.0.1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/u01/app/oracle/product/10.2.0.1)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = ***.***.***.***)(PORT = 1521))
)
) |
|