zoukankan      html  css  js  c++  java
  • 如何跟踪dbca工具,Tracing the Database Configuration Assistant (DBCA)

    以下文档摘自metalink doc : 188134.1 Subject: Tracing the Database Configuration Assistant (DBCA)   Doc ID: 188134.1 Type:  BULLETIN   Modified Date:  09-OCT-2008 Status:  PUBLISHED Purpose ------- The Purpose of this document is to assist in debugging DBCA problems.   Scope & Application ------------------- This document is for DBAs and support analysts to troubleshoot DBCA issues. Tracing the Database Configuration Assistant (DBCA) ---------------------------------------------------   To provide verbose output for DBCA, tracing can be enabled to provide additional output.  To turn on tracing from 9i to 10g: 1. Do a copy of the original dbca file in $ORACLE_HOME/bin. For example:    cp $ORACLE_HOME/bin/dbca $ORACLE_HOME/bin/dbca.ori 2. vi the dbca file in the $ORACLE_HOME/bin directory. 3. At the end of the file, look for the following line:    # Run DBCA    $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath    $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS 4. Add the following just before the -classpath in the '$JRE_DIR' line:    -DTRACING.ENABLED=true -DTRACING.LEVEL=2 5. At the end of the dbca file, the string should now look like this:    # Run DBCA    $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m    -DTRACING.ENABLED=true -DTRACING.LEVEL=2 -classpath $CLASSPATH    oracle.sysman.assistants.dbca.Dbca $ARGUMENTS The -DTRACING.LEVEL was missing a space after the 2 so that it looks like 2-classpath. 6. To trace run:    [opcbsol1]/u01/home/usupport> dbca > dbca.out & The output will be written to the dbca.out file. In 10.2  you can add the -DDEBUG flag  so that you get the debug information given to you interactively "C:\oracle\product\10.2.0\racdb\jdk\jre\BIN\JAVA" -DDEBUG -DORACLE_HOME="%OH%" - DJDBC_PROTOCOL=thin -mx128m oracle.sysman.assistants.dbca.Dbca %* BUT in 10.2 you should already have the trace information written automatically to the following location $ORACLE_HOME/cfgtoollogs/dbca/trace.log In 11g, the location of trace.log has changed to: $ORACLE_BASE/cfgtoollogs/dbca/<DBNAME>/trace.log .
  • 相关阅读:
    list中的对象或者map中的版本号排序 version排序
    spring boot jpa 复杂查询 动态查询 连接and和or 模糊查询 分页查询
    java 8 list的stream操作 list中的对象中的某一个成员取出转为该成员的list,以及对象过滤,筛选某个属性后的成员
    map或者对象转换
    Feign代理必须加value否则启动失败
    Eclipse中.setting目录下文件介绍
    远程仓库版本回退方法
    SpringMVC异常处理机制
    android studio启动和项目编译问题
    CentOS6.5安装php7+nginx+mysql实现安装WordPress
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967337.html
Copyright © 2011-2022 走看看