Expected Behaviour:
To install Cloudflared successfully in my Raspberry P4 running Pihole
Actual Behaviour:
I am following the guide here: cloudflared (DoH) - Pi-hole documentation
I duplicate the install steps for arm64. But when trying to execute the binary it fails.
Debug Token:
After typing 'cloudflared -v', following error pops up:
Cannot execute binary file: Exec format error
jacoby
February 12, 2021, 5:00am
2
Please post the output of " uname -m "
Also, if you meant to include a debug token it is missing.
Hi,
Thanks for your hints!
What do you mean about the “uname -m”?
Well, about the token, do not figure out as well how to get it... I am just following the installation guide and it got stuck after cloudflared -v
My Pi is up to date and I tried in two Pis with same result.
Anyway I am ok to provide more debug hints once I will get how to do (my linux skills are not that high...)
Miguel
jacoby
February 12, 2021, 6:57am
4
Sure.
I believe the issue may be you’re following the instruction for the wrong Linux architecture.
At the console of you pi enter the command - uname -m
Tell us what the output is.
Well, it returns: armv7l...
Well, I picked up the unstaller for a 64bits architecture.
Maybe I got wrong between the Arm Core Architecture (Pi4 uses a 64bits SoC) and the OS Debian which is a 32bits system...!
Thus, I guess, I shall use the userguide for the 32bits variant...
Miguel
Hi,
Thanks for your hint. So I ran the 32bits Pi installation and all went good! Well, asking a 32bits OS to run a 64 bits binary might be not that easy (I am using Noobs).
Well, it could be great in the Pihole/DoH userguide to add the -uname-m check to suggest which type to be selected, unless it is obvious for everybody but me!
Miguel
system
Closed
March 6, 2021, 6:19am
7
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.