You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Saurabh Gupta A <sa...@ericsson.com> on 2014/02/10 10:55:25 UTC

Querry regarding setting up Kafka server on offline linux machine.

Hello,
I am new to Kafka, facing below problem while setting up Kafka.
I downloaded "kafka-0.8.0-src.gz".
Then I followed below steps:

> tar xzf kafka-<VERSION>.tgz
> cd kafka-<VERSION>
> ./sbt update

Below is the error I am facing:
Please note that I am using linux machine which is offline and I have to install kafka on a offline machine only

bl460cx2425:/kafka/kafka-0.8.0-src# uname -a
Linux bl460cx2425 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux


bl460cx2425:/kafka/kafka-0.8.0-src# ./sbt update
Getting net.java.dev.jna jna 3.2.3 ...
You probably access the destination server through a proxy server that is not well configured.
You probably access the destination server through a proxy server that is not well configured.

:: problems summary ::
:::: WARNINGS
        Host repo.typesafe.com not found. url=http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

        Host oss.sonatype.org not found. url=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

                module not found: net.java.dev.jna#jna;3.2.3

        ==== local: tried

          /root/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

        ==== typesafe-ivy-releases: tried

          http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

        ==== Maven Central: tried

          http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

        ==== sonatype-snapshots: tried

          https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: net.java.dev.jna#jna;3.2.3: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


:::: ERRORS
        Server access Error: Connection timed out url=http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
Error during sbt execution: Error retrieving required libraries
  (see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3


Re: Querry regarding setting up Kafka server on offline linux machine.

Posted by Jun Rao <ju...@gmail.com>.
This seems like a maven issue. Not sure the reason though. You could also
just try the binary release for 0.8.0.

Thanks,

Jun


On Mon, Feb 10, 2014 at 1:55 AM, Saurabh Gupta A <
saurabh.a.gupta@ericsson.com> wrote:

> Hello,
> I am new to Kafka, facing below problem while setting up Kafka.
> I downloaded "kafka-0.8.0-src.gz".
> Then I followed below steps:
>
> > tar xzf kafka-<VERSION>.tgz
> > cd kafka-<VERSION>
> > ./sbt update
>
> Below is the error I am facing:
> Please note that I am using linux machine which is offline and I have to
> install kafka on a offline machine only
>
> bl460cx2425:/kafka/kafka-0.8.0-src# uname -a
> Linux bl460cx2425 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011
> x86_64 x86_64 x86_64 GNU/Linux
>
>
> bl460cx2425:/kafka/kafka-0.8.0-src# ./sbt update
> Getting net.java.dev.jna jna 3.2.3 ...
> You probably access the destination server through a proxy server that is
> not well configured.
> You probably access the destination server through a proxy server that is
> not well configured.
>
> :: problems summary ::
> :::: WARNINGS
>         Host repo.typesafe.com not found. url=
> http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         Host oss.sonatype.org not found. url=
> https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>                 module not found: net.java.dev.jna#jna;3.2.3
>
>         ==== local: tried
>
>           /root/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         ==== typesafe-ivy-releases: tried
>
>
> http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         ==== Maven Central: tried
>
>
> http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>         ==== sonatype-snapshots: tried
>
>
> https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 ::          UNRESOLVED DEPENDENCIES         ::
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 :: net.java.dev.jna#jna;3.2.3: not found
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>
> :::: ERRORS
>         Server access Error: Connection timed out url=
> http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
> Error during sbt execution: Error retrieving required libraries
>   (see /root/.sbt/boot/update.log for complete log)
> Error: Could not retrieve jna 3.2.3
>
>

Re: Querry regarding setting up Kafka server on offline linux machine.

Posted by Jun Rao <ju...@gmail.com>.
This seems like a maven issue. Not sure the reason though. You could also
just try the binary release for 0.8.0.

Thanks,

Jun


On Mon, Feb 10, 2014 at 1:55 AM, Saurabh Gupta A <
saurabh.a.gupta@ericsson.com> wrote:

> Hello,
> I am new to Kafka, facing below problem while setting up Kafka.
> I downloaded "kafka-0.8.0-src.gz".
> Then I followed below steps:
>
> > tar xzf kafka-<VERSION>.tgz
> > cd kafka-<VERSION>
> > ./sbt update
>
> Below is the error I am facing:
> Please note that I am using linux machine which is offline and I have to
> install kafka on a offline machine only
>
> bl460cx2425:/kafka/kafka-0.8.0-src# uname -a
> Linux bl460cx2425 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011
> x86_64 x86_64 x86_64 GNU/Linux
>
>
> bl460cx2425:/kafka/kafka-0.8.0-src# ./sbt update
> Getting net.java.dev.jna jna 3.2.3 ...
> You probably access the destination server through a proxy server that is
> not well configured.
> You probably access the destination server through a proxy server that is
> not well configured.
>
> :: problems summary ::
> :::: WARNINGS
>         Host repo.typesafe.com not found. url=
> http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         Host oss.sonatype.org not found. url=
> https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>                 module not found: net.java.dev.jna#jna;3.2.3
>
>         ==== local: tried
>
>           /root/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         ==== typesafe-ivy-releases: tried
>
>
> http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
>
>         ==== Maven Central: tried
>
>
> http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>         ==== sonatype-snapshots: tried
>
>
> https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 ::          UNRESOLVED DEPENDENCIES         ::
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>                 :: net.java.dev.jna#jna;3.2.3: not found
>
>                 ::::::::::::::::::::::::::::::::::::::::::::::
>
>
> :::: ERRORS
>         Server access Error: Connection timed out url=
> http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
>
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
> Error during sbt execution: Error retrieving required libraries
>   (see /root/.sbt/boot/update.log for complete log)
> Error: Could not retrieve jna 3.2.3
>
>