1. 程式人生 > >ORA-09925: Unable to create audit trail file Linux-x86_64 問題處理

ORA-09925: Unable to create audit trail file Linux-x86_64 問題處理

在使用非ORACLE使用者登入資料庫時出現如報錯:

[[email protected] ~]$ 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執行程式許可權如下

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

使用root使用者修改為如下即可:
[[email protected]

~]$ su
Password:
[[email protected] oracle]# chmod 6755 $ORACLE_HOME/bin/oracle
[[email protected] 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
[[email protected] oracle]# exit
登入成功:
[[email protected] ~]$ 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啦。

相關推薦

ORA-09925: Unable to create audit trail file Linux-x86_64 問題處理

在使用非ORACLE使用者登入資料庫時出現如報錯: [[email protected] ~]$ sqlplus "/as sysdba" SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 1 15:55:

ORA-09925 Unable to create audit trail file 問題解決

問題描述: Oracle資料庫啟動例項時出現ora-09925、ora-01075的錯誤 問題分析: 檢視日誌/u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.log,如下: 導致這個錯誤的原因要麼是dump目

ora-09925 unable to create audit trail file

一.殺重複程序 1. ps -ef | grep smon 2.kill -9 22728 3.conn /as sysdba 二.修改oracle許可權 chmod 6755 $ORACLE_HOME/bin/oracle ls -lrt $ORACLE_

ORA-27125: unable to create shared memory segment

升級 ffffff pri 描述 term 上網 enter 解決辦法 分享圖片 操作系統環境 :CentOS release 6.7 (Final)數據庫版本 : Oracle Database 10g Enterprise Edition Release 10.

ios編譯ffmpeg出現xcrun -sdk iphoneos clang is unable to create an executable file的解決方法

使用https://github.com/kewlbear/FFmpeg-iOS-build-script的指令碼一鍵編譯ffmpeg。 出現 building arm64... xcrun -sdk iphoneos clang is unable to create an executa

Linux下編譯ffmpeg報錯gcc is unable to create an executable file C compiler test failed.

程式碼報錯資訊: [[email protected] ffmpeg-3.2.2]# ./configure --enable-shared --prefix=/usr/local/ffmpeg gcc is unable to create an executable

Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instanc

I was having the same problem on a Ubuntu ec2 instance. I was following this amazon article on page 7: Mongodb path in /etc/mongodb.conf was set to /v

ORA-27125: unable to create shared memory segment的解決方法

在某些作業系統上,當啟動資料庫或者建立資料庫時都可能出現ORA-27125錯誤,我在Oracle Linux 6上安裝Oracle 10.2.0.1,建立資料庫時就遇到了這個錯誤。 這個錯誤的解決就是修改 /proc/sys/vm/hugetlb_shm_group 檔案。 以下是老楊提到過的一

使用git add命令時遇到 fatal: Unable to create index.lock File exists 錯誤的解決辦法

$ git add . fatal: Unable to create 'D:/Git/ocr/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an ed

FFMPEG系列三:linux下編譯ffmpeg報錯gcc is unable to create an executable file C compiler test failed.

linux編譯ffmpeg過程報錯gcc is unable to create an executable file C compiler test failed.網上找了一圈,關於這個問題的答

Unable to create/open lock file: /data/mongod.lock解決方法

StackOverflow上面的答案,對我最有用的一個。 I was struggling with this issue, and realized that if you list you list your destination folder with

ORA-09945: Unable to initialize the audit trail file

RMAN> connect targetRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE S

git提交代碼出現錯誤fatal: Unable to create '項目路徑/.git/index.lock': File exists.

log stack sts exists 下一個 flow code .cn create git提交代碼出現錯誤fatal: Unable to create ‘項目路徑/.git/index.lock‘: File exists. 具體出錯代碼如下: 具體原因不詳

ArcCatalog連接ArcSDE連接報:unable to create new database connection file,permission is denied

sde rcc href connect database 連接 art .com new 參考博文:鏈接 另外,若機器ip變更,sde是否受影響的問題 ArcCatalog連接ArcSDE連接報:unable to create new database conne

Unable to create 'E:/.git/index.lock': File exists.

Unable to create 'E:/code/fund/at-fundsys/at-fundsys/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. a

ORA-27041: unable to open file--恢復被rm意外刪除資料檔案

當資料庫中的某個資料檔案被誤刪除之後,DBA可以選擇使用已有的備份進行還原與恢復,下文為DBA提供了另一種選擇,已經通過測試環境進行了相關測試,該方法是個不錯的選擇。轉自http://www.xifenfei.com/2289.html一.模擬資料檔案刪除[[email&#

loadrunner---執行LR報程式碼錯誤:Unable to create file

報錯資訊 <b>Warning</b>:  touch(): Unable to create file /app/80/api/web/monitor/1.0/Runtime/log/201511/20151110.log because Per

Android7.0以上File.createTempFile異常:java.io.IOException: Unable to create temporary file

一.File.createTempFile的介紹 java IO中常用類File 有File.createTempFile(String prefix, String suffix, File directory) 方法會在指定的目錄中一個新的空檔案。 de

Git出現Unable to create 'E:/xxx/.git/index.lock': File exists.的解決辦法

初次使用git,在執行完"git add readme.txt"命令後,在執行commit時,由於命令寫錯,沒有寫提交日誌,再次更正提交就出現上述錯誤:Unable to create 'E:/xxx/.git/index.lock': File exists 解決方案:

MetaException(message:file:/user/hive/warehouse/xxx is not a directory or unable to create one)

環境: hadoop 2.7.6 spark 2.2.0 hive 2.3.3 問題: 編寫spark應用儲存資料到hive表,之前不存在該表,報如下錯: Caused by: MetaEx