Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dxtoolkit not working on RHEL7

    Posted 06-10-2021 09:49:00 AM
    Edited by Nitin Bhutada 06-10-2021 01:42:47 PM
    I am new to the community. I have downloaded and installed dxtoolkit (dxtoolkit2-v2.4.8-redhat7-installer.tar) but having issues. None of the command is working. It's not throwing any error and I get command prompt immediately.
    I tried with -debug flag and -help but nothing works.

    [delphix_svc@dc2nix2d225 dxtoolkit2]$ pwd
    /export/opt/delphix_svc/dxtoolkit/dxtoolkit2
    [delphix_svc@dc2nix2d225 dxtoolkit2]$ /export/opt/delphix_svc/dxtoolkit/dxtoolkit2/dx_get_snapshots -help
    [delphix_svc@dc2nix2d225 dxtoolkit2]$

    -----------
    I have just installed latest version dxtoolkit2-v2.4.12-redhat7-installer.tar.gz and still same behavior. I have verified 

    Prerequisites

    • OpenSSL 1.0 library is required for Solaris Sparc, Solaris x64, Red Hat 6 and Red Hat 7

    openssl version
    OpenSSL 1.0.2k-fips 26 Jan 2017
    dc2nix2d225 pwd
    /export/opt/delphix_svc/dxtoolkit2


    ------------------------------
    Nitin Bhutada
    VP
    Alliance Bernstein LP
    ------------------------------


  • 2.  RE: dxtoolkit not working on RHEL7

    Posted 06-10-2021 03:47:00 PM
    Hi Nitin,

    Can you check a few things? The dxtoolkit command are actually symbolic links to a file called "runner":
    $ file /home/sybase/dxtoolkit2/dx_get_snapshots
    /home/sybase/dxtoolkit2/dx_get_snapshots: symbolic link to runner


    $ ls -la | grep dx_get_snapshots
    lrwxrwxrwx. 1 sybase sybase 6 Jan 25 14:15 dx_get_snapshots -> runner


    $ ls -la runner
    -rwxr-xr-x. 1 sybase sybase 13366943 May 6 2020 runner

    $ file runner
    runner: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=e4fadf788e77b5b65224214b3fcb2f7c0beefcdf, stripped

    $ ldd ./runner
    linux-vdso.so.1 (0x00007ffe62999000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9210fff000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f9210de8000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f9210bcf000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f92109cb000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f9210649000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f9210420000)
    libutil.so.1 => /lib64/libutil.so.1 (0x00007f921021c000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f920fe5a000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f921121f000)
    Can you run the above commands and show us the output? They should tell us if the symbolic links are pointing at the correct executable and whether or not the "runner" binary has the correct permissions and if it is for the correct operating system.

    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: dxtoolkit not working on RHEL7

    Posted 06-10-2021 04:08:00 PM

    Neal,

     

    dc2nix2d225 file dx_get_snapshots

    dx_get_snapshots: symbolic link to `runner'

    dc2nix2d225 ls -la | grep dx_get_snapshots

    lrwxrwxrwx  1 delphix_svc oinstall        6 Jun 10 14:46 dx_get_snapshots -> runner

    dc2nix2d225 ls -la runner

    -rwxr-xr-x 1 delphix_svc oinstall 13377818 Jun  3 08:04 runner

    dc2nix2d225 file runner

    runner: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=e4fadf788e77b5b65224214b3fcb2f7c0beefcdf, stripped

    dc2nix2d225 ldd ./runner

            linux-vdso.so.1 =>  (0x00007ffee25e0000)

            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd804bf0000)

            libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fd8049d6000)

            libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fd8047bc000)

            libdl.so.2 => /lib64/libdl.so.2 (0x00007fd8045b8000)

            libm.so.6 => /lib64/libm.so.6 (0x00007fd8042b6000)

            libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fd80407f000)

            libutil.so.1 => /lib64/libutil.so.1 (0x00007fd803e7c000)

            libc.so.6 => /lib64/libc.so.6 (0x00007fd803aae000)

            /lib64/ld-linux-x86-64.so.2 (0x00007fd804e0c000)

            libfreebl3.so => /lib64/libfreebl3.so (0x00007fd8038ab000)

     

    Regards,

    Nitin Bhutada

    GETS – DatabaseServices & Cloud - Engineering

    T +1 212 8872805

    nitin.bhutada@AllianceBernstein.com

     

     

    1345 Avenue of the Americas

    New York, NY  10105

     

    AllianceBernstein.com

     

    Twitter   LinkedIn   YouTube   Facebook

     






  • 4.  RE: dxtoolkit not working on RHEL7

    Posted 09-07-2021 04:48:00 AM
    Hi,

    This issue may be related to a /tmp file system mounted with noexec flag. By default dxtoolkit is extracting binaries into /tmp 
    and if there is noexec flag it can't be executed. To fix this issue you may need to set TMP and TEMP environment variable 
    to a file system which has a executable flag set and use this file system as temporary file system for dxtoolkit.

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Manager
    Delphix
    ------------------------------