Ad Widget

Collapse

Zabbix 1.6.6 Solaris 10 Binary

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jph98
    Junior Member
    • Dec 2009
    • 7

    #1

    Zabbix 1.6.6 Solaris 10 Binary

    I've downloaded the Zabbix 1.6.6 binary from the public download page and I get the following error when trying to run zabbix_agentd:

    -bash-3.00$ ./zabbix_agentd
    ld.so.1: zabbix_agentd: fatal: libresolv.so.2: version `SUNW_2.3' not found (required by file zabbix_agentd)
    ld.so.1: zabbix_agentd: fatal: libresolv.so.2: open failed: No such file or directory

    Is this a known issue? Is there a workaround?

    I've tried compiling from source as well and this fails on make install with:

    gmake: *** [install-recursive] Error 1
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    Apparently this binary was compiled under something other than Solaris 10 (I heard it was Solaris 11). Regardless, it won't work under some versions of Solaris 10 as the library was updated at some point. If you haven't patched to that same level it won't run.

    On that note, I discovered that the Solaris 9 binary works just fine under Solaris 10 (personal tests confirmed this for my environment, your mileage may vary).

    Comment

    • jph98
      Junior Member
      • Dec 2009
      • 7

      #3
      Zabbix Binaries

      I see the following for Solaris from the main download page:

      Solaris 9 Agents 1.6.6 Sparc a76ab1fc91665e9aebc52304a09c9fd0
      Solaris 10 Agents 1.6.6 Sparc bc28de24767d200c1f4b5ad221441425
      Solaris 10 Agents 1.6.6 i386 d825ae089f82959a36e91bb8d6912e00

      There's a Solaris 9 binary for Sparc proc. but none for i386.

      Zabbix, this is pretty crappy, could somebody please address !!

      Can anybody help out with the gmake recursive error at all?

      Comment

      • untergeek
        Senior Member
        Zabbix Certified Specialist
        • Jun 2009
        • 512

        #4
        I did some more digging:





        You can use the 1.4.6 agents without problem. I've used them a lot. You can do this for now and wait for an update.

        Comment

        • jph98
          Junior Member
          • Dec 2009
          • 7

          #5
          Zabbix Binaries

          Thanks for the posts, I think I'm going to drop to 1.4.6 or just use snmpd directly for now...

          Comment

          • jph98
            Junior Member
            • Dec 2009
            • 7

            #6
            Zabbix Binaries

            By the way...

            Zabbix, this is crap... please fix the Solaris 10 binaries.

            Comment

            • untergeek
              Senior Member
              Zabbix Certified Specialist
              • Jun 2009
              • 512

              #7
              I think you're exaggerating Zabbix's role here. This is as much a Solaris problem as it is anything else.

              I have a few servers, some are this version:
              SunOS hostname 5.10 Generic_125100-10 sun4u sparc SUNW,UltraAX-i2

              However, that version of Solaris 10 will NOT work with the binaries I compiled on this server:

              SunOS hostname 5.10 Generic_138888-08 sun4v sparc SUNW,Sun-Fire-T1000

              Both are Solaris 10, and yet one won't work with the other. And the reason is not architecture, it's that darned libresolv problem. Sun changed versions on the libresolv between Generic_125100-10 and Generic_138888-08.

              Don't blame the Zabbix guys for compiler errors dependent upon changed libraries.

              Comment

              • carbs
                Junior Member
                • Nov 2008
                • 7

                #8
                Just a little background that may help.

                We have a number of Solaris servers and get bitten by these kinds of issues all the time.

                The basic rule is that a program compiled on a particular Solaris 10 release (for example the latest is u8 or 10/09) will only work on that version or newer, assuming the same arch (sparc or x86 etc). So a program compiled on Solaris 10 u5 will not work on Solaris 10 u4 or lower, but will work on u5 or higher.

                Unlike RedHat they are not 100% binary compatible moving forward within the same major OS version (i.e. Solaris 9, 10 etc), but Sun guarantee forward compatibility for newer release within that version.

                So to ensure 100% compatibility with all version of Solaris 10 you would need to compile to the lowest common denominator or to be safe use the original Solaris 10 release (in a way u0).

                The easiest way to get the agent compiled on Solaris 10 is to use Sun Studio (which is free, if a little large), it worked for me out of the box and once I figured out which version of Solaris 10 I had to compile for it all worked well.

                I hope this helps clear up any questions that might have been lingering regarding agent compatibility with various Solaris releases.

                Comment

                Working...