[oracle@oracle ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Fri Apr 15 12:02:16 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> conn / as sysdba
ERROR:
ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9925
ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9925
原因:$ORACLE_HOME/bin/oracle这个文件的属性有问题,变成了“-rwxr-xr-x ”,正常情况是“-rwsr-sr-x”。
//检查bin目录下的oracle执行程序权限
ls -lrt $ORACLE_HOME/bin/oracle
[oracle@oracle ~]$ cd /oracle/app/product/11.2.0/db_1/bin
[oracle@oracle oracle]$ su
Password:
[root@oracle oracle]# chmod 6755 /oracle
[root@oracle oracle]# su - oracle
[oracle@oracle ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Fri Apr 15 12:07:54 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected.
本文介绍了解决Oracle数据库登录时遇到ORA-09925错误的方法。通过调整$ORACLE_HOME/bin/oracle文件的权限设置,从“-rwxr-xr-x”更改为“-rwsr-sr-x”,成功解决了无法创建审计跟踪文件的问题。
525

被折叠的 条评论
为什么被折叠?



