oracl出现"ORA

WBOY
發布: 2016-06-07 15:27:17
原創
1180 人瀏覽過

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

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板