ORA-09925: Unable to create audit trail file Linux-x86_64 问题

WBOY
發布: 2016-06-07 17:10:25
原創
1545 人瀏覽過

ORA-09925: Unable to create audit trail file Linux-x86_64 问题处理,在使用非ORACLE用户登录数据库时出现如报错:[www.linuxi

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

[@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执行程序权限如下

[@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
[@linuxidc ~]$ id
uid=504(marven) gid=501(oinstall) groups=501(oinstall),502(dba)

使用root用户修改为如下即可:
[@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
登录成功:
[@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啦。

linux

來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!