Track Internet disconnections, provider outages with historical data, and automated speed testing.
For Windows, Linux, ARM64, ARMa7. Learn more by visiting www.outagesio.com
Notice: If you created an account on app.outagesio.com, simply use the same credentials to log in here.
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?
-
So the problem for you is that your device is 32bit and we only support 64bit at this point. We used to support 32bit but almost everything is now 64bit.
-
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?
-
I'm alos receivin the same erro o my Raspi 3 b+
starter.sh: line 60: /otm/otm_binary: cannot execute binary file: Exec format error".I use the standard configuration (/otm) and I´m trying to install the agent for the fist time.
-
Hi,
Which version specifically did you download from the app site?
Can you share the file name, please?Also, can you show line 60 in the script?
-
And once the script runs, what do you see in the /otm directory?
Do you see the agent binary that's been downloaded?
Can you run 'ls -la' in the /otm directory after the script runs and show the results?Also, did you create the /etc/agentid file with the required contents?
-
pi@raspberrypi:~ $ ls -la /otm
total 252
drwxrwxrwx 2 root root 4096 dic 26 10:06 .
drwxr-xr-x 24 root root 4096 dic 24 15:33 ..
-rwxr-xr-x 1 root root 239704 dic 25 16:40 otm_binary
-rw-r--r-- 1 root root 490 dic 25 16:40 otminfo.log
-rwxr-xr-x 1 root root 2897 dic 24 15:39 starter.shYes, I created /etc/agentid and I've also updated it whenever I've generated a new version of the agent and starter.sh to download.
One point: my raspi is set to UTC time (not to the the local one)
Regards
-
So we can confirm it's downloading the binary but not able to start it.
Try manually starting it then go look at your dashboard to see if the heartbeat goes green.chmod +x otm_binary
./otm_binaryor 'sh otm_binary'
I'm not sure which right now.
-
No way.
After generating a new agent and installing everithing from scratch. I esecute manually the /otm/otm_binay and this is what I get:
pi@raspberrypi:~ $ sudo sh /otm/otm_binary
/otm/otm_binary: 1: /otm/otm_binary: cannot open �T���t������@@������|BE���4��WqXvT<�Y�y
L!~S��O: No such file hZ�l*-�p-,
/otm/otm_binary: 1: /otm/otm_binary: ELF��n@X�@8: not found
/otm/otm_binary: 2: /otm/otm_binary: �@: not found
/otm/otm_binary: 3: /otm/otm_binary: T
��: not found
/otm/otm_binary: 3: /otm/otm_binary: H���gF
M: not found
/otm/otm_binary: 5: /otm/otm_binary: �v5���%
8
%����Z����: not found
/otm/otm_binary: 7: /otm/otm_binary: ��
�: not found
/otm/otm_binary: 7: /otm/otm_binary: �������: not found
/otm/otm_binary: 24: /otm/otm_binary: Syntax error: "(" unexpectedThe agent in the dashboard does not change (staus is 'created')
-
What is the OS and is it 32bit or 64bit?
-
I'm afraid is 32 bits
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: busterpi@raspberrypi:~ $ lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
CPU max MHz: 1400,0000
CPU min MHz: 600,0000
BogoMIPS: 38.40
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32pi@raspberrypi:~ $ getconf LONG_BIT
32Which type of platfrom should I select? Debian 7?
-
So the problem for you is that your device is 32bit and we only support 64bit at this point. We used to support 32bit but almost everything is now 64bit.
-
Sorry, but almost all hardware has gone to 64bit. We supported 32bit for a long time but there are costs associated with maintaining so many versions.
We clearly show the bit version in the available agent list of downloads as well to ensure that you're not wasting your time. Sorry that you didn't notice that.
We were happy to help you but as you've asked, your account and data have been removed.
Thanks for trying our service, sorry it didn't work out.
-
-