Monitor your Internet services or devices to ensure they are always online. Tracks Internet connectivity and speeds with useful proof. For Windows, Linux, ARM (Raspberry, Tinker Board, etc).
Learn more by visiting www.outagesio.com
starter.sh not executing on PI 3B
-
My agent had been running in the past successfully (manually started). Recently I restarted my Pi 3B and tried to restart my agent and got the following error after successful download of OTM: "./starter.sh: line 60: /home/eddy/otm/otm_binary: cannot execute binary file: Exec format error". I had not changed anything, so why the error? I tried creating a new agent, and received the same error. I am executing starter.sh with root permissions (which as I said worked before). Any ideas?
-
Hi,
Let's start with some basic things.
The first thing that comes to mind is, did you change the path to reflect where the agent is actually getting downloaded to;
/home/edddy/otmI assume so because you said it was working before.
Line 60 should be; $STARTING_FOLDER/$OTM_BINARY &
Since you are using the script manually, then this line would not be commented but if the code cannot find that folder and the downloaded binary, that would be why it would not run.
Make absolutely sure the path is correct to start with.
Also, is your system up to date because there have been SSL changes with some packages. Just the other day, we found a Pi 4 that stopped working and after updating the packages, it worked again.
Try doing a manual download of that agent to make sure it's not an ssl issue.
curl -v https://downloads.outagesio.com/otm/arm64_otm_1_79_2302You don't have to create a new agent but if you do, remember to use the new credentials. Each agent you create generates its own credentials, you have to use the ones matching for that particular agent.
-
Hi,
Did you resolve this?