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))
    )

  ------------------------------------------------------------------

牢骚:
俺就整不明白了,为什么这个问题的解决方法这么简单,俺就屡试屡败,成功率基本为零。一怒之下不去吃饭了,果然搞掂,唉,同样的操作,同样的方法,为什么呢,……只能无言的苦笑了。

posted @ 2008-03-08 19:02  玉米疯收  阅读(3125)  评论(1编辑  收藏  举报