手動改了listener.ora之後就好了
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cimsdb)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=cimsTrai)
(ORACLE_HOME=C:\app\Administrator\product\11.1.0\db_1)
(SID_NAME=cimsTrai))
(SID_DESC=
(SID_NAME=plsextproc)
(ORACLE_HOME=C:\app\Administrator\product\11.1.0\db_1)
(PROGRAM=extproc)))
順便紀錄一下tnsnames.ora的內容
# tnsnames.ora Network Configuration File:C:\app\Administrator\product\11.1.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
CIMSPROD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cimsdb)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cimsProd)
)
)
CIMSTRAI =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cimsdb)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cimsTrai)
)
)
No comments:
Post a Comment