What is the problem you are having with rclone?
rclone segfaults whenever I try to run any command
What is your rclone version (output from rclone version
)
version 1.53.3 but even 'rclone version' segfaults
Which OS you are using and how many bits (eg Windows 7, 64 bit)
CentOS 7.9.2009
64 bit
A log from the command with the -vv
flag
8599 Segmentation fault /tmp/asdf/rclone -vv version
Any ideas on what I can try? It's worked on the other servers I've tried but none of the different versions of rclone I've tried on this CentOS version have worked.
Looks like you have the wrong platfform/binary downloaded.
What does file show?
felix@gemini:/usr/bin$ file rclone
rclone: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=TQzHb_7FGNHw55mj9pg8/7L8eyUeWklrPXPWzkpFl/xDSJhq9eHcVoeruJS5yx/Oa9M4bUP-5LLzIZ_SoD0, stripped
uname -a shows:
Linux serverexamplecom 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Maybe a bad install or something? Wrong version?
[root@centtest ~]# rclone version
rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
[root@centtest ~]# uname -a
Linux centtest 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@centtest ~]#
I tried a few older versions of rclone, they all had the same problem.. weird.
I spun up a test VM on my GSuite and have the same kernel so it would be something specific on your install that isn't setup right I'd imagine.
[root@centtest ~]# ls -al /usr/bin/rclone
-rwxr-xr-x. 1 root root 37654528 Dec 17 17:48 /usr/bin/rclone
Does your 1.53.3 binary look like that?
Yea, that is the same as the version currently on the server.
Are you able to run it when rclone is not in /usr/bin?
Yeah, no problem. I spun up another machine. I think you owe me another 2 or 3 cents for use
2020-12-17 18:34:50 (12.3 MB/s) - ‘rclone-v1.53.3-linux-amd64.zip’ saved [12962197/12962197]
[root@centtest ~]# unzip rclone-v1.53.3-linux-amd64.zip
Archive: rclone-v1.53.3-linux-amd64.zip
creating: rclone-v1.53.3-linux-amd64/
inflating: rclone-v1.53.3-linux-amd64/README.html
inflating: rclone-v1.53.3-linux-amd64/rclone.1
inflating: rclone-v1.53.3-linux-amd64/rclone
inflating: rclone-v1.53.3-linux-amd64/README.txt
inflating: rclone-v1.53.3-linux-amd64/git-log.txt
[root@centtest ~]# cd rclone-v1.53.3-linux-amd64
[root@centtest rclone-v1.53.3-linux-amd64]# ./rclone version
rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5
[root@centtest rclone-v1.53.3-linux-amd64]#
[root@centtest rclone-v1.53.3-linux-amd64]# uname -a
Linux centtest 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@centtest rclone-v1.53.3-linux-amd64]#
Alright. Thanks for the help, very much appreciated.
Still no idea why this won't work though. The same files work on a different server and I've reuploaded them several times.
I can't think of anything else off the top of my head as my test installs which are fresh in my GSuite work without any problems. I don't use CentOS enough to know much more about it.
If your binary matches up with the same size and such, I can't imagine what else to check as to why it wouldn't work other than a specific OS instance issue.
ncw
(Nick Craig-Wood)
December 18, 2020, 11:29am
13
This is strange!
Can you look in the kernel log with dmesg
to see if there is anything in there? It might be apparmor or selinux so worth a look there.
The other thing you could try is running rclone with gdb
something like this
$ gdb `which rclone`
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
[snip]
(No debugging symbols found in /home/ncw/go/bin//rclone)
(gdb) run version
When it crashes, then if you could type bt
that will give us some idea of where it is crashing.
Unfortunately I don't actually have access to the server so no logs, but the admin did finally install the rpm and everything is working.
Thanks again for trying, sorry I don't have an answer about what actually broke
ncw
(Nick Craig-Wood)
December 19, 2020, 6:56pm
15
Glad it is working. I guess we'll put that one in the unsolved mysteries file!
system
(system)
Closed
February 18, 2021, 2:56pm
16
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.