【Bug】Bug 11827204: NON-OSDBA USERS WITH LOCAL CONNECTIONS: ORA-15025 ORA-27041
資料庫版本:Release 11.2.0.2.0
以非 oracle 使用者執行sqlpuls 登入資料庫(ps admin 使用者是oracle 建立的外部使用者,直接執行sqlpus / 便可以登入資料庫)
admin@sf1:/home/admin>sqlplus /
SQL*Plus: Release 11.2.0.2.0 Production on Tue Oct 11 10:06:31 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
期間 介面hang住 ,中斷連線
Last login: Sat Oct 8 14:11:44 2011 from 10.1.165.6
重新登入後,再次執行sqlplus / 遇到如下錯誤!
admin@sf1:/opt/11202/oracle/products/11.2.0/bin>sqlplus /
SQL*Plus: Release 11.2.0.2.0 Production on Tue Oct 11 10:15:12 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-09945: Unable to initialize the audit trail file
Linux-x86_64 Error: 28: No space left on device
ORA-01013: user requested cancel of current operation
admin@sf1:/opt/11202/oracle/products/11.2.0/bin>df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 6.3G 12G 35% /
/dev/sda6 1.1T 111G 875G 12% /home
/dev/sda3 19G 18G 0 100% /opt --系統空間短時間內爆滿!
原因 觸發oracle 的一個bug:
Bug 11827204: NON-OSDBA USERS WITH LOCAL CONNECTIONS: ORA-15025 ORA-27041
=== ODM Issue Clarification ===
PreProduction: non-RAC - 112020 (asm) - 112020 (db) - Linux x86-64
(2.6.18-164.15.1.el5) - No asmlib
Problem occurs when making a sqlplus local connection from a unix id other
than the oracle id, ie with a personal or application unix id.
當使用非oracle 使用者組成員登入資料庫時,會觸發此bug!
------------------------------------------------------------------------
$ . oraenv
ORACLE_SID = [PRLMCD01] ? PRLMCD01
ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID llavoie.
You can set ORACLE_BASE manually if it is required.
$ sqlplus ismdba@PRLMCD01
SQL*Plus: Release 11.2.0.2.0 Production on Fri Feb 18 15:04:10 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
------------------------------------------------------------------------
At this point it hangs. Checking the alert log show continuous stream of
error messages:
登入介面hang住,大量如下錯誤寫入alertlog 日誌檔案中和trace 檔案中!
ORA-15025: could not open disk "/dev/mapper/asm-pn02"
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
最終會導致系統空間被上述的錯誤資訊使用的空間佔用,導致資料庫hang住!
如何暫時的解決:Problem can be stopped by killing the LOCAL process.
當非oracle 使用者進行操作時可以使用TNS名來訪問資料庫!如:
sqlplus user/pwd@TNSNAME
時,並不會傳送這樣的錯誤!
The /dev/mapper/asm-* devices are under asmdba group
Additional information:
~~~~~~~~~~~~~~~~~~~~~~~~~
* Job role separation:
asm=oraasm oinstall,asmdba,asmadmin,asmoper,dbalmdb
db=oralmdb oinstall,ddba to these users. However the asm disks are also
partbalmdb,asmdba
* Workaround: Grant asm
of this group, so they do not feel safe with this WA
* file system is 20Gb .. usually 14Gb can be used by the alert log
* This was never a 112010 and is their first ever ASM implementation.
* Pre-production. Go-live is scheduled for end of March.
DIAGNOSTIC ANALYSIS:
--------------------
* OS job separation is proper.
* Non-OSDBA users should be granted access to the database.
WORKAROUND:
-----------
* Grant asmdba to these users. However the asm disks are also part of this
group, so they do not feel safe with this WA
bug 相關屬性:
型別 B - Defect 已在產品版本中修復 -
嚴重性 2 - Severe Loss of Service 產品版本 11.2.0.2.0
狀態 33 - Suspended, Req'd Info not Avail 平臺 226 - Linux x86-64
建立時間 02-Mar-2011 平臺版本 NO DATA
更新時間 22-Jul-2011 基本 Bug -
資料庫版本 11.2.0.2.0
影響平臺 Generic
產品源 Oracle
####敬畏流程,正確做事####
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-708994/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Local Connections and Secure Remote Connections (36)REM
- ORACLE ORA-15025 ORA-27041 報錯解決方法Oracle
- 2.2.2 Overview of Common and Local Users in a CDBView
- ASM device error ORA-27041 ORA-15025 ORA-15081 (Doc ID 1487475.1)ASMdevError
- expdp Hit bug( Bug 5879865)
- [BUG反饋]文件模型bug模型
- [BUG反饋]安裝bug?
- Oracle Debug ---- oradebugOracle
- local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728ErrorException
- 給找 Bug 的工具(larastan)找 BugAST
- 【bug】掘金md文字解析器bug
- [BUG反饋]模型增加欄位BUG模型
- oracle bugOracle
- [BUG反饋]後臺選單管理BUG
- [BUG反饋]資料庫備份bug資料庫
- 「前端 BUG 錄」遇到BUG應該如何排查前端
- IE CSS Bug系列:自定義游標BugCSS
- [BUG反饋]AuthGroupModel的CheckId有BUG
- IE CSS Bug系列:圖片標籤聚焦 BugCSS
- IE CSS Bug系列:通配選擇符BugCSS
- flex已知bugFlex
- 網站 BUG網站
- MySQL 鎖bug?MySql
- iOS Bug收集iOS
- mysql bug 55981MySql
- mysql 安全bugMySql
- windows 的bugWindows
- Debug BAPIAPI
- debug exceptionException
- [BUG反饋]onethink備份資料庫BUG資料庫
- [BUG反饋]關於設定選單的BUG
- [BUG反饋]模型中刪除欄位的BUG模型
- BUG管理系統運維記錄(bugfree)運維
- IE CSS Bug系列:IE6忽略!important的BugCSSImport
- [BUG反饋]兩個關於釋出文章的BUG
- [BUG反饋]admin的二級選單排序BUG排序
- [BUG反饋]除錯模式下函式U()的BUG除錯模式函式
- 談談Bug引起的複雜性“Bug-O” — OverreactedReact