ora-09925 linux-x86,ORA-09925: Unable to create audit trail file Linux-x86_64 问题处理

在使用非Oracle用户登录数据库时出现如报错:

[www.linuxidc.com@linuxidc ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 1 15:55:07 2012

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

ERROR:

ORA-09925: Unable to create audit trail file

Linux-x86_64 Error: 13: Permission denied

Additional information: 9925ORA-09925: Unable to create audit trail file

Linux-x86_64 Error: 13: Permission denied

Additional information: 9925

Enter user-name:

ERROR:

ORA-01017: invalid username/password; logon denied

Enter user-name:

ERROR:

ORA-01017: invalid username/password; logon denied

SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

这个时候检查bin目录下的oracle执行程序权限如下

[www.linuxidc.com@linuxidc ~]$ ls -lrt $ORACLE_HOME/bin/oracle

-rwxr-x--x. 1 oracle oinstall 112701117 Dec  6 17:28 /u01/app/oracle/product/10.2.0/db_1/bin/oracle

[www.linuxidc.com@linuxidc ~]$ id

uid=504(marven) gid=501(oinstall) groups=501(oinstall),502(dba)

使用root用户修改为如下即可:

[www.linuxidc.com@linuxidc ~]$ su

Password:

[root@hpserver2 oracle]#chmod 6755 $ORACLE_HOME/bin/oracle

[root@hpserver2 oracle]# ls -lrt $ORACLE_HOME/bin/oracle

-rwsr-sr-x. 1 oracle oinstall 112701117 Dec  6 17:28 /u01/app/oracle/product/10.2.0/db_1/bin/oracle

[root@hpserver2 oracle]# exit

登录成功:

[www.linuxidc.com@linuxidc ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 1 16:00:00 2012

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>OK啦。0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值