ORA-27041: redo文件 unable to open file处理

现场项目经理反馈有个测试环境的u01满,赶紧回电脑边查看

[root@db ~]#  df -h|grep u01
/dev/mapper/ol-u01           150G   150G  20K  100% /u01
本以为是审计日志*.aud导致的,通过查看发现alert_orcl.log特别的大,98G大小了,查看日志最后信息如下
[root@db trace]# du -sh alert_orcl.log
98G    alert_orcl.log
[root@db trace]# tail -2000 alert_orcl.log
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.370331+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.382341+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.394363+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.402294+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.414308+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.422225+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.434260+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.446381+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.476931+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.486630+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
2024-05-28T12:16:07.498588+08:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc:
[root@db trace]# strings /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc
Trace file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lg00_21785.trc
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Build label:    RDBMS_19.3.0.0.0DBRU_LINUX.X64_190417
ORACLE_HOME:    /u01/app/oracle/product/19.0.0/db_1
System name:    Linux
Node name:    db
Release:    4.14.35-1818.3.3.el7uek.x86_64
Version:    #2 SMP Mon Sep 24 14:45:01 PDT 2018
Machine:    x86_64
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 23
Unix process pid: 21785, image: oracle@db (LG00)
*** 2024-02-24T21:03:16.476997+08:00
*** SESSION ID:(856.63771) 2024-02-24T21:03:16.477028+08:00
*** CLIENT ID:() 2024-02-24T21:03:16.477035+08:00
*** SERVICE NAME:(SYS$BACKGROUND) 2024-02-24T21:03:16.477041+08:00
*** MODULE NAME:() 2024-02-24T21:03:16.477047+08:00
*** ACTION NAME:() 2024-02-24T21:03:16.477053+08:00
*** CLIENT DRIVER:() 2024-02-24T21:03:16.477058+08:00
Warning: log write elapsed time 572ms, size 570KB
*** 2024-03-14T21:10:49.716398+08:00
Warning: log write elapsed time 783ms, size 1KB
*** 2024-05-18T17:14:33.278909+08:00
Warning: log write elapsed time 532ms, size 1KB
*** 2024-05-19T07:19:00.736745+08:00
Warning: log write elapsed time 720ms, size 46KB
*** 2024-05-19T07:27:51.387936+08:00
Warning: log write elapsed time 544ms, size 1KB
*** 2024-05-20T21:12:30.896303+08:00
Warning: log write elapsed time 2558ms, size 2KB
*** 2024-05-21T21:12:29.842172+08:00
Warning: log write elapsed time 1466ms, size 1KB
*** 2024-05-22T21:14:26.960877+08:00
Warning: log write elapsed time 1682ms, size 1KB
kcrfw_alfs_update_mode: poll->post curr_sched_delay=0 switch_sched_delay=1 curr_sync_count_delta=47 switch_sync_count_delta=121
*** 2024-05-23T15:37:25.312713+08:00
Log file sync switching to post/wait
Current approximate redo synch write rate is 15 per sec
kcrfw_alfs_update_mode: poll->post curr_sched_delay=0 switch_sched_delay=1 curr_sync_count_delta=13 switch_sync_count_delta=86
*** 2024-05-23T17:32:49.860199+08:00
Log file sync switching to post/wait
Current approximate redo synch write rate is 4 per sec
*** 2024-05-25T06:52:23.707684+08:00
*** 2024-05-25T06:52:23.904153+08:00
Warning: log write elapsed time 504ms, size 146KB
*** 2024-05-25T06:53:29.932017+08:00
Warning: log write elapsed time 750ms, size 146KB
*** 2024-05-25T06:53:30.857031+08:00
Warning: log write elapsed time 919ms, size 148KB
*** 2024-05-25T06:53:31.482678+08:00
Warning: log write elapsed time 625ms, size 1KB
*** 2024-05-25T06:53:32.052623+08:00
Warning: log write elapsed time 569ms, size 1KB
*** 2024-05-25T06:54:34.495532+08:00
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 3
kcrfw_do_write: error opening '/archlog/orcl/onlinelog/redo01_2.log'

