Drift Detector (DD) nohup file displays "FileNotFound" errors

Document

Jun 22, 2009 4:02 PM
Jun 22nd, 2009

Core Issue

These DD nohup file error messages are displayed:

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException:

/opt/dynamicsoft/DriftDetector_2_0_0_5/log/log.txt
(No such file or directory)

at java.io.FileOutputStream.openAppend(Native Method)

The destination of the log.txt file is mis-configured under all or one of these files:

  • Under the DD Install_dir/bin, view the DD startup script.

    For example:

    dsuser$ more start_dd.sh

    JAVA_HOME=/usr/j2sdk1.4.2_04

    INSTALL_DIR=/opt/dynamicsoft/dsProducts/DD/2.0.0.5

    SYNC_OBJ=APPSYS

    #options:SUB|APPSYS

    CFG_FILE=${INSTALL_DIR}/cfg/driftconfig.xml

    LOG_FILE1=${INSTALL_DIR}/log/log.txt

    LOG_FILE2=${INSTALL_DIR}/log/replay-log.txt

    LOG_FILE3=${INSTALL_DIR}/log/sync-these.txt

    DUMP_FILE=${INSTALL_DIR}/bin/subscriber.dump


  • Under the DD Install_dir/cfg, view the DD log4j.properties file.

    For example:

    log4j.appender.debugError.File=
    /opt/dynamicsoft/DriftDetector_2_0_0_5/log/log.txt

Resolution

Complete these steps to modify the files to the proper destination:

  1. Login to both DataGateway (DGW) machines.

  2. Navigate to DD Install_dir/bin.

  3. Edit the DD startup script with the proper configuration.

  4. Do the same under the DD Install_dir/cfg for log4j.properties file.

Since DD runs once a day and is executed by the UNIX cron shell script, there is no need to restart the server after the change. The changes take affect the next time the DD runs automatically.

Average Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Document

Posted June 22, 2009 at 4:02 PM
Stats:
Comments:0 Avg. Rating:0
Views:1109 Contributors:0
Shares:0

Documents Leaderboard

Rank Username Points
1 54
2 5
Rank Username Points
5