Ad Widget

Collapse

Starting agent on aix 5.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vlam
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 166

    #1

    Starting agent on aix 5.3

    Hi

    This happens when I try to start the Zabbix agent on all of my AIX5.3 boxes.
    How can I resolve this error

    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





    System specs:
    Os: AIX 5.3
    Zabbix Version: 1.8
    4 Zabbix Frontend Servers (Load balanced)
    2 Zabbix App Servers (HA)
    2 Zabbix Database Servers (HA)
    18 Zabbix Proxy Servers (HA)
    3897 Deployed Zabbix Agents
    6161 Values per second
    X-Layer Integration
    Jaspersoft report Servers (HA)
  • Firm
    Senior Member
    • Dec 2009
    • 342

    #2
    Did you install from pre-built packages? It seems that libiconv library (package) is not installed.

    Comment

    • vlam
      Senior Member
      Zabbix Certified Specialist
      • Jun 2009
      • 166

      #3
      The agent install was done from the agent install packages on the ZABBIX Download page. and the config came from one of my linux servers that is working. The reason why I used it's conf file is its the same file all over.
      4 Zabbix Frontend Servers (Load balanced)
      2 Zabbix App Servers (HA)
      2 Zabbix Database Servers (HA)
      18 Zabbix Proxy Servers (HA)
      3897 Deployed Zabbix Agents
      6161 Values per second
      X-Layer Integration
      Jaspersoft report Servers (HA)

      Comment

      • Firm
        Senior Member
        • Dec 2009
        • 342

        #4
        Check if you have libiconv.a (or .so) from GNU. Also you can try to type 'unset LIBPATH' before starting agent. And check the output of 'ldd zabbix_agentd'.
        Last edited by Firm; 20-01-2010, 13:30.

        Comment

        • vlam
          Senior Member
          Zabbix Certified Specialist
          • Jun 2009
          • 166

          #5
          This is still what I get.

          I have added the following entries into the /etc/environment file (LIBPATH=/usr/lib ; LD_LIBRARY_PATH=:/usr/lib:/lib:/usr/local/lib) as recommended by IBM when dealing with the missing iconv fileset.

          I still get the following error message :

          metro01 /usr/sbin #./zabbix_agentd start
          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
          4 Zabbix Frontend Servers (Load balanced)
          2 Zabbix App Servers (HA)
          2 Zabbix Database Servers (HA)
          18 Zabbix Proxy Servers (HA)
          3897 Deployed Zabbix Agents
          6161 Values per second
          X-Layer Integration
          Jaspersoft report Servers (HA)

          Comment

          • Firm
            Senior Member
            • Dec 2009
            • 342

            #6
            Once again, do you have any libiconv.{a|so} libraries installed? If do - where?

            Comment

            • vlam
              Senior Member
              Zabbix Certified Specialist
              • Jun 2009
              • 166

              #7
              yes do have it and it is in '/usr/'
              4 Zabbix Frontend Servers (Load balanced)
              2 Zabbix App Servers (HA)
              2 Zabbix Database Servers (HA)
              18 Zabbix Proxy Servers (HA)
              3897 Deployed Zabbix Agents
              6161 Values per second
              X-Layer Integration
              Jaspersoft report Servers (HA)

              Comment

              • vlam
                Senior Member
                Zabbix Certified Specialist
                • Jun 2009
                • 166

                #8
                I have tried the recommendations below and still get the same error.

                metro01 /usr/sbin #ldd zabbix_agentd
                zabbix_agentd needs:
                /usr/lib/libc.a(shr.o)
                /usr/lib/libiconv.a(libiconv.so.2)
                ar: 0707-109 Member name libiconv.so.2 does not exist.
                dump: /tmp/ldd1892686/extract/libiconv.so.2: 0654-106 Cannot open the specified file.
                /usr/lib/libperfstat.a(shr.o)
                /unix
                /usr/lib/libcrypt.a(shr.o)
                /usr/lib/libpthreads.a(shr_xpg5.o)
                /usr/lib/libcfg.a(shr.o)
                /usr/lib/libodm.a(shr.o)
                /usr/lib/liblvm.a(shr.o)
                /usr/lib/libpthreads.a(shr_comm.o)
                metro01 /usr/sbin #ls -la /usr/lib/libc.a
                lrwxrwxrwx 1 bin bin 19 Jul 24 2005 /usr/lib/libc.a -> /usr/ccs/lib/libc.a
                metro01 /usr/sbin #ls -la /usr/lib/libiconv.a
                -r--r--r-- 1 bin bin 379103 Jan 13 2008 /usr/lib/libiconv.a

                As you can see from the above result, the files libc.a and libiconv.a do exist. I have also tried the unset LIBPATH command without success.
                4 Zabbix Frontend Servers (Load balanced)
                2 Zabbix App Servers (HA)
                2 Zabbix Database Servers (HA)
                18 Zabbix Proxy Servers (HA)
                3897 Deployed Zabbix Agents
                6161 Values per second
                X-Layer Integration
                Jaspersoft report Servers (HA)

                Comment

                • Firm
                  Senior Member
                  • Dec 2009
                  • 342

                  #9
                  I wonder if /usr/lib/libiconv.a is an original AIX library or GNU version installed from package?

                  Comment

                  • lewd
                    Junior Member
                    • Jan 2010
                    • 1

                    #10
                    We ran into the exactly same problem with our installation of Zabbix Agent 1.8 on IBM AIX 5.3 (ML-07).

                    the libiconv.a/so is found in the installation package "bos.rte.iconv":
                    > lslpp -L bos.rte.iconv

                    Fileset Level State Type Description (Uninstaller)
                    ----------------------------------------------------------------------------
                    bos.rte.iconv 5.3.7.0 C F Language Converters

                    State codes:
                    C -- Committed.
                    Type codes:
                    F -- Installp Fileset


                    Are there any solutions/workarounds yet?

                    Comment

                    • sarathyme
                      Member
                      • Mar 2009
                      • 58

                      #11
                      1.8.1 agent works on AIX 5.3

                      Not sure you are still looking for solution.
                      I had the same issue with 1.8 and 1.8.2 but 1.8.1 version worked.

                      I also see the zabbix_agentd file size is big (1.9MB) in 1.8.1 and it is 267KB in 1.8.2


                      Regards
                      Vijay

                      Comment

                      • tchjts1
                        Senior Member
                        • May 2008
                        • 1605

                        #12
                        FYI, they have just recompiled the 1.8.2 version for AIX 5.1 and 5.3 agents to fix the library issue and they are available on http://www.zabbix.com/download.php

                        Comment

                        • patrickburwell
                          Junior Member
                          • Aug 2012
                          • 3

                          #13
                          2.0.2 for AIX 5.3 STILL fails with libconv error

                          # ./zabbix_agentd
                          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
                          #
                          # uname -v
                          5

                          Comment

                          • nirg
                            Junior Member
                            • Aug 2013
                            • 1

                            #14
                            Hi all,

                            I know this is an old post, but I had the same problem.

                            Here is my solution:

                            1) download rpms with dependaencies: http://www.bullfreeware.com/affichage.php?id=1260

                            2) install the rpms: rpm-U gettext-0.17-6.aix5.3.ppc.rpm libiconv-1.13.1-2.aix5.3.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

                            Now you can try to repeat the command: ldd zabbix_agentd

                            zabbix_agentd a besoin de :
                            /usr/lib/libc.a(shr.o)
                            /usr/lib/libiconv.a(libiconv.so.2)
                            /usr/lib/libperfstat.a(shr.o)
                            /unix
                            /usr/lib/libcrypt.a(shr.o)
                            /usr/lib/libpthreads.a(shr_xpg5.o)
                            /usr/lib/libcfg.a(shr.o)
                            /usr/lib/libodm.a(shr.o)
                            /usr/lib/liblvm.a(shr.o)
                            /usr/lib/libpthreads.a(shr_comm.o)

                            nirG

                            Comment

                            • geoffke
                              Junior Member
                              • Dec 2020
                              • 7

                              #15
                              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!


                              Comment

                              Working...