Menu

config multi servers update

Help
Dang
2013-04-12
2013-05-29
  • Dang

    Dang - 2013-04-12

    Hello,

    i use inadyn-mt v02.24.36 with ms-pid-04 patch

    i want to use the multi option and had the following config
    -forced_update_period_sec 6000
    -username xxxx
    -password xxxx
    -alias xxxx
    -dyndns_system default@no-ip.com

    -forced_update_period_sec 5000
    -username yyyy
    -password yyyy
    -alias yyyyy
    -dyndns_system dyndns@dyndns.org

    But i did not work. The log showed that inadyn-mt sent update queries of both hosts to dyndns.org instead of one to no-ip and one to dyndns.
    How to use the ms option?
    Thanks a lot

     
  • Bryan Hoover

    Bryan Hoover - 2013-04-12

    Thanks for your question. 

    Instructions on how to do this appear in the file, readme.html, found in the inadyn-mt root directory - see the instructions at the end of the dyndns_system option explanation.

    To reiterate:

    "Server related parameters are applied to the most recent dyndns_system option parameter appearing on the command line…"

    Based on your configuration file, it looks like you could simply move the dyndns_system option before the username option in each of the two sets of options you've got there. 

    For instance:

    -forced_update_period_sec 6000

    -dyndns_system default@no-ip.com -username xxxx -password xxxx -alias xxxx

    -dyndns_system dyndns@dyndns.org -username yyyy -password yyyy -alias yyyyy

    Also, "Per server option parameters include credentials; ip server, url, port; dyn dns server, url, port; host alias names."  That is, there is only one forced_update_period_sec option for all servers.

    Also, make sure the patch was applied successfully.  Run inadyn-mt -version.  It should return something ike:

    Fri Apr 12 16:26:44 2013: Version: 02.24.36_audible-ms_pid_patch_04

    Please do write again, if you're still having problems.

    Cheers!

     
  • Dang

    Dang - 2013-04-15

    Hi,

    as your advise i wrote this config

    -version
    -forced_update_period 6000
    -dyndns_system default@no-ip.com -username xxxx -password xxxx -alias xxxx
    -dyndns_system dyndns@dyndns.org -username yyyy -password yyyy -alias yyyyy

    but i get a seg fault

    Sat Jan  1 01:12:25 2000: I:LANG: Language file search locale:  C…
    Sat Jan  1 01:12:25 2000: W:LANG: Cannot open language file.  Will use english d
    efaults, or default override (-lang_file <path/file_name>…)
    Sat Jan  1 01:12:25 2000: Version: 02.24.36_mt-ms_pid_patch_04
    Segmentation fault

    Please help, thanks

     
  • Bryan Hoover

    Bryan Hoover - 2013-04-15

    Thanks for update.

    I can not reproduce the segfault.  However, you should remove the -version option from your configuration file, as this will cause the program to exit, upon displaying the program version.  I'd meant you run this command singularly from the command line.

    So simply removing -version from config should get you going.

    Oh and, -forced_update_period_sec is invalid parameter - it should be -forced_update_period, and though it does not contain the "word" sec, it is indeed calculated in seconds.

    If you care to give more information, it may help reproducing the fault - such as what operating system, and operating system version you're running.  Compile method - ./configure and options, or makefile-deprecated, etc.  If you ran configure, did you run make install as root after running make?  If not ./configure (autotools) how/where did you install the executable after running make with makefile-deprecated?  From what directory did you run inadyn-mt?  And anything else that you think might be helpful.

    Ciao!

     
  • Dang

    Dang - 2013-04-16

    Thanks,

    so here are more information:
    im using arm linux and after patching. i did this
    realloc and malloc were not detected properly so:
    # configure makefile
    export ac_cv_func_malloc_0_nonnull=yes
    export ac_cv_func_realloc_0_nonnull=yes
    ./configure ac_cv_func_malloc_0_nonnull=yes \
    ac_cv_func_realloc_0_nonnull=yes \
    -prefix=/ -exec-prefix=/ -host=arm-linux -target=arm-linux -disable-sound ./configure ac_cv_func_malloc_0_nonnull=yes \
    ac_cv_func_realloc_0_nonnull=yes \
    -prefix=/ -exec-prefix=/ -host=arm-linux -target=arm-linux -disable-sound -enable-threads -enable-debug \
    CC=${CROSS_COMPILER}gcc
    and then just call "make"

    Maybe is the problem there?

    I run inadyn-mt from /sbin/ and login as root. i run make and install also as root.

    Thanks again for your quick support. really appreciate that ^^

     

Log in to post a comment.