ORA-09925: Unable to create audit trail file 在DBCA时
***数据库后,再执行dbca时候报错 ORA-09925: Unable to create audit trail file
起初以为是权限问题,
$cd $ORACLE_HOME/rdbms/audit
查看下权限,属主,为了避免麻烦直接赋予aufit目录 777权限
退出DBCA直接们再次执行,问题依旧
ORA-09925: Unable to create audit trail file
查过oracle 官方资料显示,有些共享内存和信号量段可能被stuck,因此需要执行ipcs来***共享内存段,共享信号量
相关命令参数
ipcs -m | -s
[oracle@servU_01 audit]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x3b69ade0 589835 oracle 640 169869312 14
0x00000000 5046284 oracle 777 232500 2 dest
0x00000000 5079053 oracle 777 232500 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
0xc2e507f4 622593 oracle 640 154
------ Message Queues --------
key msqid owner perms used-bytes messages
[oracle@servU_01 audit]$ ipcrm -m 589835
[oracle@servU_01 audit]$ ipcrm -m 5046284
[oracle@servU_01 audit]$ ipcrm -m 5079053
[oracle@servU_01 audit]$ ipcrm -s 622593
再次执行DBCA 问题得到解决注:IPCS命令详解
在unix/linux下,经常有因为共享内存、信号量,队列等共享信息没有干净地清楚而引起一些问题。
查看共享信息的内存的命令是ipcs [-m|-s|-q]。
默认会列出共享内存、信号量,队列信息,-m列出共享内存,-s列出共享信号量,-q列出共享队列。
怎样清楚呢?
清楚命令是ipcrm [-m|-s|-q] id。
-m ***共享内存,-s***共享信号量,-q***共享队列。
下面是一个操作示例:
view plaincopy to clipboardprint?
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0399ef4c 262145 ora 660 255852544 55
------ Semaphore Arrays --------
key semid owner perms nsems
0x965bd64c 884736 ora 660 154
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0399ef4c 262145 ora 660 255852544 50
------ Semaphore Arrays --------
key semid owner perms nsems
0x965bd64c 884736 ora 660 154
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcrm -m 262145
[ora@localhost ora]$ ipcrm -s 884736
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
[ora@localhost ora]$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
[ora@localhost ora]$ ipcs -q
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0399ef4c 262145 ora 660 255852544 55
------ Semaphore Arrays --------
key semid owner perms nsems
0x965bd64c 884736 ora 660 154
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0399ef4c 262145 ora 660 255852544 50
------ Semaphore Arrays --------
key semid owner perms nsems
0x965bd64c 884736 ora 660 154
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcrm -m 262145
[ora@localhost ora]$ ipcrm -s 884736
[ora@localhost ora]$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
[ora@localhost ora]$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
[ora@localhost ora]$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
[ora@localhost ora]$ ipcs -q
------ Message Queues --------
key msqid owner perms used-bytes messages
在上面示例示例中:
首先用ipcs命令列出了共享内存、共享队列,共享信号量。
显示出当前系统中有共享内存,共享信号量,没有共享队列。
然后执行ipcrm -m 262145清楚共享semid=262145的共享内存。
执行ipcrm -s 884736清楚共享信号量semid=884736的共享信号量。
最后执行ipcs查看共享内存、共享队列,共享信号量信息,发现全都没有了,说明上面的ipcrm清楚共享内存和共享信号量成功

转载于:https://blog.51cto.com/evils798/1420945

