Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Monitor your Internet service and provider

Information and Support

  1. Home
  2. Categories
  3. Support forums
  4. ARM
  5. starter.sh not executing on PI 3B
Automatically monitor your Internet service and provider with alerts to problems
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

Scheduled Pinned Locked Moved Solved ARM
rpi-3bexec format erroragent wont start
15 Posts 3 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bokusdeeddy
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    1
    • OutagesIO_SupportO Offline
      OutagesIO_SupportO Offline
      OutagesIO_Support
      wrote on last edited by
      #13

      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.

      Regards,
      OutagesIO Support

      Search engines favor deep pockets making it difficult to find services like OutagesIO.
      To help us, you could leave a Google review, or share your reports in forums, or social media.
      You could mention us in articles, and perhaps someone would review us.
      We count on satisfied members spreading the word!

      1 Reply Last reply
      0
      • OutagesIO_SupportO Offline
        OutagesIO_SupportO Offline
        OutagesIO_Support
        wrote on last edited by
        #2

        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/otm

        I 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_2302

        You 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.

        Regards,
        OutagesIO Support

        Search engines favor deep pockets making it difficult to find services like OutagesIO.
        To help us, you could leave a Google review, or share your reports in forums, or social media.
        You could mention us in articles, and perhaps someone would review us.
        We count on satisfied members spreading the word!

        1 Reply Last reply
        0
        • OutagesIO_SupportO Offline
          OutagesIO_SupportO Offline
          OutagesIO_Support
          wrote on last edited by
          #3

          Hi,

          Did you resolve this?

          Regards,
          OutagesIO Support

          Search engines favor deep pockets making it difficult to find services like OutagesIO.
          To help us, you could leave a Google review, or share your reports in forums, or social media.
          You could mention us in articles, and perhaps someone would review us.
          We count on satisfied members spreading the word!

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Roblazo
            wrote on last edited by
            #4

            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.

            1 Reply Last reply
            1
            • OutagesIO_SupportO Offline
              OutagesIO_SupportO Offline
              OutagesIO_Support
              wrote on last edited by OutagesIO_Support
              #5

              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?

              Regards,
              OutagesIO Support

              Search engines favor deep pockets making it difficult to find services like OutagesIO.
              To help us, you could leave a Google review, or share your reports in forums, or social media.
              You could mention us in articles, and perhaps someone would review us.
              We count on satisfied members spreading the word!

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Roblazo
                wrote on last edited by
                #6

                I selected de version "Raspberry, Pi 3B+, 64 bits".
                Line 60 states: $STARTING_FOLDER/$OTM_BINARY &

                Thanks

                1 Reply Last reply
                0
                • OutagesIO_SupportO Offline
                  OutagesIO_SupportO Offline
                  OutagesIO_Support
                  wrote on last edited by
                  #7

                  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?

                  Regards,
                  OutagesIO Support

                  Search engines favor deep pockets making it difficult to find services like OutagesIO.
                  To help us, you could leave a Google review, or share your reports in forums, or social media.
                  You could mention us in articles, and perhaps someone would review us.
                  We count on satisfied members spreading the word!

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Roblazo
                    wrote on last edited by
                    #8

                    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.sh

                    Yes, 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

                    1 Reply Last reply
                    0
                    • OutagesIO_SupportO Offline
                      OutagesIO_SupportO Offline
                      OutagesIO_Support
                      wrote on last edited by
                      #9

                      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_binary

                      or 'sh otm_binary'

                      I'm not sure which right now.

                      Regards,
                      OutagesIO Support

                      Search engines favor deep pockets making it difficult to find services like OutagesIO.
                      To help us, you could leave a Google review, or share your reports in forums, or social media.
                      You could mention us in articles, and perhaps someone would review us.
                      We count on satisfied members spreading the word!

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Roblazo
                        wrote on last edited by
                        #10

                        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: "(" unexpected

                        The agent in the dashboard does not change (staus is 'created')

                        1 Reply Last reply
                        0
                        • OutagesIO_SupportO Offline
                          OutagesIO_SupportO Offline
                          OutagesIO_Support
                          wrote on last edited by
                          #11

                          What is the OS and is it 32bit or 64bit?

                          Regards,
                          OutagesIO Support

                          Search engines favor deep pockets making it difficult to find services like OutagesIO.
                          To help us, you could leave a Google review, or share your reports in forums, or social media.
                          You could mention us in articles, and perhaps someone would review us.
                          We count on satisfied members spreading the word!

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            Roblazo
                            wrote on last edited by Roblazo
                            #12

                            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: buster

                            pi@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 crc32

                            pi@raspberrypi:~ $ getconf LONG_BIT
                            32

                            Which type of platfrom should I select? Debian 7?

                            1 Reply Last reply
                            0
                            • OutagesIO_SupportO Offline
                              OutagesIO_SupportO Offline
                              OutagesIO_Support
                              wrote on last edited by
                              #13

                              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.

                              Regards,
                              OutagesIO Support

                              Search engines favor deep pockets making it difficult to find services like OutagesIO.
                              To help us, you could leave a Google review, or share your reports in forums, or social media.
                              You could mention us in articles, and perhaps someone would review us.
                              We count on satisfied members spreading the word!

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                Roblazo
                                wrote on last edited by
                                #14

                                what a waste of time for all of us.
                                Pls, remove all my data from your DDBB.

                                1 Reply Last reply
                                0
                                • OutagesIO_SupportO Offline
                                  OutagesIO_SupportO Offline
                                  OutagesIO_Support
                                  wrote on last edited by OutagesIO_Support
                                  #15

                                  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.

                                  Regards,
                                  OutagesIO Support

                                  Search engines favor deep pockets making it difficult to find services like OutagesIO.
                                  To help us, you could leave a Google review, or share your reports in forums, or social media.
                                  You could mention us in articles, and perhaps someone would review us.
                                  We count on satisfied members spreading the word!

                                  1 Reply Last reply
                                  0
                                  • OutagesIO_SupportO OutagesIO_Support marked this topic as a question on
                                  • OutagesIO_SupportO OutagesIO_Support has marked this topic as solved on
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups