Ad Widget

Collapse

Zabbix Agent 2.0.0 on AIX 5.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leonardf
    Junior Member
    • May 2012
    • 4

    #1

    Zabbix Agent 2.0.0 on AIX 5.3

    Hi All,

    I'm trying to use zabbix agent on AIX 5.3 and i'm getting the error:


    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/tmpdir336018/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)

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

    The error refers to libc.a and libiconv.a and both exist on the system in the
    correct location.

    Anyone knows how to proceed?
  • 0siris
    Member
    Zabbix Certified Specialist
    • Nov 2010
    • 76

    #2
    a shot in the dark:
    can user zabbix read/access those files as well? In other words, what are the permissions of those files?

    Comment

    • leonardf
      Junior Member
      • May 2012
      • 4

      #3
      I've set file permissions even to full access before and it didn't
      solve the problem.

      I'm trying to use the pre-compiled agent but also trying to compile it
      with static links without success.

      Comment

      • leonardf
        Junior Member
        • May 2012
        • 4

        #4
        I managed to run the client installing libiconv RPM and linking
        libiconv.a in /usr/lib to the new installed libiconv.a

        Comment

        • unxscorob
          Junior Member
          • Jun 2012
          • 1

          #5
          I was hoping a solution could be provided that didn't involve an RPM installation or compiling from source on AIX, as neither option is readily available to me. Well, those options can be made available, but would have to go through our internal certification process before I could implement, and that's months I don't really have to spare.

          This issue happened with zabbix pre-compiled version 1.8.5 and 1.8.7 for AIX 5.3, now again with 2.0.0. FWIW, and perhaps not related, 2.0.0 agent for AIX 6.1 doesn't exhibit this issue, but then it doesn't reference the iconv libraries either. What would it take to get a zabbix provided pre-compiled version for AIX 5.3 without this issue?

          If this helps, the last working pre-compiled version from zabbix, that I have, is 1.8.3, but may not help or relate due to versioning. Following information provided in hopes it may help with a resolution, let me know if more is needed. I have the iconv filesets installed, bos.rte.iconv, and /usr/lib/libiconv.a exists with permissions needed for our zabbix user account.

          Code:
          root@hostname:/software# oslevel -r
          5300-11
          
          root@aix5host:/software# ldd zabbix_agents-1.8.3.aix5.3/sbin/zabbix_agentd
          zabbix_agents-1.8.3.aix5.3/sbin/zabbix_agentd needs:
                   /usr/lib/libc.a(shr.o)
                   /usr/lib/libiconv.a(shr4.o)
                   /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/libcorcfg.a(shr.o)
                   /usr/lib/libpthreads.a(shr_comm.o)
                   /usr/lib/libsrc.a(shr.o)
          
          root@aix5host:/software# ldd zabbix_agents-2.0.0.aix5.3/sbin/zabbix_agentd
          zabbix_agents-2.0.0.aix5.3/sbin/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/tmpdir19136690/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/libcorcfg.a(shr.o)
                   /usr/lib/libpthreads.a(shr_comm.o)
                   /usr/lib/libsrc.a(shr.o)
          
          root@aix6host:/software# ldd zabbix_agents-2.0.0.aix6.1/sbin/zabbix_agentd
          zabbix_agents-2.0.0.aix6.1/sbin/zabbix_agentd needs:
                   /usr/lib/libc.a(shr.o)
                   /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/libcorcfg.a(shr.o)
                   /usr/lib/libpthreads.a(shr_comm.o)
                   /usr/lib/libsrc.a(shr.o)

          Comment

          Working...