Ad Widget

Collapse

Trouble Installing Zabbix on Solaris 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitist
    Member
    • Apr 2014
    • 30

    #16
    Here is the information asked.

    The solaris version is shown below:

    cat /etc/release:

    Code:
                        Oracle Solaris 10 8/11 s10x_u10wos_17b X86
      Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                                Assembled 23 August 2011
    uname -a:

    Code:
    5.10 Generic_147148-26 i86pc i386 i86pc
    gcc -v:

    Code:
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
    Thread model: posix
    Please let me know if you require more information.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #17
      Originally posted by rohitist
      Please let me know if you require more information.
      I have no any Sol 10 around (I'm working only with Solarises 11.x atm) so I cannot check/verify quickly is your gcc version was compiled on Sol 10.
      Just check are your gcc packages are the same which are coming with Solaris 10 distribution.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • rohitist
        Member
        • Apr 2014
        • 30

        #18
        I have insalled Solaris 10 OS as a VM and tried to include this header. And it works on that VM. So, it is evident that there is some issue with gcc in the current production setup of Solaris 10.

        I have posted this question here , and one person advised me to run this command:

        Code:
        /usr/sfw/libexec/gcc/i386-pc-solaris2.10/3.4.3/install-tools/mkheaders
        This link shows that one person was able to fix the above issue with the command shown above.

        Seems like this command would fix the issue but the problem is I cannot execute any such command which could affect system-wide services/ processes in production environment.

        If you are also going to suggest me any such command, then I don't think system admin will ever allow me to do so. Running this will require down time for maintenance.
        Last edited by rohitist; 22-01-2015, 13:35.

        Comment

        • thefrog
          Junior Member
          • Jan 2015
          • 3

          #19
          Solaris 10 installation zabbix + mysql

          Hi,
          I was able to get zabbix installed on solaris 10.
          I used some external libraries, compiled from source.
          I am attaching a txt document I have created for this, summarizing the steps I did, in hope someone else can benefit from this information too.

          The biggest problem was to get it compile with mysql.
          Drop me a mail, if you have further questions and/or comments.
          Attached Files

          Comment

          • kloczek
            Senior Member
            • Jun 2006
            • 1771

            #20
            Originally posted by thefrog
            The biggest problem was to get it compile with mysql.
            Yea .. even on Sol 11.2 mysql-config returns CFLAGS with hardcoded sun studio compiler option. However this is mysql code bug
            I must open SR with this :P
            http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
            https://kloczek.wordpress.com/
            zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
            My zabbix templates https://github.com/kloczek/zabbix-templates

            Comment

            Working...