Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
Expand all | Collapse all

Trouble running the dxtoolkit commands on a Linux machine

  • 1.  Trouble running the dxtoolkit commands on a Linux machine

    Posted 9 days ago

    Hi everyone,

    I'm having trouble running the dxtoolkit command on my Linux machine. I followed these steps:

    1. I checked the current working directory.
    2. I created a directory called delphix.
    3. I changed to the delphix directory.
    4. I used the wget command to download the dxtoolkit2-v2.4.20-redhat8-installer.tar.gz file from GitHub.
    5. I used the gunzip command to unzip the file.
    6. I used the tar command to extract the files from the archive.
    7. I changed to the dxtoolkit2 directory.
    8. I used the ls command to list the contents of the directory.
    9. I used the sh command to run the install.sh script.
    10. I created a file called dxtools.conf and modified the following entry:
      {

        "data":[
            {
                "hostname" : "xxxxx.xxx.com",
                "ip_address" : "xxx.1xx.xxx.xxx",
                "username" : "username",
                "password" : "pwd",
                "port" : "80",
                "default" : "false",
                "encrypted" : "false",
                "timeout" : "60"
            }
        ]
    }

    1. I ran the following command:
    ./dx_get_appliance -all

    Actual Output: Command did not return any output. DX Toolkit is installed and that the source_dir setting in the dxtools.conf file is correct.

    I hope this is more clear. Let me know if you have any other questions.

    command not working


    ------------------------------
    Nagalakshmi Thangavelu
    Delphix Community Members
    ------------------------------


  • 2.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 9 days ago

    Hello,

    If you run the command with the "--debug" argument, does it give you more information on the failure? Can you post the output of running with that flag?

    Thanks,

    Neal



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



  • 3.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 9 days ago

    Hi Neal,

    To follow up on our conversation about the debugging issue. I've attached the output from the -debug command, which I ran on the Linux machine.

    image

    I followed the same steps on my Windows machine, and the command worked as expected. However, I'm not getting the same results on the Linux machine.

    Can you please take a look at the output and let me know if you have any ideas?



    ------------------------------
    Nagalakshmi Thangavelu
    Delphix Community Members
    ------------------------------



  • 4.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 4 days ago

    Hello Nagalaxmi, 

    if you are using HTTPS then use port 443

    for HTTP check with 8080 or 80

    also can you try with this command and send logs

    ./dx_get_appliance -d ENGINE -configfile PATH_OF_CONF_FILE -debug



    ------------------------------
    Pankaj Asegaonkar
    Masking/Virtualization Specialist
    +91 9689996500
    ------------------------------



  • 5.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 4 days ago

    Thanks Pankaj . Tried both not working



    ------------------------------
    Nagalakshmi Thangavelu
    Community Member
    The TJX Companies, Inc.
    ------------------------------



  • 6.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 4 days ago

    Hello,

    What version are of Linux are you using? Can you run "cat /etc/*release" and provide the results?

    Can you run the following three commands and provide the results?

    ls -la dx_get_appliance 

    ls -la runner

    ldd runner



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



  • 7.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 4 days ago

    Hi Neal , Thank you . Please see the below result

    image

     

    [ @  dxtoolkit2]$ ls -la dx_get_appliance
    lrwxrwxrwx 1 XXXXX uxgenusr 6 Sep  8 12:49 dx_get_appliance -> runner
    [ @  dxtoolkit2]$ ls -la runner
    -rwxr-x--- 1 XXXXXX uxgenusr 13267585 Jul 12 10:42 runner
    [ @  dxtoolkit2]$ ldd runner
            linux-vdso.so.1 =>  (0x00007fff8890c000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f64d6f05000)
            libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f64d6ceb000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007f64d6ae7000)
            libm.so.6 => /lib64/libm.so.6 (0x00007f64d67e5000)
            libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f64d65ae000)
            libutil.so.1 => /lib64/libutil.so.1 (0x00007f64d63ab000)
            libc.so.6 => /lib64/libc.so.6 (0x00007f64d5fdd000)
            /lib64/ld-linux-x86-64.so.2 (0x00007f64d7572000)
            libfreebl3.so => /lib64/libfreebl3.so (0x00007f64d5dda000)
    [ @  dxtoolkit2]$ cat /etc/*release
    NAME="Red Hat Enterprise Linux Server"
    VERSION="7.9 (Maipo)"
    ID="rhel"
    ID_LIKE="fedora"
    VARIANT="Server"
    VARIANT_ID="server"
    VERSION_ID="7.9"
    PRETTY_NAME="Red Hat Enterprise Linux"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:server"
    HOME_URL="https://www.redhat.com/"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"

     

    REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
    REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
    REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
    REDHAT_SUPPORT_PRODUCT_VERSION="7.9"
    Red Hat Enterprise Linux Server release 7.9 (Maipo)
    Red Hat Enterprise Linux Server release 7.9 (Maipo)



    ------------------------------
    Nagalakshmi Thangavelu
    Community Member
    The TJX Companies, Inc.
    ------------------------------



  • 8.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 4 days ago

    Hello,

    It looks like you have RedHat 7.9 but you mentioned in your first post that you downloaded and installed "dxtoolkit2-v2.4.20-redhat8-installer.tar.gz" which is for RedHat 8.

    Can you try downloading and installing the one for RedHat 7 ( https://github.com/delphix/dxtoolkit/releases )?

    Thanks,

    Neal



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



  • 9.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 3 days ago

    Hello Nagalakshmi

    Did you try with RedHat 7 ( https://github.com/delphix/dxtoolkit/releases )?

    if you are facing issue kindly let me know



    ------------------------------
    Pankaj Asegaonkar
    Masking/Virtualization Specialist
    +91 9689996500
    ------------------------------



  • 10.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 3 days ago

    Hi Neal/Pankaj,

      Thank you. Install Redhat 7. Still the issue not resolved.



    ------------------------------
    Nagalakshmi Thangavelu
    Community Member
    The TJX Companies, Inc.
    ------------------------------



  • 11.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 3 days ago

    Hello,

    Did you rerun the "install.sh"? After rerunning the "install.sh" script, please provide the output from these commands:

    ls -la dx_get_appliance 

    ls -la runner

    ldd runner



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



  • 12.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 3 days ago
    Edited by Michael Torok 3 days ago
    Can you do
    Chmod 777 for dxtookit2 folder and try 



  • 13.  RE: Trouble running the dxtoolkit commands on a Linux machine