欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

oracl出现"ORA

程序员文章站 2022-05-27 17:00:37
...

1.找到\oracle\product\10.2.0\db_1\NETWORK\ADMIN目录下的listener.ora和tnsnames.ora文件。 2.完整的计算机名称:PC. 域:asiapacific.cpqcorp.net listener.ora # listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin

1.找到\oracle\product\10.2.0\db_1\NETWORK\ADMIN目录下的listener.ora和tnsnames.ora文件。

2.完整的计算机名称:PC.
域:asiapacific.cpqcorp.net


listener.ora
# listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin\listener.ora
# Generated by Oracle configuration tools.


SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_2)
(PROGRAM = extproc)
)
)


LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =PC.)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)


tnsnames.ora
# tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.


ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =PC.)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)


EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

3.cmd命令:lsnrctl start

oracl出现"ORA

oracl出现"ORAoracl出现"ORA