sqlplus连接报ORA-09925 Unable to create audit trail file错误处理
来源:互联网 发布:淘宝网丞乐园童装 编辑:程序博客网 时间:2024/05/17 22:00
测试环境sqlplus连接报ORA-09925: Unable to create audit trail file错误
$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Thu Nov 10 13:13:44 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> conn /as sysdba
ERROR:
ORA-09925: Unable to create audit trail file
SVR4 Error: 13: Permission denied
Additional information: 9925
ORA-01075: you are currently logged on
1.从网站上查找资料显示可能为执行文件oracle权限问题,下面显示权限正常
$ ls -la $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 gpattst dba 254881424 Nov 10 11:21 /gpattst1/app/11204/bin/oracle
2.查看磁盘空间,确认空间足够
/dev/dsk/c0d3s0 98G 10G 86G 11% /gpattst1
3.检查各目录的权限,onwner都为gpattst.
bash-3.00$ cd /gpattst1
bash-3.00$ ls -ltr
total 10869286
drwxr-xr-x 7 gpattst dba 512 Mar 11 2014 app
drwx------ 2 gpattst dba 8192 Nov 10 09:08 lost+found
-rw-r--r-- 1 gpattst dba 5562327552 Nov 10 09:15 app.tar
drwxr-xr-x 2 gpattst dba 512 Nov 10 09:34 gpattst1data
drwxr-xr-x 2 gpattst dba 512 Nov 10 09:35 gpattst1arc
4.检查环增变量设置
测试机上已存在的数据库实例如下:
$ ps -ef|grep pmon
zlnctest 4624 1 0 Sep 02 ? 21:01 ora_pmon_zlnctst
gpattst 458 425 0 13:34:08 pts/3 0:00 grep pmon
gpattst1 24246 1 0 23:31:19 ? 0:09 ora_pmon_gpattst1
再查看当前oracle用户的环境变量设置:
$ echo $ORACLE_SID
gpattst1
看起来实例名重命了,更改$HOME/.profile设置,由gpattst1改成gpattst
ORACLE_SID=gpattst;export ORACLE_SID
并刷新profile:source $HOME/.profile生效。
最后重新连接sqlplus,不再报错。
$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Thu Nov 10 13:38:02 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
- sqlplus连接报ORA-09925 Unable to create audit trail file错误处理
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ora-09925 unable to create audit trail file
- ORA-09925: Unable to create audit trail file汇总
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file
- oracle 11g 错误之ORA-09925: Unable to create audit trail file解决办法之一!
- ORA-09925: Unable to create audit trail file引发的错误
- ORA-09925: Unable to create audit trail file引发的错误
- ORA-09925: Unable to create audit trail file Linux-x86_64 问题处理
- LINUX SQL链接出现ORA-09925: Unable to create audit trail file
- ORA-09925: Unable to create audit trail file 在DBCA时
- webService常用到的注解
- 调用函数求两个整数中的较大值
- Eclipse中Maven工程缺少Maven Dependencies
- 入职谈判时如何为自己赢得更好的薪酬待遇?
- cygwin 安装配置ssh 问题
- sqlplus连接报ORA-09925 Unable to create audit trail file错误处理
- nm 和 c++filt - [GNU/Linux]
- Input文本框设置和移除默认值
- Android-Snackbar介绍
- 数据结构之二叉树按层遍历
- JUnit测试中setup()和teardown()方法
- IDEA插件项目结构
- SVN优化(一) SVN忽略maven项目的target
- 嵌入式linux面试题库