[转帖]ORA-18008: cannot find OUTLN schema错误的解决办法_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2440 | 回复: 1   主题: [转帖]ORA-18008: cannot find OUTLN schema错误的解决办法        上一篇   下一篇 
LLT0403
注册用户
等级:新兵
经验:76
发帖:1
精华:0
注册:2016-10-7
状态:离线
发送短消息息给LLT0403 加好友    发送短消息息给LLT0403 发消息
发表于: IP:您无权察看 2019-9-18 14:36:28 | [全部帖] [楼主帖] 楼主

启动数据库报错,ORA-18008: cannot find OUTLN schema

问题现象:
数据库版本 Oracle 11g r2

 hrdb1>startup


Oracle 例程已经启动。

Total System Global Area 4392697856 bytes-
Fixed Size                  2233616 bytes
Variable Size            1090521840 bytes
Database Buffers         3288334336 bytes
Redo Buffers               11608064 bytes


数据库装载完毕。

 ORA-01092: Oracle instance terminated. Disconnection forced
ORA-18008: cannot find OUTLN schema


进程 ID: 5294
会话 ID: 683 序列号: 3

hrdb1>!oerr ora 18008
18008, 00000, "cannot find OUTLN schema"
// *Cause:  The database creation script that creates this schema must not
//          have been executed.
// *Action: Review the log files to see what happened when the database
//          was created.


问题原因:
outlin用户被误删除

解决方法:

按照metalink上的解决办法,先修改replication_dependency_tracking参数,重建数据库outln用户及相关对象即可。

1,启动到mount状态,修改replication_dependency_tracking参数

 alter system set replication_dependency_tracking =false scope=spfile;


2,启动数据库至open状态

 hrdb1>shutdown immediate
hrdb1>startup


3,执行脚本doptim.bsq,Oracle 10g版本可参考执行附录脚本

 @$Oracle_HOME/rdbms/admin/doptim.bsq


此时,用户已创建

hrdb1>select username from dba_users;
USERNAME
------------------------------
OUTLN


4,修改回replication_dependency_tracking参数为true

alter system set replication_dependency_tracking =true scope=spfile;


5,重新启动数据库,系统恢复正常

 hrdb1>shutdown abort


Oracle 例程已经关闭。

 hrdb1>startup


Oracle 例程已经启动。

Total System Global Area 4392697856 bytes
Fixed Size                  2233616 bytes
Variable Size            1090521840 bytes
Database Buffers         3288334336 bytes
Redo Buffers               11608064 bytes


数据库装载完毕。
数据库已经打开。

 hrdb1>select username from dba_users;
USERNAME
------------------------------
WJ
OUTLN
SYS
SYSTEM
HR
STRMADMIN


已选择6行。

由于版本是Oracle 11g,直接执行相关脚本即可,oracle 10g版本可以参考《Script to Create User OUTLN in 10.2 [ID 422983.1]》

备注:用于复制的一个参数,第一次碰到,做个记录

 REPLICATION_DEPENDENCY_TRACKING enables or disables dependency tracking for read/write operations to the database. Dependency tracking is essential for propagating changes in a replicated environment in parallel.


参考资料:

 Unable To Start The Database With OUTLN Schema Dropped ORA-01092& ORA-18008 [ID 855104.1]
Script to Create User OUTLN in 10.2 [ID 422983.1]




赞(0)    操作        顶端 
联动大白
注册用户
等级:列兵
经验:91
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2019-11-13 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: ORA-01092

Title: ORACLE instance terminated. Disconnection forced

Description:

ORACLE instance terminated. Disconnection forced

Action:

Examine the alert log for more details. When the instance has been restarted, retry action.

Cause:

The instance this process was connected to was terminated abnormally, probably via a shutdown abort. This process was forced to disconnect from the instance.


Error Id: ORA-18008

Title: cannot find OUTLN schema

Description:

cannot find OUTLN schema

Action:

Review the log files to see what happened when the database was created.

Cause:

The database creation script that creates this schema must not have been executed.


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论