oracle error ORA-48913

Posted 钱若离花落

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle error ORA-48913相关的知识,希望对你有一定的参考价值。

Sat May 09 15:57:04 2020
Non critical error ORA-48913 caught while writing to trace file "/u01/app/oracle/diag/rdbms/mdb/mdb/trace/mdb_dbrm_7134.trc"
Error message: ORA-48913: Writing into trace file failed, file size limit [20971520] reached
Writing to the above trace file is disabled for now on...


初步看应该是超过了max dump file参数的限制,trace file达到了21M,而客户环境MAX_DUMP_FILE_SIZE参数值为 40960

[oracle@mdb ~]$ du -sh trace/
1.3G trace/

 

[oracle@mdb ~]$ du -sh trace/*dbrm*
21M trace/mdb_dbrm_7134.trc
1.3M trace/mdb_dbrm_7134.trm

--修改数据库参数

16:02:14 SYS@mdb(mdb)> show parameter MAX_DUMP_FILE_SIZE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
max_dump_file_size string 40960


alter system set MAX_DUMP_FILE_SIZE=unlimited scope=both;

16:03:03 SYS@mdb(mdb)> show parameter MAX_DUMP_FILE_SIZE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
max_dump_file_size string UNLIMITED
16:05:12 SYS@mdb(mdb)>


mos上解释如下:
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 18-Aug-2014***
SYMPTOMS
On 11.2.0.1, encountered the following error in the alert.log:

Non critical error ORA-48913 caught while writing to trace file "/oraotcprd1/app/oracle/diag/rdbms/otcprd1/OTCPRD11/trace/OTCPRD11_ora_14925.trc"
Error message: ORA-48913: Writing into trace file failed, file size limit [10485760] reached

CAUSE
Parameter MAX_DUMP_FILE_SIZE is set too low

SOLUTION
Increase the setting for the parameter MAX_DUMP_FILE_SIZE or set it to unlimited

For additional information on this parameter, refer to

Oracle Database Reference 11g Release 2 (11.2)
MAX_DUMP_FILE_SIZE

原因是由于MAX_DUMP_FILE_SIZE太小,解决方法是增加MAX_DUMP_FILE_SIZE大小,或者设置成无限制。

 

以上是关于oracle error ORA-48913的主要内容,如果未能解决你的问题,请参考以下文章

Oracle重启 error: ora-01034:oracle not available ora-27101:shared memory realm does not exist

Oracle索引修复 ,ORA-00600: internal error code, arguments: [6200],

Oracle索引修复 ,ORA-00600: internal error code, arguments: [6200],

安装oracle后登录时出现 ERROR: ORA-01031 insufficient privileges

ORACLE 11G DB RAC ORA-00257archiver error解决办法

用root连接oracle报错ERROR: ORA-12546: TNS:permission denied