• 全部
  • Oracle 基础和管理
  • Oracle 高级技术
  • Oracle 认证与考试
  • 职位交流
  • 问答

plsql登录出错

jinghan_ying java软件工程师  2014-08-12 09:42:58
plsql登录oracle时有ora-12514错误,在网上查找后,
我添加了 (SID_DESC = (GLOBAL_DBNAME = ORACLE)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = ORACLE) )
然后,再次登录时登录不同的用户竟然报不同的错误,如下:
1、用scott登录报ora-01034 和ora- 27101
2、用我自己注册的用户名登录时仍然报ora-12514错误
怎么回事啊,无从下手了,新望好心人帮助解决,急着用。
附录:
# listener.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(SID_NAME = ORCL)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = genuine.microsoft.com)(PORT = 1521))
)
)

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

SHOP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = genuine.microsoft.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Shop)
)
)

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = genuine.microsoft.com)(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)
)
)

...全文
197 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
ghx287524027 2014-08-13
从网上查了一下,请参考以下解决方法: http://www.cnblogs.com/chuyuhuashi/archive/2012/08/05/2623834.html 今天启动服务也没有异常,可是使用 PL/SQL Developer 登录 Oracle 的时候发现报异常: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist 出现ora-12514错误是因为监听listener出了问题,需要检查listener.ora文件,请参考以下讲解: http://blog.sina.com.cn/s/blog_5ffd70480100dm8b.html http://blog.sina.com.cn/s/blog_53be6b460100l3ao.html
回复
美到心痛 2014-08-12
scott连接报错,说明你的数据库没有启动,或者是你连错实例了. 你输入set SID_NAME=orcl 再连接试试
回复
相关推荐
发帖
Oracle
创建于2007-09-28

1.6w+

社区成员

Oracle开发相关技术讨论
申请成为版主
帖子事件
创建了帖子
2014-08-12 09:42
社区公告
暂无公告