Ad Widget

Collapse

Java gateway installation issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leonlaf
    Junior Member
    • May 2013
    • 15

    #1

    Java gateway installation issue

    Hello everyone,
    Please excuse how trivial my question is. I just start to play with Zabbix. I am now trying to implement Java Gateway to monitor Apache Solr server. I am using Zabbix 2.0.6-2.el6. At first I tried to install it from package zabbix-java-gateway-2.0.6-1.el6.x86_64.rpm, but I got: error: Failed dependencies:
    zabbix = 2.0.6-1.el6 is needed by zabbix-java-gateway-2.0.6-1.el6.x86_64. Then I tried to install it from source, I got: checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    configure: Configuring
    checking whether make sets $(MAKE)... (cached) no
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/tmp/zabbix-2.0.6':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    I also tried to find Zabbix java gateway 2.0.6-2.el6 rpm file, but failed. Any one can help me? Thank you so much

    Leon
  • jaba
    Junior Member
    • Apr 2013
    • 11

    #2
    configure: error: no acceptable C compiler found in $PATH
    gcc compiler is missing!

    Comment

    • leonlaf
      Junior Member
      • May 2013
      • 15

      #3
      Thank you so much, can you tell me how to fix it? Can I just install it?

      Comment

      • jaba
        Junior Member
        • Apr 2013
        • 11

        #4
        yum install gcc , assuming, that you use rpm based linux distro.

        There are Zabbix installation from source instructions: https://www.zabbix.com/documentation...lation/install
        Last edited by jaba; 18-06-2013, 17:25.

        Comment

        • leonlaf
          Junior Member
          • May 2013
          • 15

          #5
          Worked well after I installed it, thank you again, but I got another error: configure: error: Unable to find "javac" executable in path. I have jdk installed: java version "1.6.0_24"
          OpenJDK Runtime Environment (IcedTea6 1.11.11) (rhel-1.61.1.11.11.el6_4-x86_64)
          OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode). Do I need to set anything?

          Comment

          • jaba
            Junior Member
            • Apr 2013
            • 11

            #6
            Originally posted by leonlaf
            Worked well after I installed it, thank you again, but I got another error: configure: error: Unable to find "javac" executable in path. I have jdk installed: java version "1.6.0_24"
            OpenJDK Runtime Environment (IcedTea6 1.11.11) (rhel-1.61.1.11.11.el6_4-x86_64)
            OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode). Do I need to set anything?
            Thats not JDK, its JRE (Java Runtime Environment). JDK contains javac compiler, which you have missing.
            Try use:
            yum search *package*
            to find missing package.

            Comment

            • williamchiew
              Junior Member
              • Jul 2013
              • 3

              #7
              I struggle some time on the multiple cross server tomcats monitoring too...

              This is what i do when met your probelm

              yum install java-1.6.0-openjdk-devel.x86_64

              hope this can help you.

              Comment

              Working...