Rclone install on redhat 5.x 64bit

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Hi
i try to install rclone on Red hat 5.x, so when i try to execute #rclone config got error:
"runtime: epollwait on fd 4 failed with 38
fatal error: runtime: netpoll failed"

any idea how can i resolve it.
many thanks

hello,
can you post

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

rclone-v1.53.4-linux-amd64

if i try to install the rpm got:
rpm -Uvh rclone-v1.53.4-linux-amd64.rpm
Preparing... ########################################### [100%]
1:rclone ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/rclone;60182a34: cpio: MD5 sum mismatch

well,
before running rclone, have to get a proper install.

i was able to download that file, and expand it.

i would download and try again.

Can you check the MD5SUM of the file you downloaded against this file?

https://downloads.rclone.org/v1.53.4/MD5SUMS

It looks like it got corrupted somehow.

for me, the md5 matched against the same file.

hi
the md5sum is like this:
md5sum rclone-v1.53.4-linux-amd64.rpm
96e32b5bd8563baa03c34952ba193fe0 rclone-v1.53.4-linux-amd64.rpm
but got error:
Preparing... ########################################### [100%]
1:rclone ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/rclone;60191db9: cpio: MD5 sum mismatch

i try with another version:
md5sum rclone-v1.51.0-linux-amd64.rpm
02cd902dad7729c7f8491279e1859f1e rclone-v1.51.0-linux-amd64.rpm

and i've the same:

rpm -Uvh rclone-v1.51.0-linux-amd64.rpm
Preparing... ########################################### [100%]
1:rclone ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/rclone;60191e56: cpio: MD5 sum mismatch

*so i try with rclone-v1.53.4-linux-amd64.zip
but when i execute rclone in my server got:

rclone

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

runtime stack:
runtime.throw(0x1abcca1, 0x17)
runtime/panic.go:1116 +0x72
runtime.netpoll(0x253f46460, 0x1)
runtime/netpoll_epoll.go:130 +0x368
runtime.findrunnable(0xc00004a800, 0x0)
runtime/proc.go:2448 +0x785
runtime.schedule()
runtime/proc.go:2683 +0x2d7
runtime.park_m(0xc000001380)
runtime/proc.go:2851 +0x9d
runtime.mcall(0x0)
runtime/asm_amd64.s:318 +0x5b

goroutine 1 [runnable, locked to thread]:
golang.org/x/net/html.init()
golang.org/x/net@v0.0.0-20200707034311-ab3426394381/html/entity.go:16 +0x145

goroutine 6 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc000186900)
go.opencensus.io@v0.22.4/stats/view/worker.go:276 +0x105
created by go.opencensus.io/stats/view.init.0
go.opencensus.io@v0.22.4/stats/view/worker.go:34 +0x68

*** the md5sum for the file is:
md5sum rclone
613c870672b372fdc9bb6933cbd53c66 rclone

Redhat 5 is really old....

It looks like the rpms rclone is packaged in aren't compatible for some reason.

The one from the .zip unpacked correctly but doesn't run because the kernel of redhat 5.x is 2.6.18 and the minimum requirement for go1.15 is 2.6.23.

What kernel are you using? Can you upgrade it?

A bit of research indicates you'd need go1.1 to compile something which would run on 2.6.18 and rclone definitely won't compile with go1.1

the kernel version is : 2.6.18-128.el5
is not possible to upgrade this version.

in my case i've a lot Rhel and Centos servers diferente OS version, so i've to mount a Gdrive shares on these, and i would use the same rclone version for all if it's possible.

regards

I'm sorry to say that I don't think there is any version of rclone which will work with kernel 2.6.18 :frowning: That kernel was released in 2006 so it is nearly old enough to vote!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.