ORA-09925: Unable to create audit trail file 在DBCA时相关推荐

  1. ORA-09925 Unable to create audit trail file 问题解决

    问题描述: Oracle数据库启动实例时出现ora-09925.ora-01075的错误 问题分析: 查看日志/u01/app/oracle/diag/rdbms/orcl/orcl/trace/al ...

  2. PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

    为什么80%的码农都做不了架构师?>>>    不同电脑,相同的代码怎么就上传不了图片:本人用的是PHP upload上传项目下的retime文件夹 服务器突然出现这种提示,无法上传 ...

  3. 【038】使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法

    一.问题描述 使用git commit 命令提交代码,遇到下面的错误: $ git commit -m 'Test' fatal: Unable to create 'D:/MyProject/.gi ...

  4. nkd 编译ffmpeg错误: clang is unable to create an executable file. C compiler test failed.

    用最新的ndk(21.1)编译新的ffmpeg(4.1)  网上找了个编译脚本然后一运行就报上面的错误,找了n多篇也没搜罗到解决办法,有一种大部分人都在问这个问题但是就是没有解决方案的不明觉厉,发帖的 ...

  5. ffmpeg交叉编译报错:aarch64-xxx-linux-gcc is unable to create an executable file. C compiler test failed.

    我原先的配置是这样的: ./configure \ --enable-shared \ --enable-static \ --prefix=$PWD/_install \ --cross-prefi ...

  6. File upload error - unable to create a temporary file in bUnknown/b on line

    我也遇到同样的问题才搜到你这个问题了,我最后的解决办法是修改php.ini里的upload_tmp_dir,如果前面有分号,先把分号去掉,然后设置一个临时目录,我是设置成upload_tmp_dir= ...

  7. Unable to create/open lock file: /var/lib/mongodb/mongod.lock errno:13 Permission denied Is a mong..

    系统:ubuntu 16.04 由于手动创建数据路径/var/lib/mongodb,因此用户权限为root而不是mongodb,导致mongodb无权操作该数据路径 解决方案: 1.停止mongod ...

  8. ORA -09925

    今天遇到了一个奇怪的现象,记录一下.在用sqlplus / as sysdba 连接oracle数据时,报了个错 :ORA-09925 unable to create audit trail fil ...

  9. Git出现Unable to create 'E:/xxx/.git/index.lock': File exists.的解决办法

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/darlinghqq/article/d ...

最新文章

  1. 程序包com.sun.image.codec.jpeg.JPEGCo不存在解决办法
  2. ubuntu 拷贝文件
  3. spring定时任务详解(@Scheduled注解)多线程讲解
  4. String s1==s2面试题
  5. 论文浅尝 | 实体图的预览表格生成
  6. 漫步数理统计二十二——二项及相关分布
  7. centos 需要哪些常用端口_仓库加盟:电商仓库需要配备哪些常用仓储设备
  8. WebAPI PUT,DELETE请求404
  9. Pyspark访问Hbase
  10. 通用技术和信息技术合格考知识点_通用技术学业水平考试必背知识点
  11. 计算机高中会考inpute,高中信息技术会考知识点
  12. rhel7-firewalld端口转发
  13. c语言中int sel是什么意思,SEL数据类型,@selector的用法,以及调用SEL
  14. 基础-07-八大疑问词
  15. 如何打开高清语音VOLTE
  16. php师汤姆猫壁,汤姆猫家族与vivo游戏中心线上线下破壁联动
  17. 2022年餐饮行业的10大必看趋势
  18. 精心打造中国第一个商用3G网络
  19. 2022年服务器行业研究报告
  20. 【SourceTree】项目版本控制

热门文章

  1. qt5变成内部头文件 ubuntu_Ubuntu下Visual Studio Code软件的安装和使用
  2. Shiro系列-Shiro中Realm如何使用
  3. 多线程的那点事儿(之数据互斥)
  4. 好玩的100个网站收藏
  5. Laravel核心解读--Contracts契约
  6. Docker容器虚拟化技术---Docker高级实战(DockerFile)2
  7. asp.net core系列 40 Web 应用MVC 介绍与详细示例
  8. JDK 11 将引入低延迟 GC,大幅度缩短 GC 暂停时长
  9. css案例学习之id要唯一
  10. 史上最详细 VUE2.0 全套 demo 讲解 基础4(条件渲染)