2017-04-18 69 views
1

编辑 我尝试安装cgynus-ngsi首先,我安装现成的图像和测试,它的工作得很好, 但是当尝试重新配置agent.conf我编辑的文件,并尝试从头开始安装cgynus-ngsi它发现了这个问题 尝试其他镜像。fiware天鹅泊坞构建失败

Setting up Install Process 
http://ftp.uma.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.uma.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://mirror.trueinter.net/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.trueinter.net/centos/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://mirror.uv.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.uv.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://ftp.cica.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.cica.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://mirror.tedra.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.tedra.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://centos.uvigo.es/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.uvigo.es/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://mirror.airenetworks.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.airenetworks.es/CentOS/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
http://centos.cadt.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.cadt.com/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
ftp://ftp.cesca.cat/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on ftp://ftp.cesca.cat/centos/6.9/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') 
Trying other mirror. 
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again 
/bin/sh: java: command not found 

然后

我运行那朵commad 搬运工建立-t天鹅常见。 它的git这个记录

INFO: Java version <1.7.0> 

INFO: Apache domain <http://archive.apache.org/dist/> 
INFO: URL MAVEN <http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz> 
INFO: URL FLUME <http://archive.apache.org/dist/flume/1.4.0/apache-flume-1.4.0-bin.tar.gz> 
INFO: Download and install Maven and Flume... 

但得到超时

回答

1

这似乎是一个网络问题。你的主机是否在代理之后?

您可以尝试手动访问的镜子,从相同的主机,如this question on ServerFault规定,并看看会发生什么:

time wget http://sunsite.rediris.es/mirror/CentOS/6.9/os/x86_64/repodata/repomd.xml 

如果您还可以获得问题,也许你就必须取得联系与您的云提供商。

如果您在CentOS中运行,如in this link from CentOS forum所述,您可以将http_caching=packages添加到/etc/yum.conf文件并再次运行该命令。

请阅读上面的链接了解更多详情。

+0

cygnus部署在云上的虚拟机上。所以,我无法知道它是否在代理之后。另外我使用了一个ubuntu vm不是centos –

+0

你运行的是什么命令会产生这个错误?请编辑你的问题更多细节。 – Dalton

+0

我使用命令编辑问题 –