cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1259
Views
0
Helpful
0
Comments
TCC_2
Level 10
Level 10

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: