首页 > 其他 > 详细

Startup mount时报ORA-12514错误的解决方法

时间:2016-01-29 12:06:06      阅读:201      评论:0      收藏:0      [点我收藏+]

1.关闭数据库
shutdown immediate;


2.数据库启动到mount阶段
startup mount;
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务  


处理办法:listener文件,添加如下红字内容:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
     )
     (SID_DESC=
       (GLOBAL_DBNAME=orcl.com)
       (ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)
       (SID_NAME = ORCL)
     )
  )


3.重启侦听服务
lsnrctl stop;
lsnrctl start;

4.SYS 用户登录
startup mount;

5.开启归档模式(可跳过)
alter database archivelog;

6.打开数据库
alter database open;

Startup mount时报ORA-12514错误的解决方法

原文:http://www.cnblogs.com/cancer-sun/p/5168294.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!