亿恩科技有限公司旗下门户资讯平台!
服务器租用 4元建网站

ORA-09925:Unable to create audit trail file Linux错误处理方法

很多用户在使用非Oracle用户登录数据库时,有时会出现报错的情况,那么应该怎么解决和处理这个问题呢?下面随小编一起来看看吧!

在使用非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: 9925

ORA-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啦。

河南亿恩科技股份有限公司(www.enkj.com)始创于2000年,专注服务器托管租用,是国家工信部认定的综合电信服务运营商。亿恩为近五十万的用户提供服务器托管、服务器租用、机柜租用、云服务器、网站建设、网站托管等网络基础服务,另有网总管、名片侠网络推广服务,使得客户不断的获得更大的收益。
服务器/云主机 24小时售后服务电话:0371-60135900
虚拟主机/智能建站 24小时售后服务电话:0371-55621053
网络版权侵权举报电话:0371-60135995
服务热线:0371-60135900

0
0
分享到:责任编辑:黄利敏

相关推介

共有:0条评论网友评论:

验证码 看不清换一张 换一张

亲,还没评论呢!速度抢沙发吧!