[root@db trace]#  ls -lrt /archlog/orcl/onlinelog/
total 4194320
-rw-r-----  1 root   root     1073742336 May 24 09:45 redo01_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:06 redo03_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:06 redo04_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:06 redo02_2.log


处理办法:
方法1、直接修改属组并切换日志不生效
[root@db trace]# chown oracle:oinstall redo01_2.log
[root@db trace]#  ls -lrt
total 4194320
-rw-r-----  1 oracle oinstall 1073742336 May 24 09:45 redo01_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:06 redo03_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:06 redo04_2.log
-rw-r-----. 1 oracle oinstall 1073742336 May 28 13:07 redo02_2.log

SQL > alter database drop logfile member '/archlog/orcl/onlinelog/redo01_2.log';
SQL >  alter database add logfile member '/archlog/orcl/onlinelog/redo01_2.log' to group 1;

方法2、删除redo01重新新建redo01
 SQL > alter system switch logfile;
 SQL > alter system switch logfile;
 SQL > alter system switch logfile;
 SQL > alter system checkpoint;
 SQL > alter database drop logfile group 1;
 SQL > alter database add logfile group 1 size 1024M;


 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/19452.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Spring基础知识总结(纯文字版)

一、Spring IoC 1.1 重要概念 1)控制反转(Inversion of control) 控制反转是一种通过描述(在java中通过xml或者注解)并通过第三方去产生或获取特定对象的方式。 控制反转IoC(Inversion of Control)是说创建对象的控…

基于 Arm 虚拟硬件的 TinyMaix 超轻量级神经网络推理框架的项目实践

本实验过程中所显示的优惠价格及费用报销等相关信息仅在【Arm AI 开发体验创造营】体验活动过程中有效,逾期无效,请根据实时价格自行购买和体验。同时,感谢本次体验活动 Arm 导师 Liliya 对于本实验手册的共创与指导。 详见活动地址&#xff…

常用torch.nn

目录 一、torch.nn和torch.nn.functional二、nn.Linear三、nn.Embedding四、nn.Identity五、Pytorch非线性激活函数六、nn.Conv2d七、nn.Sequential八、nn.ModuleList九、torch.outer torch.cat 一、torch.nn和torch.nn.functional Pytorch中torch.nn和torch.nn.functional的区…

Vue使用axios实现调用后端接口

准备后端接口 首先,我已经写好一个后端接口用来返回我的用户数据,并用Postman测试成功如下: 以我的接口为例,接口地址为:http://localhost:8080/user/selectAll 返回Json为: {"code": "2…

docker制作高版本jdk17镜像踩坑

1、创建目录并下载jdk上传到服务器中 从jdk官网下载jdk17镜像,提示:下载到本地用xftp上传到服务器(速度会快点) jdk官网:https://www.oracle.com/java/technologies/downloads/#graalvmjava21 创建目录,将…

Ubuntu系统编译内核——deb安装 / install安装

摘要 本文简要记录两种编译内核的方法: 打包成deb模块安装(推荐);直接make install安装; 更推荐使用——打包成deb模块安装,因为可以方便的拷贝下次其他机器使用。 1. 编译环境准备 系统:lin…

强化学习——学习笔记3

一、强化学习都有哪些分类? 1、基于模型与不基于模型 根据是否具有环境模型,强化学习算法分为两种:基于模型与不基于模型 基于模型的强化学习(Model-based RL):可以简单的使用动态规划求解,任务可定义为预测和控制&am…

cesium 实现自定义弹窗并跟随场景移动

cesium 添加点位自定义弹窗跟随场景移动 完整代码演示可直接copy使用 1 效果图&#xff1a; 2 深入理解 就是原始点位的数据 id>property 点位真实渲染到球体上的笛卡尔坐标系 id>_polyline 的路径下 可以通过 3 代码示例 <!DOCTYPE html> <html lang"…

【数据分享】2017-2023年全球范围10米精度土地覆盖数据

土地覆盖数据是我们在各项研究中都非常常用的数据&#xff0c;土地覆盖数据的来源也有很多。之前我们分享过欧空局发布的2020年和2021年的10米分辨率的土地覆盖数据,也分享过我国首套1米分辨率的土地覆盖数据&#xff08;均可查看之前的文章获悉详情&#xff09;&#xff01; …

