• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    could not boot: exec format error

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    23
    5.1k
    Loading More Posts
    • 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.
    • R
      rude26 @george1421
      last edited by

      @george1421 ok! so i got the "no such file or directory
      i manually navigated to var/www/fog/service/ipxe/ there is no bzImage
      but a there is a few other files. i put up a snip

      d8a4a60e-c357-4e62-bda9-2d5eb296e140-image.png

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @rude26
        last edited by

        @rude26 OK I want you to reinstall fog. Make sure you do all 3 parts.

        1. installfog.sh
        2. Half way through you will be directed to the web gui.
        3. return back to the fog server console and complete the install.

        You did find the root of the problem, we just need to understand why.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        R 1 Reply Last reply Reply Quote 0
        • R
          rude26 @george1421
          last edited by

          @george1421 ok! so im back at work this morning trying to correct this
          attempted to reinstall never go the prompt to go to GUI like i did the 1st time around
          i attempted to do a full uninstall and reinstall both of the times when attempting to install i noticed this error

          cannot get this to download more then likely my issue?

          4162c403-e37a-4f3d-8dfc-878a06b4ecc3-image.png

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @rude26 Do you have to use a proxy server in your network?

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            R 1 Reply Last reply Reply Quote 0
            • R
              rude26 @Sebastian Roth
              last edited by

              @sebastian-roth no we are not using a proxy server.

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @rude26
                last edited by

                @rude26 Does your fog server have direct access to the internet? I would think yes if you got this far. But this error is the root of why its not booting.

                Can you test to ping fogproject.org ? Maybe something is up with name resolution.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                R 1 Reply Last reply Reply Quote 0
                • R
                  rude26 @george1421
                  last edited by

                  @george1421 yes it does have direct access, yes I can ping fogproject.org
                  checked the firewall for any potential blocks. but i did not see anything

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth

                    @rude26 Then try a manual download to find out what’s going on. On your FOG server run the following command and post output here:

                    curl -kOL https://github.com/FOGProject/fos/releases/latest/download/bzImage
                    

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    george1421G R 2 Replies Last reply Reply Quote 2
                    • george1421G
                      george1421 Moderator @Sebastian Roth
                      last edited by

                      @sebastian-roth said in could not boot: exec format error:

                      https://github.com/FOGProject/fos/releases/latest/download/bzImage

                      I just reversed engineering this answer…

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 1
                      • R
                        rude26 @Sebastian Roth
                        last edited by

                        @sebastian-roth ok ran that and this is what i got.
                        is my network denying to connection?

                        55bb2a99-999d-434f-a537-ea717822d5e7-image.png

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @rude26
                          last edited by

                          @rude26 For reference when I run the command from my fog server.

                          2022-02-07 13_57_09.png

                          Also when I paste the url into my browser I get a file download prompt. I just wanted to test to see if something was broken with the github site.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            rude26 @george1421
                            last edited by

                            @george1421
                            when i go to the url with my browser on my windows machine it did download bzimage
                            when i do it from the fog server it does not download

                            can i just drop this file in the correct place?

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @rude26
                              last edited by george1421

                              @rude26 There are actually a series of files that gets downloaded here.

                              Are you sure your company isn’t using a transparent proxy for internet filtering? HTTP inspect might cause https to fail. See if you can pull the file with http.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                              1 Reply Last reply Reply Quote 1
                              • S
                                Sebastian Roth Moderator
                                last edited by Sebastian Roth

                                @rude26 said in could not boot: exec format error:

                                can i just drop this file in the correct place?

                                Yes for the binaries itself but no for the checksums. The script is made to always re-download the checksums to make sure it would pull a newer kernel/init file even if an older one sits there in the tmp folder. I know this is not great for the situation you are in right now.

                                Are you ok with editing shell scripts? That way we could help you get around this. https://github.com/FOGProject/fogproject/blob/dev-branch/lib/common/functions.sh#L2422

                                The other option I can suggest is downloading kernel/init binaries and checksums plus the fog-client binaries and host those on a local mirror for the moment. Just put in “github.com” to your /etc/hosts.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  rude26 @Sebastian Roth
                                  last edited by

                                  @sebastian-roth so after the last post and seeing it might be my network blocking me or a proxy set up, i decided to do it a nasty way lol please dont hate me. and also i came into a place with alot of missing staff so its been a whole discovery session for me.

                                  I tethered my cell to the machine( on a test machine in the office) for network
                                  was able to download all the files
                                  it assigned it different IP
                                  went through install
                                  and re ran install once hooked back in to the internal network changed IP and DHCP to what it should be
                                  i got success!!! i was able to check in my device with the fog server!!!
                                  you guys are awesome thanks for the help.

                                  now that its checked in and im trying to capture and image im getting this error looking through the forum to see if i can find the answer

                                  PXL_20220207_205500903.jpg

                                  george1421G 1 Reply Last reply Reply Quote 1
                                  • george1421G
                                    george1421 Moderator @rude26
                                    last edited by george1421

                                    @rude26 This is a YOU problem. What happened is that you used “shutdown” to power off the windows computer. This does not close all of the open windows files because fast startup is turned on.

                                    There are a few ways to shut it down in preparation for cloning.

                                    1. Let sysprep do it.
                                    2. Use the command prompt and use shutdown -s -t 0
                                    3. Turn off fast startup.

                                    For more information google windows dirty bit

                                    Well done on the internet bypass to get FOG installed.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                    R 1 Reply Last reply Reply Quote 1
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @rude26 Well done!

                                      May I ask you to use separate topics for each issue you want to talk about. No trouble on the unclean NTFS stuff here. We just try to keep things sorted in the forums so others find information and help more easily.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      R 1 Reply Last reply Reply Quote 1
                                      • R
                                        rude26 @george1421
                                        last edited by

                                        @george1421 Thanks so much for the help to you and @Sebastian-Roth
                                        I was able to successfully capture and image and deploy it yesterday!

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rude26 @Sebastian Roth
                                          last edited by

                                          @sebastian-roth Will do! sorry about that.

                                          Thanks again.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          189

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project