在使用非Oracle用戶登錄數(shù)據(jù)庫時,有時會出現(xiàn)如下報錯:
[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執(zhí)行程序權(quán)限如下:
[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啦。
河南億恩科技股份有限公司(1tcdy.com)始創(chuàng)于2000年,專注服務器托管租用,是國家工信部認定的綜合電信服務運營商。億恩為近五十萬的用戶提供服務器托管、服務器租用、機柜租用、云服務器、網(wǎng)站建設(shè)、網(wǎng)站托管等網(wǎng)絡基礎(chǔ)服務,另有網(wǎng)總管、名片俠網(wǎng)絡推廣服務,使得客戶不斷的獲得更大的收益。
服務器/云主機 24小時售后服務電話:
0371-60135900
虛擬主機/智能建站 24小時售后服務電話:
0371-55621053
網(wǎng)絡版權(quán)侵權(quán)舉報電話:
0371-60135995
服務熱線:
0371-60135900