dwc3 DR_MODE 处理初始化 OTG gadget

dwc3控制器是怎么处理otg-CSDN博客 dwc3_probe static int dwc3_probe(struct platform_device *pdev) {struct device *dev &pdev->dev;struct resource *res, dwc_res;struct dwc3 *dwc;int ret;void __iomem …

管道液位传感器可以检测哪些液体?

管道液位传感器是一种专门用于检测流动性比较好的液体的传感器装置。它采用光学感应原理&#xff0c;不涉及任何机械运动&#xff0c;具有长寿命、安装方便和微功耗的特点。相比传统机械式液位传感器&#xff0c;光电管道传感器有效解决了低精度和卡死失效等问题&#xff0c;同…

Django 解决 CSRF 问题

在 Django 出现 CSRF 问题 要解决这个问题&#xff0c;就得在 html 里这么修改 <!DOCTYPE html> <html><head></head><body><form action"/login/" method"post">{% csrf_token %}</form></body> </…

C++基础知识之类和对象

一、类 类是一种用户自定义的数据类型&#xff0c;用于封装数据和方法。它定义了一组属性&#xff08;数据成员&#xff09;和方法&#xff08;成员函数&#xff09;&#xff0c;并且可以被多个对象共享。在面向对象编程中&#xff0c;类是一种用于创建对象的蓝图或模板。它定义…

短视频脚本创作的五个方法 沈阳短视频剪辑培训

说起脚本&#xff0c;我们大概都听过影视剧脚本、剧本&#xff0c;偶尔可能在某些综艺节目里听过台本。其中剧本是影视剧拍摄的大纲&#xff0c;用来指导影视剧剧情的走向和发展&#xff0c;而台本则是综艺节目流程走向的指导大纲。 那么&#xff0c;短视频脚本是什么&#xf…

探析GPT-4o:技术之巅的跃进

如何评价GPT-4o? 简介&#xff1a;最近&#xff0c;GPT-4o横空出世。对GPT-4o这一人工智能技术进行评价&#xff0c;包括版本间的对比分析、GPT-4o的技术能力以及个人感受等。 随着人工智能领域的不断发展&#xff0c;GPT系列模型一直处于行业的前沿。最近&#xff0c;GPT-4…

前端实习记录——git篇(一些问题与相关命令)

1、版本控制 &#xff08;1&#xff09;版本回滚 git log // 查看版本git reset --mixed HEAD^ // 回滚到修改状态&#xff0c;文件内容没有变化git reset --soft HEAD^ // 回滚暂存区&#xff0c;^的个数代表几个版本git reset --hard HEAD^ // 回滚到修改状态&#xff…

生态农业:引领未来农业新篇章

生态农业&#xff0c;正以其独特的魅力和创新理念&#xff0c;引领着未来农业发展的新篇章。在这个充满变革的时代&#xff0c;我们需要更加关注农业的可持续发展&#xff0c;而生态农业正是实现这一目标的重要途径。 生态农业产业的王总说&#xff1a;生态农业强调生态平衡和可…

python基础-内置函数3-类与对象相关内置函数

文章目录 python基础-内置函数3类与对象getattr()hasattr()setattr()delattr()vars()dir()property()super()classmethod()staticmethod()isinstance()issubclass()callable()object()repr()ascii()id()hash()type() python基础-内置函数3 类与对象 getattr() getattr(objec…

以讲师能力提升,优路教育促学员拓宽职业原野

在建设教育强国的过程中&#xff0c;加强教师队伍建设被视为重要的基础工作。当前&#xff0c;我国正大力推进高素质“双师型”职业教育教师队伍建设&#xff0c;以培养更多既具备理论教学能力&#xff0c;又拥有实践教学经验的教师。在这一背景下&#xff0c;优路教育积极响应…

【文档+源码+调试讲解】古典舞在线交流平台的设计与实现

摘 要 随着互联网技术的发展&#xff0c;各类网站应运而生&#xff0c;网站具有新颖、展现全面的特点。因此&#xff0c;为了满足用户古典舞在线交流的需求&#xff0c;特开发了本古典舞在线交流平台。 本古典舞在线交流平台应用Java技术&#xff0c;MYSQL数据库存储数据&…