Power

 View Only
  • 1.  Please help with python core dumps on AIX 7.3.1.2

    Posted 06/15/23 03:31 PM

    Today I installed these latest python packages on an AIX 7.3.2.1 system:

    python3-six-1.13.0-1.noarch

    python3-libdnf-0.39.1-64_50.ppc

    python3-gpg-1.13.1-100.ppc

    python3-dnf-plugins-core-4.0.16-64_50.ppc

    python-pycurl-7.43.0-1.ppc

    python-devel-2.7.18-3.ppc

    python3-pyyaml-5.4.1.1-1.ppc

    python3-devel-3.7.15-2.ppc

    python3-test-3.7.15-2.ppc

    python-iniparse-0.4-1.noarch

    python-urlgrabber-3.10.1-1.noarch

    python3-dateutil-2.8.0-1.noarch

    python-2.7.18-3.ppc

    python3-libcomps-0.1.11-100.ppc

    python3-hawkey-0.39.1-64_50.ppc

    python3-dnf-4.2.17-64_51.ppc

    python3-librepo-1.11.0-100.ppc

    python-tools-2.7.18-3.ppc

    python3-3.7.15-2.ppc

    python3-docs-3.7.15-2.ppc

    python3-tools-3.7.15-2.ppc

    and now yum (which uses python) does not work, giving this error:

    # yum update

    Memory fault(coredump)                      [===                                   ] ---  B/s |   0  B     --:-- ETA

    -----------------------------------------------------------------------------------------------------------------

    Also, errpt shows many of these errors:

    LABEL:          CORE_DUMP

    IDENTIFIER:     A924A5FC

    Date/Time:       Thu Jun 15 14:28:19 2023

    Sequence Number: 301

    Machine Id:      00C993704B00

    Node Id:         cmcinst02

    Class:           S

    Type:            PERM

    WPAR:            Global

    Resource Name:   SYSPROC

    Description

    SOFTWARE PROGRAM ABNORMALLY TERMINATED

    Probable Causes

    SOFTWARE PROGRAM

    User Causes

    USER GENERATED SIGNAL

            Recommended Actions

            CORRECT THEN RETRY

    Failure Causes

    SOFTWARE PROGRAM

            Recommended Actions

            RERUN THE APPLICATION PROGRAM

            IF PROBLEM PERSISTS THEN DO THE FOLLOWING

            CONTACT APPROPRIATE SERVICE REPRESENTATIVE

    Detail Data

    SIGNAL NUMBER

              11

    USER'S PROCESS ID:

                  25362784

    FILE SYSTEM SERIAL NUMBER

               5

    INODE NUMBER

                         2

    CORE FILE NAME

    /tmp/core

    PROGRAM NAME

    python3

    STACK EXECUTION DISABLED

               0

    COME FROM ADDRESS REGISTER

    ??

    PROCESSOR ID

      hw_fru_id: 0

      hw_cpu_id: 6

    ADDITIONAL INFORMATION

    ??

    ??

    ??

    ??

    ??

    ??

    ??

    ??

    ??

    ossl_conn 44

    ossl_conn 10C

    Curl_ssl_ C0

    https_con 2C

    multi_run 1090

    curl_mult F8

    lr_downlo 714

    lr_downlo 74

    lr_yum_pe 9C8

    lr_handle 334

    _ZN6libdn 2A0

    _ZN6libdn 384

    _ZN6libdn 370

    _ZN6libdn 34

    _wrap_Rep DC

    _PyMethod 2E0

    _PyCFunct 3C

    _PyEval_E A7F4

    PyEval_Ev 34

    function_ A4

    _PyEval_E A26C

    PyEval_Ev 34

    function_ A4

    _PyEval_E 91C0

    PyEval_Ev 34

    function_ A4

    _PyEval_E A26C

    PyEval_Ev 34

    _PyEval_E B54

    _PyFuncti B0

    _PyEval_E 7594

    PyEval_Ev 34

    function_ A4

    _PyEval_E A26C

    PyEval_Ev 34

    function_ A4

    _PyEval_E A26C

    PyEval_Ev 34

    function_ A4

    _PyEval_E 7DAC

    PyEval_Ev 34

    function_ A4

    _PyEval_E 7DAC

    PyEval_Ev 34

    _PyEval_E B54

    _PyFuncti B0

    _PyEval_E 7DAC

    PyEval_Ev 34

    _PyEval_E B54

    _PyFuncti B0

    _PyEval_E 7594

    PyEval_Ev 34

    _PyEval_E B54

    PyEval_Ev 5C

    PyEval_Ev 30

    run_mod 48

    PyRun_Fil C8

    PyRun_Sim 11C

    PyRun_Any A4

    pymain_ma 4A8

    _Py_UnixM 48

    main 10

    __start 74

    Unable to generate symptom string.

    -----------------------------------------------------------------

    Does anyone have a suggestion for a fix? Thank you!



    ------------------------------
    Tai Morris
    ------------------------------


  • 2.  RE: Please help with python core dumps on AIX 7.3.1.2

    Posted 06/15/23 05:13 PM

    yum is not supported on 7.3 - use dnf instead.. this site had some earlier discussions about dnf, and there is a dnf install script you can download



    ------------------------------
    Richard Lynch
    ------------------------------



  • 3.  RE: Please help with python core dumps on AIX 7.3.1.2

    Posted 06/16/23 09:46 AM

    I tried using the dnf install script but ran into this:

    # ./dnf_aixtoolbox.sh -y

    Attempting download of dnf_bundle_aix_73.tar ...

    lwp-download: 500 Can't connect to public.dhe.ibm.com:80 (Connection refused)

    Failed to download dnf_bundle_aix_73.tar

    ----------------------------------------------------------------------------------------------------
    Is there a current issue with that site?

    Thanks



    ------------------------------
    Tai Morris
    ------------------------------



  • 4.  RE: Please help with python core dumps on AIX 7.3.1.2

    Posted 06/15/23 05:48 PM


    Not entirely sure how to "fix" that - but, if the old version of python is still there, you can try editing the "yum" script
    and change the line from

    #!/usr/bin/python

    to point to the original version, say

    #!/usr/bin/python3.6

    There may be more scripts that got broken by the python update, so, alternatively, you can relink "/usr/bin/python" (and possibly "/usr/bin/python3") to the original version, whatever it was.

    I suspect that adding missing packages to the new python could help as well, but I am not a python expert, don't know how to (easily) figure out what's missing and where to get it ( pip install ? )



    ------------------------------
    Vladimir Kolobrodov
    ------------------------------