Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Unable to scan target: bad file descriptor" on fresh install of Ubuntu 16.04.3 #5

Open
MarkSchmidty opened this issue Jan 22, 2018 · 1 comment
Labels

Comments

@MarkSchmidty
Copy link

When I run findbtc /dev/sda or findbtc /dev/sdb (for my external drive) I get the following error:

[scan] Starting new target: /dev/sda
[scan] Unable to scan target: bad file descriptor
[COMPLETE]

This is on a fresh install of Ubuntu 16.04.3 with golang 1.6 installed from the Ubuntu repositories.

Output of ll /dev/sd*:

brw-rw---- 1 root disk 8,   0 Jan 22 07:29 /dev/sda
brw-rw---- 1 root disk 8,   1 Jan 22 07:29 /dev/sda1
brw-rw---- 1 root disk 8,   2 Jan 22 07:29 /dev/sda2
brw-rw---- 1 root disk 8,   5 Jan 22 07:29 /dev/sda5
brw-rw---- 1 root disk 8,  16 Jan 22 07:34 /dev/sdb
brw-rw---- 1 root disk 8,  17 Jan 22 08:06 /dev/sdb1

Am I perhaps making a simple mistake?

@jakewins
Copy link
Owner

jakewins commented Feb 2, 2018

Hey, sorry for the slow feedback loop here. Could you try running findbtc as root? I'd expect it would error out with permission denied if that were the issue, but you never know.

If that doesn't help, could you please provide the output of uname -a, and I'll see if I can replicate in a docker container.

@jakewins jakewins added the bug label Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants