Ad Widget

Collapse

Starting agent on aix 5.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geoffke
    Junior Member
    • Dec 2020
    • 7

    #16
    Originally posted by geoffke
    Hi,

    We have tried to install the latest agent version "zabbix_agent-4.0.1-aix-6.1-powerpc.tar.gz" on AIX 6.1
    Unfortunately we run into the same issue, it is complaining about the libiconv:
    Code:
    exec(): 0509-036 Cannot load program zabbix_agentd because of the following errors:
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive
    We did install the latest version of lib iconv which was 1.16 for AIX 6.1, but to no avail... We used these instructions (based on the ones for AIX 5.3):
    1. download rpms with dependencies: http://www.bullfreeware.com/pkg?id=5199
    2. Install the rpms: rpm-U gettext-0.20.1-2.aix6.1.ppc.rpm libiconv-1.16-2.aix6.1.ppc.rpm --nodeps
    3. change directory: cd /usr/bin
    4. move the old “libiconv.a”: mv libiconv.a libiconv.a.old
    5. create a file link: ln -s /opt/freeware/lib/libiconv.a libiconv.a
    Seems we are a bit stuck here, any suggestions on how we can proceed?

    Thanks!

    Ok solved it ourself using these steps:

    1. Installing the agent using these steps:
    https://www.cloudkb.net/how-to-insta...-agent-in-aix/

    2. Solving the dependency issue:
    # Download dependencies:
    Code:
    cd /tmp
    wget [URL="https://anonymous:[email protected]/aix/freeSoftware/aixtoolbox/RPMS/ppc//gettext/gettext-0.19.8.1-1.aix6.1.ppc.rpm"]https://anonymous:[email protected][/URL]
    wget [URL="https://anonymous:[email protected]/aix/freeSoftware/aixtoolbox/RPMS/ppc/libffi/libffi-devel-3.2.1-3.aix6.1.ppc.rpm"]https://anonymous:[email protected][/URL]
    wget [URL="https://anonymous:[email protected]/aix/freeSoftware/aixtoolbox/RPMS/ppc/libiconv/libiconv-1.14-2.aix6.1.ppc.rpm"]https://anonymous:[email protected][/URL]
    # Instal dependencies:
    Code:
    rpm -ivh /tmp/gettext-0.19.8.1-1.aix6.1.ppc.rpm --nodeps
    rpm -ivh /tmp/libffi-devel-3.2.1-3.aix6.1.ppc.rpm --nodeps
    rpm -ivh /tmp/libiconv-1.14-2.aix6.1.ppc.rpm --nodeps
    # Merge libiconv files to meet all AIX versions:
    # The merge is needed because new GNU applications expect (actually demand) the current GNU logic (as libiconv.a(libiconv.so.2) while most IBM applications (through AIX 7.1 TL3) expect libiconv.a(shr.o) or libiconv.a(shr4.o) or libiconv.a(shr4_64.o)
    Code:
    [COLOR=#27ae60]ar -X32_64 tv /usr/lib/libiconv.a[/COLOR]
    # Show installed libiconv version:
    Code:
    rpm -qa | grep libiconv
    # Show installed libiconv files:
    Code:
    rpm -ql libiconv
    # Creating backup of existing libiconv:
    Code:
    mv /usr/lib/libiconv.a /usr/lib/libiconv.a.OLD
    # Copying new libiconv to /usr/lib:
    Code:
    cp /usr/linux/lib/libiconv.a /usr/lib/
    Last edited by geoffke; 13-12-2020, 15:02.

    Comment

    Working...