Open-source Languages & Tools for z/OS

 View Only
  • 1.  Error during z/OS miniconda installation

    Posted 10-20-2020 23:15
    Hello, 

    during installation of miniconda-zos-1.2-2020-10-01.run we get the following error:

    Building the "base" Anaconda environment
    Done.
    ---- installing extra_pkgs to the base env ----
    conda-repo-cli-1.0.1+2.g39f4600-py_0.tar.bz2:

    Downloading and Extracting Packages
    *-None | | ########## | 100%
    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: done
    python: set_empty_channel 10: conda_install_extra_pkgs 14: run_setup 64: ./miniconda-zos-1.2-2020-10-01.run 391: cannot execute

    Please help!


    ------------------------------
    Andreas Mair
    ------------------------------


  • 2.  RE: Error during z/OS miniconda installation

    ROCKETEER
    Posted 10-23-2020 02:53
    Hello Andreas,

    Can you add the output of 'env | sort' command here

    Thanks

    ------------------------------
    Alexander Klochkov
    Rocket Software
    ------------------------------



  • 3.  RE: Error during z/OS miniconda installation

    Posted 10-23-2020 07:55
    Hello Alexander, 

    my env vars are basically this: 

    EZATMAIL_CSSMTP_EXTWRTNAME=TCPIPXXX
    HOME=/home/XXXXXXX
    JAVA_HOME=/usr/lpp/java/J8.0_64
    LANG=C
    LIBPATH=/usr/lpp/internet/bin:/usr/lpp/internet/sbin:/usr/lpp/ldap/lib:/lib:/usr/lib:/opt/tectia/lib:/opt/rocket/perl/lib/5.22.0/os390/CORE
    LOGNAME=XXXXXX
    MAIL=/usr/mail/XXXXXXX
    MANPATH=/usr/man/%L:/usr/local/man/%L:/opt/tectia/man/%L:/opt/rocket/perl/man
    NLSPATH=/usr/lpp/ldap/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N:/usr/lpp/internet/%L/%N:/usr/lpp/ldap/lib/nls
    PATH=/opt/rocket/bash/bin/:/opt/rocket/git/bin/:/usr/local/bin/:/opt/tectia/bin/:/usr/lpp/ldap/sbin:/bin:/usr/bin:/usr/local/bin:/opt/tectia/bin:/opt/bin:/usr/lpp/java/J8.0_64/bin
    PERL5LIB=/opt/rocket/perl/lib
    PS1=$LOGNAME at $SYSNAME $PWD $
    SHELL=/bin/sh
    SSH2_CLIENT=12.123.12.123 12345 123.12.1.12 22
    SSH2_CLIENT_CIPHER=aes256-ctr
    SSH2_CLIENT_COMPRESSION=none
    SSH2_CLIENT_HOSTKEY_ALG=ssh-rsa
    SSH2_CLIENT_LOGIN_METHOD=publickey
    SSH2_CLIENT_VERSION=SSH-2.0-PuTTY_Release_0.69
    SSH2_SFTP_LOG_FACILITY=-1
    SSH_MVS_CONSOLE=YES
    SSH_SFTP_DEBUG=*Mvs*=99
    SSH_SFTP_DEBUG_FILE=/home/XXXXXXX/sft_debug.txt
    SSH_SFT_PSEUDOVOLUME_VOLSERS=ARCHIV
    STEPLIB=CURRENT
    SYSNAME=XXX
    SYSROOT=XXXXX
    TERM=xterm
    TZ=MEZ-1MESZ,086,268
    USER=XXXXXXX
    _=/bin/env
    _BPXK_AUTOCVT=ON
    _BPX_SHAREAS=NO
    _BPX_SPAWN_SCRIPT=YES
    _C89_CLIB_PREFIX=SYS1.CBC
    _C89_INCDIRS=/usr/include
    _C89_LIBDIRS=/lib /usr/lib
    _C89_PLIB_PREFIX=SYS1.CEE
    _C89_SLIB_PREFIX=SYS1
    _C89_WORK_UNIT=SYSDA
    _CC_CLIB_PREFIX=SYS1.CBC
    _CC_INCDIRS=/usr/include
    _CC_LIBDIRS=/lib /usr/lib
    _CC_PLIB_PREFIX=SYS1.CEE
    _CC_SLIB_PREFIX=SYS1
    _CC_WORK_UNIT=SYSDA
    _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON) TRAP(ON,SPIE)
    _CXX_CLIB_PREFIX=SYS1.CBC
    _CXX_INCDIRS=/usr/include
    _CXX_LIBDIRS=/lib /usr/lib
    _CXX_PLIB_PREFIX=SYS1.CEE
    _CXX_SLIB_PREFIX=SYS1
    _CXX_WORK_UNIT=SYSDA
    _UNIX03=YES
    sendmail=/bin/sendmail

    I had to anonymize some lines. 

    Kind regards, 
    Andreas

    ------------------------------
    Andreas Mair
    ------------------------------



  • 4.  RE: Error during z/OS miniconda installation

    ROCKETEER
    Posted 10-23-2020 06:30
    Edited by Mikhail Sviridov 10-23-2020 06:30
    Hi, Andreas,

    could you provide results of the following commands:

    • get location of the python type python
    • try to execute python python --version
    • get file permissions for python binary ls -la $(type -p python)
    It looks like a problem with python binary.

    ------------------------------
    Mikhail Mikhail
    Rocket Software
    ------------------------------



  • 5.  RE: Error during z/OS miniconda installation

    Posted 10-23-2020 07:59
    Edited by Andreas Mair 10-23-2020 10:44
    Hello Mikhail, 

    output of the commands:

    $ type python
    FSUM7422 python is not found

    $ python --version
    python: FSUM7351 not found

    ls -la $(type -p python)
    type: FSUM6241 Unknown option "-p"
    type: Usage: type command ...
    and here come all files and folders of my home directory...

    Kind regads, 
    Andreas







    ------------------------------
    Andreas Mair
    ------------------------------



  • 6.  RE: Error during z/OS miniconda installation
    Best Answer

    ROCKETEER
    Posted 10-26-2020 05:03
    Hi Andreas,

    thanks for details. I've found that _UNIX03 environment variable is the reason of the failure. Here https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/zusc.htm you can find that pax tool restores files with permissions 0666 modified by umask. I.e. python, bzip2, bash, etc. can't be executed until we set executable bits on them. I've modified the setup script that is part of miniconda installer and the fix will be applied to the new version of miniconda installer.
    But still you can unset that environment variable at least temporarily to install miniconda.


    ------------------------------
    Mikhail Mikhail
    Rocket Software
    ------------------------------



  • 7.  RE: Error during z/OS miniconda installation

    Posted 10-28-2020 10:01
    Hello Mikhail, 

    thank you very much for your help!
    Removing _UNIX03 envvar helped a lot and I could install git now. 

    Kind regards, 
    Andreas

    ------------------------------
    Andreas Mair
    ------------------------------