Not able to install elasticsearch using reporsitory


(Ramkumar Nagaraj) #1

Hi Team,

Good Day.

I am new to elasticsearch, i am trying to configure elasticsearch setup in
our environment. For this i tried to install elasticsearch using
repository. Its keep on trying for different mirrors and not installing.

Below is sample repo config:

[elasticsearch-1.3]
name=Elasticsearch repository for 1.3.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.3/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Below is the error i am getting while installing through repo:

[root@puppet-master-rh7 manifests]# yum install elasticsearch
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
elasticsearch-1.3
| 2.5 kB
00:00:00
puppetlabs-deps
| 2.5 kB
00:00:00
puppetlabs-products
| 2.5 kB
00:00:00
elasticsearch-1.3/primary_db
| 2.5 kB
00:00:00
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:1.3.1-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
Package Arch
Version Repository
Size

Installing:
elasticsearch noarch
1.3.1-1 elasticsearch-1.3
26 M

Transaction Summary

Install 1 Package

Total download size: 26 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.1 kB/s | 26 MB
00:00:09 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 2.0 kB/s | 26 MB
00:00:05 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.7 kB/s | 26 MB
00:00:06 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.5 kB/s | 26 MB
00:00:07 ETA
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED

Can you please suggest me to fix this.

Thanks,
Ram.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9d1046b8-8928-4b73-972c-18dfc3bc2baf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Alexander Reelsen) #2

Hey,

looks like you have a slow network connection or the .org was not reachable
when you tried it. Can you try to download the RPM directly and see if it
works? Use
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm

  • which works for me good at the moment

If this works and yum does not, you might have some bad proxy configured
for yum.

--Alex

On Wed, Aug 6, 2014 at 9:15 AM, Ramkumar Nagaraj ram2valar@gmail.com
wrote:

Hi Team,

Good Day.

I am new to elasticsearch, i am trying to configure elasticsearch setup in
our environment. For this i tried to install elasticsearch using
repository. Its keep on trying for different mirrors and not installing.

Below is sample repo config:

[elasticsearch-1.3]
name=Elasticsearch repository for 1.3.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.3/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Below is the error i am getting while installing through repo:

[root@puppet-master-rh7 manifests]# yum install elasticsearch
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
elasticsearch-1.3
| 2.5 kB
00:00:00
puppetlabs-deps
| 2.5 kB
00:00:00
puppetlabs-products
| 2.5 kB
00:00:00
elasticsearch-1.3/primary_db
| 2.5 kB
00:00:00
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:1.3.1-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
Package Arch
Version Repository
Size

================================================================================================================================================================
Installing:
elasticsearch noarch
1.3.1-1 elasticsearch-1.3
26 M

Transaction Summary

================================================================================================================================================================
Install 1 Package

Total download size: 26 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.1 kB/s | 26 MB
00:00:09 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 2.0 kB/s | 26 MB
00:00:05 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.7 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.5 kB/s | 26 MB
00:00:07 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED

Can you please suggest me to fix this.

Thanks,
Ram.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9d1046b8-8928-4b73-972c-18dfc3bc2baf%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9d1046b8-8928-4b73-972c-18dfc3bc2baf%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_zeQV_Aj%3DTXRKwv-K%3DeP_if_-W%2BSStBAmUp46JWZV8XQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Ramkumar Nagaraj) #3

Hey Alex,

Thanks for turning back.

I am able to download those rpm through direct link. Its failing only if i
tried using yum repository. Yum repository able to download till 99% post
that its failing with slow connections.

Rgrds,
Ram.

On Wednesday, August 6, 2014 12:59:45 PM UTC+5:30, Alexander Reelsen wrote:

Hey,

looks like you have a slow network connection or the .org was not
reachable when you tried it. Can you try to download the RPM directly and
see if it works? Use
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm

  • which works for me good at the moment

If this works and yum does not, you might have some bad proxy configured
for yum.

--Alex

On Wed, Aug 6, 2014 at 9:15 AM, Ramkumar Nagaraj <ram2...@gmail.com
<javascript:>> wrote:

Hi Team,

Good Day.

I am new to elasticsearch, i am trying to configure elasticsearch setup
in our environment. For this i tried to install elasticsearch using
repository. Its keep on trying for different mirrors and not installing.

Below is sample repo config:

[elasticsearch-1.3]
name=Elasticsearch repository for 1.3.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.3/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Below is the error i am getting while installing through repo:

[root@puppet-master-rh7 manifests]# yum install elasticsearch
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
elasticsearch-1.3
| 2.5 kB
00:00:00
puppetlabs-deps
| 2.5 kB
00:00:00
puppetlabs-products
| 2.5 kB
00:00:00
elasticsearch-1.3/primary_db
| 2.5 kB
00:00:00
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:1.3.1-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
Package Arch
Version Repository
Size

================================================================================================================================================================
Installing:
elasticsearch noarch
1.3.1-1 elasticsearch-1.3
26 M

Transaction Summary

================================================================================================================================================================
Install 1 Package

Total download size: 26 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.1 kB/s | 26 MB
00:00:09 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 2.0 kB/s | 26 MB
00:00:05 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.7 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.6 kB/s | 26 MB
00:00:06 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED
==============================================-] 1.5 kB/s | 26 MB
00:00:07 ETA

http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
[Errno 12] Timeout on
http://packages.elasticsearch.org/elasticsearch/1.3/centos/elasticsearch-1.3.1.noarch.rpm:
(28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30
seconds')
Trying other mirror.
elasticsearch-1.3.1.noarch.rpm FAILED

Can you please suggest me to fix this.

Thanks,
Ram.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9d1046b8-8928-4b73-972c-18dfc3bc2baf%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9d1046b8-8928-4b73-972c-18dfc3bc2baf%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/81baff3b-9345-4666-9c21-458b131fc2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4