Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dx_get_db_env error on powershell

    Posted 07-27-2022 10:24:00 AM
    While executing dx_get_db_env from powershell, below messages are displayed plenty of times and then the result is displayed. Though I am getting the result as expected, is there a way to suppress these messages?

    Use of uninitialized value in string eq at C:\Users\Mahesh\AppData\Local\Temp\par-613730393030\cache-c958542f27b651ceaa3f99fee531953f9ca15446\inc\lib/Engine.pm line 1064.

    The command being used is 

    .\dx_get_db_env -all -type dsource

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------


  • 2.  RE: dx_get_db_env error on powershell

    Posted 08-02-2022 03:57:00 AM
    Hi,

    Please let me know what version of dxtoolkit are you using ? 

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Director, Technical Services
    Delphix
    ------------------------------



  • 3.  RE: dx_get_db_env error on powershell

    Posted 08-04-2022 12:52:00 PM
    The version being used is 2.4.14

    The debug zip has been emailed to Marcin Przepiorowski

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------



  • 4.  RE: dx_get_db_env error on powershell

    Posted 11-13-2023 11:23:00 AM

    Hi,

    can you let me know what the fix for this was/is because we are hitting the same error using the same release 2.4.14-rc1

    regards

    Piers



    ------------------------------
    Piers Collins
    Delphix Community Members
    ------------------------------



  • 5.  RE: dx_get_db_env error on powershell
    Best Answer

    Posted 11-13-2023 11:48:00 AM

    Hello,

    It looks like there was one issue fixed in 2.4.15 but there is still one open issue for the same error:

    • https://github.com/delphix/dxtoolkit/issues?q=is%3Aissue+dx_get_db_env++Use+of+uninitialized+value+in+string+eq

    You might try downloading the latest release ( https://github.com/delphix/dxtoolkit/releases ) to see if it resolves the issue.

    If you still get it with the latest version, they requested that the other user reproduce the error with the "-debug 3" flag.

    Thanks,

    Neal



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



  • 6.  RE: dx_get_db_env error on powershell

    Posted 11-14-2023 06:39:00 AM

    Thanks Neal, I downloaded the latest patch and this seems to have fixed the issue for me.



    ------------------------------
    Piers Collins
    Senior Database Engineer
    Glencore UK Ltd
    ------------------------------



  • 7.  RE: dx_get_db_env error on powershell

    Posted 11-14-2023 02:39:00 AM

    Hi Piers,

    Dxtoolkit version you should use is always related to the version of virtualization engine. Version 2.4.14 has been released long time ago

    and since that time virtualization engine API has been changed. 

    The error is related to the timezone and time API and how Delphix engine is presenting it. 

    Please upgrade to the latest dxtoolkit if you have modern engines.

    regards,

    Marcin



    ------------------------------
    Marcin Przepiorowski
    Director, Technical Services
    Delphix
    ------------------------------