重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2702|回复: 0
打印 上一主题 下一主题

[Oracle] 引用LOG_ARCHIVE_DEST_n参数引起的ORA-16024报错

[复制链接]
跳转到指定楼层
楼主
发表于 2021-1-22 17:30:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
数据库SPFILE文件中使用了LOG_ARCHIVE_DEST_n参数,可能会引起数据库出现ORA-16024: parameter log_archive_dest_1 cannot be parsed的报错造成出现ORA-16024报错的原因包括:
等号位置错误、属性无法识别或属性缺少所需值(参见文档 ID:96278.1)
处理方法有:
1.Ensure that /u01/oracle/arch is a valid directory and that Oracle has write permissions there.
确保oracle用户对目录拥有写的权限

2.Remove the spaces on either side of the '=' sign.
You cannot have as space on either side on the '=' sign after 'location'.
Note that the word 'location' can be in either upper or lower case.
log_archive_dest_1 = 'location=/u01/oracle/arch'
去掉'='两边可能存在的空格,location后接=不能有任何空格存在,并且location统一大写或者小写

3.Make sure that there is no trailing /.
确保参数后没有接有/

4.Make sure that LOG_ARCHIVE_DEST is not set in the init.ora.
These 2 parameters are not compatible with each other.
确保没有在init.ora文件中设置LOG_ARCHIVE_DEST参数

NOTE:
The error ORA-16024 could also be encountered when an SPFILE is used, for instance when upgrading a database.
To prevent that, you can remove the log_archive_dest from spfile by issuing
SQL> alter system reset log_archive_dest scope=spfile;
当使用SPFILE的数据库实例进行升级时,也可能会遇到ORA-16024的报错,可以通过移除SPFILE文件中的log_archive_dest参数来处理

5.If still not working set the LOG_ARCHIVE_DEST_n parameter to a null value: LOG_ARCHIVE_DEST_n=''
如果上述的方法依然没有解决,将LOG_ARCHIVE_DEST_n设置为空值


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-29 12:56 , Processed in 0.105213 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表