2017-04-18 71 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

我使用命令編輯問題 –