标签:ora-09925: unable to create audit trail file 在dbca时
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清楚共享内存和共享信号量成功
本文出自 “O Record” 博客,请务必保留此出处http://evils798.blog.51cto.com/8983296/1420945
ORA-09925: Unable to create audit trail file 在DBCA时,布布扣,bubuko.com
ORA-09925: Unable to create audit trail file 在DBCA时
标签:ora-09925: unable to create audit trail file 在dbca时
原文地址:http://evils798.blog.51cto.com/8983296/1420945