Delphix Toolkits (dxToolkit and dxmToolkit)

Expand all | Collapse all

dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

Jump to Best Answer
  • 1.  dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 09:53:00 AM
    Hi,

    I have upgraded Delphix Engine to version 6.0.4.1 today, and old dxtoolkit is not working.
    Installed latest dxtoolkit version Release v2.4.9. (dxtoolkit2-v2.4.9-redhat7-installer.tar.gz). But, unable to run dxtoolkit commands, its failing with below error:

    /dxtoolkit2 $ ./dx_get_appliance
    POSIX object version 1.76 does not match $POSIX::VERSION 1.53 at <embedded>/DynaLoader.pm line 210.
    Compilation failed in require at ../lib/POSIX_osuser.pm line 19.
    BEGIN failed--compilation aborted at ../lib/POSIX_osuser.pm line 19.
    Compilation failed in require at ../lib/Engine.pm line 36.
    BEGIN failed--compilation aborted at ../lib/Engine.pm line 39.
    Compilation failed in require at script/dx_get_appliance.pl line 36.
    BEGIN failed--compilation aborted at script/dx_get_appliance.pl line 36.

    OS Release:
    NAME="Oracle Linux Server"
    VERSION="7.8"


    Please suggest how to fix this issue. This is Urgent

    Thanks,

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------


  • 2.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 10:11:00 AM
    Hi,

    Could you please check if there any file like /tmp/par-* and delete them before you will run a command again ?

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 3.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 10:22:00 AM
    Hi Marcin,

    Cleared all the files /tmp/par-* and reran the command, its still failing with same error:

    $ ls -l /tmp/par-*
    ls: cannot access /tmp/par-*: No such file or directory
    $ ./dx_get_appliance
    POSIX object version 1.76 does not match $POSIX::VERSION 1.53 at <embedded>/DynaLoader.pm line 210.

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 4.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 10:44:00 AM
    Hi,

    Could you please run md5sum command on runner file inside dxtoolkit directory ?

    [dxtoolkit2]$ md5sum runner
    28eb0f6c198f1d7d2a54132d800b11eb runner

    and let me know what is a result of it ?

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 5.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 11:04:00 AM
    Hi,

    Please refer below output:

    /home/delphix/dxtoolkit2 $ md5sum runner
    28eb0f6c198f1d7d2a54132d800b11eb runner

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 6.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 11:23:00 AM
    Hi,

    Could you please check if dx_get_appliance symlink is pointed to runner like this ?

    dx_get_appliance -> runner

    It's hard to say why you see this error ?

    It's working OK on my test server:

    [oracle@oracle19 ~]$ cat /etc/oracle-release
    Oracle Linux Server release 7.8
    [oracle@oracle19 ~]$ md5sum dxtoolkit2/runner
    28eb0f6c198f1d7d2a54132d800b11eb dxtoolkit2/runner
    [oracle@oracle19 ~]$ dxtoolkit2/dx_get_appliance -version
    2.4.9

    Could you please run:

    rm dx_get_appliance
    cp runner dx_get_appliance
    strace -f -o trace.out ./dx_get_appliance -version


    and send an output here ?

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 7.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 11:37:00 AM
    Hi,

    Please refer below requested details, version command also failing. Attached trace.out for your review.

    $ ls -l dx_get_appliance
    lrwxrwxrwx 1 delphix dba 6 Oct 2 07:47 dx_get_appliance -> runner

    $ rm dx_get_appliance
    $ cp runner dx_get_appliance
    $ strace -f -o trace.out ./dx_get_appliance -version
    POSIX object version 1.76 does not match $POSIX::VERSION 1.53 at <embedded>/DynaLoader.pm line 210.
    Compilation failed in require at ../lib/POSIX_osuser.pm line 19.
    BEGIN failed--compilation aborted at ../lib/POSIX_osuser.pm line 19.
    Compilation failed in require at ../lib/Engine.pm line 36.
    BEGIN failed--compilation aborted at ../lib/Engine.pm line 39.
    Compilation failed in require at script/dx_get_appliance.pl line 36.
    BEGIN failed--compilation aborted at script/dx_get_appliance.pl line 36.

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 8.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 12:33:00 PM
    Hi,

    Is there any chance that you have a POSIX.pm file in your directory somewhere ?
    For example did you download a dxtoolkit source code as well ?

    I can see that this file was found in ../lib/POSIX.pm directory instead in /tmp/par- one

    refardsm
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 9.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 01:07:00 PM
    Hi,

    I just downloaded from this link, and this directory dxtoolkit2 is extract of the tar.gz, there is no additional POSIX under that.
    Can't say what ../lib/POSIX.pm is referring to.

    https://github.com/delphix/dxtoolkit/releases/download/v2.4.9/dxtoolkit2-v2.4.9-redhat7-installer.tar.gz

    I can check if you can provide details where to check?

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 10.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-05-2020 03:54:00 AM
    Hi,

    I just wonder if there is a source of dxtoolkit downloaded before and sitting in the same directory.
    If you go to your downloaded dxtoolkit directory - can you do

    ls -l ../

    ls -l ../lib

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 11.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-07-2020 05:41:00 AM
    Hi Marcin,

    Yes, I see there is a lib directory in parent directory of dxtoolkit2. I am not aware how/where this got generated and whether its being used currently?
    If you know and suggest to move this lib directory without impacting anything else, I can try to move and attempt the command again.
    Please confirm.

    /home/delphix/dxtoolkit2 $ ls -l ../lib
    total 1664
    -rw-r--r-- 1 delphix dba 11729 May 28 2019 Action_obj.pm
    -rw-r--r-- 1 delphix dba 15522 May 28 2019 AppDataVDB_obj.pm
    drwxr-xr-x 29 delphix dba 4096 Oct 16 2019 auto
    -rw-r--r-- 1 delphix dba 15816 May 28 2019 AutoLoader.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 B
    -rw-r--r-- 1 delphix dba 7390 May 28 2019 base.pm
    -rw-r--r-- 1 delphix dba 10488 May 28 2019 Bookmark_obj.pm
    -rw-r--r-- 1 delphix dba 32618 May 28 2019 B.pm
    -r--r--r-- 1 delphix dba 758 Jan 5 2016 bytes_heavy.pl
    -rw-r--r-- 1 delphix dba 3033 May 28 2019 bytes.pm
    -rw-r--r-- 1 delphix dba 30436 May 28 2019 Carp.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Class
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 common
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 Compress
    -r--r--r-- 1 delphix dba 409 Jan 5 2016 Config_git.pl
    -r--r--r-- 1 delphix dba 42845 Jan 5 2016 Config_heavy.pl
    -rw-r--r-- 1 delphix dba 3276 May 28 2019 Config.pm
    -rw-r--r-- 1 delphix dba 14724 May 28 2019 constant.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Crypt
    -rw-r--r-- 1 delphix dba 22587 May 28 2019 Cwd.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Data
    -rw-r--r-- 1 delphix dba 22241 May 28 2019 Databases.pm
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 Date
    -rw-r--r-- 1 delphix dba 17958 May 28 2019 DB2VDB_obj.pm
    -rw-r--r-- 1 delphix dba 1645 May 28 2019 dbutils.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Digest
    -rw-r--r-- 1 delphix dba 25485 May 28 2019 DynaLoader.pm
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 Encode
    -rw-r--r-- 1 delphix dba 34186 May 28 2019 Encode.pm
    -rw-r--r-- 1 delphix dba 22443 May 28 2019 encoding.pm
    -rw-r--r-- 1 delphix dba 40779 May 28 2019 Engine.pm
    -rw-r--r-- 1 delphix dba 38379 May 28 2019 Environment_obj.pm
    -rw-r--r-- 1 delphix dba 6482 May 28 2019 Errno.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Exporter
    -rw-r--r-- 1 delphix dba 18746 May 28 2019 Exporter.pm
    -rw-r--r-- 1 delphix dba 4044 May 28 2019 Fcntl.pm
    -rw-r--r-- 1 delphix dba 15659 May 28 2019 feature.pm
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 File
    -rw-r--r-- 1 delphix dba 6778 May 28 2019 FileHandle.pm
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 Filter
    -rw-r--r-- 1 delphix dba 4561 May 28 2019 FindBin.pm
    -rw-r--r-- 1 delphix dba 6797 May 28 2019 Formater.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Getopt
    -rw-r--r-- 1 delphix dba 6094 May 28 2019 Group_obj.pm
    -rw-r--r-- 1 delphix dba 4871 May 28 2019 Host_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 HTML
    drwxr-xr-x 5 delphix dba 4096 Oct 16 2019 HTTP
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 I18N
    -rw-r--r-- 1 delphix dba 3340 May 28 2019 if.pm
    -rw-r--r-- 1 delphix dba 3254 May 28 2019 integer.pm
    drwxr-xr-x 5 delphix dba 4096 Oct 16 2019 IO
    -rw-r--r-- 1 delphix dba 1397 May 28 2019 IO.pm
    -rw-r--r-- 1 delphix dba 11366 May 28 2019 Jobs_obj.pm
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 JSON
    -rw-r--r-- 1 delphix dba 68658 May 28 2019 JSON.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 List
    -rw-r--r-- 1 delphix dba 3811 May 28 2019 locale.pm
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 LWP
    -rw-r--r-- 1 delphix dba 21658 May 28 2019 LWP.pm
    -rw-r--r-- 1 delphix dba 780 May 28 2019 MAC_osuser.pm
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 Math
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 MIME
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 Mozilla
    -rw-r--r-- 1 delphix dba 10099 May 28 2019 mro.pm
    -rw-r--r-- 1 delphix dba 36701 May 28 2019 MSSQLVDB_obj.pm
    -rw-r--r-- 1 delphix dba 7184 May 28 2019 Namespace_obj.pm
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 Net
    -rw-r--r-- 1 delphix dba 8016 May 28 2019 open.pm
    -rw-r--r-- 1 delphix dba 11467 May 28 2019 Op_template_obj.pm
    -rw-r--r-- 1 delphix dba 53714 May 28 2019 OracleVDB_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 overload
    -rw-r--r-- 1 delphix dba 1808 May 28 2019 overloading.pm
    -rw-r--r-- 1 delphix dba 53339 May 28 2019 overload.pm
    -rw-r--r-- 1 delphix dba 2592 May 28 2019 parent.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 PerlIO
    -rw-r--r-- 1 delphix dba 10458 May 28 2019 PerlIO.pm
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 Pod
    -rw-r--r-- 1 delphix dba 844 May 28 2019 POSIX_osuser.pm
    -rw-r--r-- 1 delphix dba 17976 May 28 2019 POSIX.pm
    -rw-r--r-- 1 delphix dba 22364 May 28 2019 re.pm
    -rw-r--r-- 1 delphix dba 8369 May 28 2019 Repository_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Scalar
    -rw-r--r-- 1 delphix dba 1076 May 28 2019 SelectSaver.pm
    -rw-r--r-- 1 delphix dba 30186 May 28 2019 Snapshot_obj.pm
    -rw-r--r-- 1 delphix dba 36433 May 28 2019 Socket.pm
    -rw-r--r-- 1 delphix dba 12340 May 28 2019 SourceConfig_obj.pm
    -rw-r--r-- 1 delphix dba 6142 May 28 2019 Source_obj.pm
    -rw-r--r-- 1 delphix dba 43142 May 28 2019 Storable.pm
    -rw-r--r-- 1 delphix dba 4433 May 28 2019 strict.pm
    -rw-r--r-- 1 delphix dba 848 May 28 2019 subs.pm
    -rw-r--r-- 1 delphix dba 24121 May 28 2019 SybaseVDB_obj.pm
    -rw-r--r-- 1 delphix dba 4794 May 28 2019 Symbol.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Sys
    -rw-r--r-- 1 delphix dba 13553 May 28 2019 System_obj.pm
    -rw-r--r-- 1 delphix dba 12457 May 28 2019 Template_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Term
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Text
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Tie
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Time
    -rw-r--r-- 1 delphix dba 16230 May 28 2019 Timeflow_obj.pm
    -rw-r--r-- 1 delphix dba 21982 May 28 2019 Toolkit_helpers.pm
    -rw-r--r-- 1 delphix dba 2384 May 28 2019 Toolkit_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Try
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 Types
    drwxr-xr-x 4 delphix dba 4096 Oct 16 2019 unicore
    drwxr-xr-x 3 delphix dba 4096 Oct 16 2019 URI
    -rw-r--r-- 1 delphix dba 34779 May 28 2019 URI.pm
    -rw-r--r-- 1 delphix dba 32002 May 28 2019 utf8_heavy.pl
    -rw-r--r-- 1 delphix dba 9869 May 28 2019 utf8.pm
    -rw-r--r-- 1 delphix dba 2414 May 28 2019 vars.pm
    -rw-r--r-- 1 delphix dba 72244 May 28 2019 VDB_obj.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 version
    -rw-r--r-- 1 delphix dba 3288 May 28 2019 version.pm
    drwxr-xr-x 2 delphix dba 4096 Oct 16 2019 warnings
    -rw-r--r-- 1 delphix dba 44835 May 28 2019 warnings.pm
    -rw-r--r-- 1 delphix dba 806 May 28 2019 WINDOWS_osuser.pm
    -rw-r--r-- 1 delphix dba 11206 May 28 2019 XSLoader.pm


    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 12.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53
    Best Answer

    Posted 10-07-2020 05:52:00 AM
    Hi,

    It's possible that someone set

    export TEMP=/home/delphix
    export TMP=/home/delphix

    and run compiled version of dxtoolkit. This usually is required if /tmp directory doesn't allow you to execute programs from /tmp location.
    Could you validate if such variables are set ?

    Please try to rename this lib directory to lib.orig and execute command again.

    regards,
    Marcin


    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 13.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-07-2020 06:05:00 AM
    Hi Marcin,

    There is no such environmental variable found for both TMP and TEMP. Maybe it was one off setting by some other session.
    The suggested action to rename lib directory worked, and now I am able to run dxtoolkit commands using new version without any issues now.

    Thank you for your continued support on this issue and your prompt reply until resolution is really appreciated.

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------



  • 14.  RE: dxtoolkit commands failing Version Release v2.4.9 - POSIX object version 1.76 does not match $POSIX::VERSION 1.53

    Posted 10-02-2020 11:41:00 AM
      |   view attached
    Uploading again, as last upload was failed due to unsupported .out file:

    Must be a supported file.
     Unable to upload.  
    -  trace.out


    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------

    Attachment(s)

    txt
    trace.txt   191 KB 1 version