Please Help Install Rclone Centos 7

I’ve been trying to install Rclone on my Centos 7 with vultr for a good hour. I’m a lot more familiar with Ubuntu. I followed the main instructions listed below.

curl https://rclone.org/install.sh | sudo bash

I get the following error message
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

I have absolutely no idea how to fix that issue, so I tried, "Linux installation from precompiled binary
"

That worked great until I got to the sudo mandb part. Got the dreaded command not found. Looks like somebody had the same issue a few years ago and the solution was to use makewhatis. I tried

sudo makewhatis (wait a few minutes)

Then run rclone config and see the following

runtime: epollwait on fd 4 failed with 38
fatal error: runtime: netpoll failed

runtime stack:
runtime.throw(0x11b481c, 0x17)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/panic.go:608 +0x72
runtime.netpoll(0x496c0c6e400, 0xc000000000)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/netpoll_epoll.go:75 +0x215
runtime.sysmon()
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:4390 +0x41b
runtime.mstart1()
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:1282 +0xe6
runtime.mstart()
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:1248 +0x6e

goroutine 1 [chan receive, locked to thread]:
text/template/parse.(*lexer).nextItem(…)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:196
text/template/parse.(*Tree).peek(…)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/parse.go:95
text/template/parse.(*Tree).parse(0xc000272100)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/parse.go:280 +0xbb7
text/template/parse.(*Tree).Parse(0xc000272100, 0x11e6c0e, 0xe2, 0x0, 0x0, 0x0, 0x0, 0xc0001b0d80, 0xc00019aef0, 0x2, …)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/parse.go:233 +0x214
text/template/parse.Parse(0x119d4b8, 0x5, 0x11e6c0e, 0xe2, 0x0, 0x0, 0x0, 0x0, 0xc00019aef0, 0x2, …)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/parse.go:55 +0x124
text/template.(*Template).Parse(0xc00014d8c0, 0x11e6c0e, 0xe2, 0xc0001b0c30, 0xc0001b0c60, 0xc0001b0c90)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/template.go:196 +0x10c
html/template.(*Template).Parse(0xc0001b0d50, 0x11e6c0e, 0xe2, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/html/template/template.go:189 +0x85

goroutine 5 [runnable]:
os/signal.loop()
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/os/signal/signal_unix.go:21
created by os/signal.init.0
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/os/signal/signal_unix.go:29 +0x41

goroutine 6 [runnable]:
text/template/parse.(*lexer).emit(0xc0000a6a80, 0x7)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:155 +0xae
text/template/parse.lexText(0xc0000a6a80, 0x1206db8)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:267 +0x1dd
text/template/parse.(*lexer).run(0xc0000a6a80)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:229 +0x37
created by text/template/parse.lex
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:222 +0x12c

goroutine 7 [runnable]:
text/template/parse.(*lexer).run(0xc00023f5e0)
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:227
created by text/template/parse.lex
/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/text/template/parse/lex.go:222 +0x12c
[root@go rclone-v1.44-linux-amd64]#

Does anybody know how to fix this or have an alternative method to install rclone?

I believe these errors are not specific to rclone, but to Centos.

Searching for this error on Google suggests that the OpenSSL library linked to curl is to old and has problems connecting to TLS 1.2 servers. The library probably has to be updated to openssl-1.0.2 to fix this, but I’m not familiar with Centos.

This could be raised by kernel version that is unsupported by Go:


Can post the output of

uname -a

please?

Yeah, I’m familiar with Ubuntu. Centos is quirky it seems.

uname - a is as follows.

Linux go.goautodial.org 2.6.18-371.11.1.el5 #1 SMP Wed Jul 23 15:12:55 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Looks like you need an upgrade as that is a very old version from 2014. That looks to be Centos 5 not 7.

As is stated here: https://golang.org/doc/install#requirements go programs require Linux 2.6.23 or later and RHEL 5 is not supported - sorry :frowning: