Global AI and Data Science

 View Only

APACHE won't start after UPGRADE version

  • 1.  APACHE won't start after UPGRADE version

    Posted Thu October 21, 2021 01:05 PM
    Hi

    This is my first post and I am not sure if I am posting in proper group?
    I have created TS007287330 case for IBM Support, but they recommended to create post on "AIX Open Source Software Forum" on the IBM Community.

    I have tried to UPGRADE my APACHE from httpd-2.4.46 to httpd-2.4.48-1 version. After UPGRADE APACHE won't start and generate below error:

    [NIM] root@nim-pdr:/opt/freeware/etc/httpd/conf# /opt/freeware/sbin/httpd -k start

    exec(): 0509-036 Cannot load program /opt/freeware/sbin/httpd because of the following errors:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libapr_1_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libapr_1_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol apr_os_uuid_get was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libpcre_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libpcre_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libaprutil_1_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libaprutil_1_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libexpat_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libexpat_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libiconv_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libiconv_so was referenced
    from module httpd(), but a runtime definition
    of the symbol was not found.


    This is how I have done UPGRADE:
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv httpd-2.4.48-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    libgcc >= 8.3.0-1 is needed by httpd-2.4.48-1.ppc
    zlib >= 1.2.11 is needed by httpd-2.4.48-1.ppc
    httpd = 2.4.46-1 is needed by (installed) mod_ssl-2.4.46-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# ls -la
    total 12072
    drwxr-xr-x 2 dkxp87g_ staff 4096 Oct 21 09:46 .
    drwxr-xr-x 7 dkxp87g_ staff 4096 Oct 21 09:44 ..
    -rw-r--r-- 1 dkxp87g_ staff 4456675 Oct 19 14:41 httpd-2.4.48-1.aix6.1.ppc.rpm
    -rw-r--r-- 1 dkxp87g_ staff 1000341 Oct 20 14:01 libgcc-8.3.0-1.aix7.2.ppc.rpm
    -rw-r--r-- 1 dkxp87g_ staff 310604 Oct 19 14:52 mod_ssl-2.4.48-1.aix6.1.ppc.rpm
    -rw-r--r-- 1 dkxp87g_ staff 342827 Oct 19 14:55 zlib-1.2.11-2.aix6.1.ppc.rpm
    -rw-r--r-- 1 dkxp87g_ staff 52125 Oct 19 14:59 zlib-devel-1.2.11-2.aix6.1.ppc.rpm
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv zlib-1.2.11-2.aix6.1.ppc.rpm
    error: Failed dependencies:
    zlib = 1.2.4-2 is needed by (installed) zlib-devel-1.2.4-2.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv zlib-devel-1.2.11-2.aix6.1.ppc.rpm
    error: Failed dependencies:
    zlib = 1.2.11-2 is needed by zlib-devel-1.2.11-2.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -e zlib-devel
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv zlib-devel-1.2.11-2.aix6.1.ppc.rpm
    error: Failed dependencies:
    zlib = 1.2.11-2 is needed by zlib-devel-1.2.11-2.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv zlib-1.2.11-2.aix6.1.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:zlib-1.2.11-2 ################################# [ 50%]
    Cleaning up / removing...
    2:zlib-1.2.8-1 ################################# [100%]
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv zlib-devel-1.2.11-2.aix6.1.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:zlib-devel-1.2.11-2 ################################# [100%]
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv httpd-2.4.48-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    libgcc >= 8.3.0-1 is needed by httpd-2.4.48-1.ppc
    httpd = 2.4.46-1 is needed by (installed) mod_ssl-2.4.46-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv mod_ssl-2.4.48-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    httpd = 2.4.48-1 is needed by mod_ssl-2.4.48-1.ppc
    libgcc >= 8.3.0-1 is needed by mod_ssl-2.4.48-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv libgcc-8.3.0-1.aix7.2.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:libgcc-8.3.0-1 ################################# [ 50%]
    Cleaning up / removing...
    2:libgcc-8.1.0-2 ################################# [100%]
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv mod_ssl-2.4.48-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    httpd = 2.4.48-1 is needed by mod_ssl-2.4.48-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv httpd-2.4.48-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    httpd = 2.4.46-1 is needed by (installed) mod_ssl-2.4.46-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -e mod_ssl
    Please restart your web server using: '/opt/freeware/sbin/apachectl restart'
    warning: /opt/freeware/etc/httpd/conf/extra/httpd-ssl.conf saved as /opt/freeware/etc/httpd/conf/extra/httpd-ssl.conf.rpmsave
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv httpd-2.4.48-1.aix6.1.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:httpd-2.4.48-1 warning: /opt/freeware/etc/httpd/conf/httpd.conf created as /opt/freeware/etc/httpd/conf/httpd.conf.rpmnew
    warning: /opt/freeware/etc/httpd/conf/httpd.conf_64 created as /opt/freeware/etc/httpd/conf/httpd.conf_64.rpmnew
    ################################# [ 50%]
    This version of httpd has 32bit and 64bit support
    To start 64bit httpd use : /opt/freeware/sbin/apachectl_64 start
    Cleaning up / removing...
    2:httpd-2.4.46-1 ################################# [100%]
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -Uhv mod_ssl-2.4.48-1.aix6.1.ppc.rpm
    Preparing... ################################# [100%]
    Updating / installing...
    1:mod_ssl-2.4.48-1 ################################# [100%]
    Please restart your web server using: '/opt/freeware/sbin/apachectl restart'
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# ps -ef | grep httpd
    root 21168628 22151632 0 09:56:16 pts/0 0:00 grep httpd
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -qa | grep http
    httpd-2.4.48-1.ppc
    [NIM] root@nim-pdr:/admin/RPM/for_AIX/HTTP_upgrade_2021_10_19# rpm -qa | grep mod_ssl
    mod_ssl-2.4.48-1.ppc

    What will you recommend to do to solve this problem?

    I have noticed also, that new configuration files were created during UPGRADE:
    [NIM] root@nim-pdr:/opt/freeware/etc/httpd/conf# ls -la httpd.conf*
    -rw-r--r-- 1 root system 22588 Oct 21 09:56 httpd.conf
    -rw-r--r-- 1 root system 22431 Aug 04 14:22 httpd.conf.rpmnew
    -rw-r--r-- 1 root system 0 Oct 21 14:46 httpd.conf_64
    -rw-r--r-- 1 root system 22654 Aug 04 14:22 httpd.conf_64.rpmnew


    UPGRADE was done today, 21 Oct 2021.

    ------------------------------
    Jakub Majcher
    ------------------------------

    #GlobalAIandDataScience
    #GlobalDataScience