用于 SAP Web Application Server 的 Sun Cluster 数据服务指南(适用于 Solaris OS)

如何为 Sun Cluster HA for SAP J2EE 引擎 激活调试

  1. 编辑文件 /etc/syslog.conf

    在文件 /etc/syslog.conf 中,将 daemon.notice 更改为 daemon.debug


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator

    daemon.notice 更改为 daemon.debug 并重新启动 syslogd。命令 grep daemon /etc/syslog.conf 将产生以下输出,其中显示现已设置 daemon.debug


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator
    #
    # pkill -1 syslogd
    
  2. 编辑 /opt/SUNWscswa/etc/config 文件。

    在文件 /opt/SUNWscswa/etc/config 中,将 DEBUG= 更改为 DEBUG=ALLDEBUG=resource


    # cat /opt/SUNWscswa/etc/config
    #
    # Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL
    #

注意 –

要取消激活调试,请以相反顺序执行本过程中的步骤。