ORA-12514,不再是心中的痛
一般出这个问题都是/opt/oracle/product/10.2/db_1/network/admin/listener.ora文件惹的祸
用下面的格式修改即可:
# listener.ora Network Configuration File: /opt/oracle/product/10.2/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.2/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME=ZYF)
(ORACLE_HOME=/opt/oracle/product/10.2/db_1)
(SID_NAME=ZYF)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hbjob.site)(PORT = 1521))
)
------------------------------------------------------------------
牢骚:
用下面的格式修改即可:
# listener.ora Network Configuration File: /opt/oracle/product/10.2/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.2/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME=ZYF)
(ORACLE_HOME=/opt/oracle/product/10.2/db_1)
(SID_NAME=ZYF)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hbjob.site)(PORT = 1521))
)
------------------------------------------------------------------
牢骚: