Support Questions
Find answers, ask questions, and share your expertise

Metron 0.7.1 installation with pycurl error

Metron 0.7.1 installation with pycurl error

New Contributor

I am installing Metron 0.7.1. Got pycurl error when running mvn to build Metron package. It looks like MVN yum kept using ipv6 to reach Centos repository.

 

The vm is behind proxy. I already configured proxy info. Can run yum over proxy without any problem to update the Centos 7 OS.

 

Any one have the same issue?

 

Thanks,

1 REPLY 1
Highlighted

Re: Metron 0.7.1 installation with pycurl error

New Contributor

Here is the error message:

 

Cannot find a valid baseurl for repo: base/7/x86_64^M
^[[0mCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was^M
14: curl#7 - "Failed to connect to 2001:1b48:203::4:10: Network is unreachable"^M
The command '/bin/sh -c yum install -y tar wget java-1.8.0-openjdk java-1.8.0-openjdk-devel && cd /usr/src && wget http://apache.cs.utah.edu/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz && tar xzvf apache-maven-3.2.5-bin.tar.gz && rm apache-maven-3.2.5-bin.tar.gz && mv apache-maven-3.2.5 /opt/maven && ln -s /opt/maven/bin/mvn /usr/bin/mvn && yum install -y asciidoc rpm-build rpm2cpio tar unzip xmlto zip rpmlint && cd /root && curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - && yum install -y gcc-c++ make nodejs && yum remove -y wget && yum clean all' returned a non-zero code: 1^M
[ERROR] Command execution failed.^M