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

    Could not boot: no such file or directory

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    19
    1.9k
    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.
    • C
      cr17373
      last edited by

      First @Sebastian-Roth, thank you so much for your continued assistance with this.
      On double checking it is FOG version 1.5.9.201

      Sadly, I do not know the previous version that was being ran before the jump to the version listed above.

      How would I check to see which plugins are enabled/installed.

      There are storage nodes being used. The storage nodes have all be updated to the same version. They are also all reporting back with connections to the main database. Also verified by re-running the installing and getting the connect to database successful message in the install process.

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

        @cr17373 said in Could not boot: no such file or directory:

        On double checking it is FOG version 1.5.9.201

        Ok, somehow makes more sense to me. Although I have to say that things seem to be mixed up. The picture you sent in your initial post shows the iPXE version g4bd0 which is not the latest provided in dev-branch. It’s possible you still have the iPXE binaries from FOG 1.5.9 (last official release) on your TFTP server? This is not causing the problem but I just though I might point this out to you.

        How would I check to see which plugins are enabled/installed.

        See our documentation: https://docs.fogproject.org/en/latest/management/plugins/plugin-management.html - please post a list of the plugins you see in Installed Plugins section.

        There are storage nodes being used.

        Beside the plugins I will also need to know the exact storage node configuration to be able to replicate the issue I guess. So far I have not been able to replicate it probably due to missing knowledge on your setup. Can you please post a picture of the All Storage Nodes list from the FOG web UI?

        Do you see this issue when PXE booting any of your machines to be deployed or is it only a certain location/storage node failing?

        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

        1 Reply Last reply Reply Quote 0
        • C
          cr17373
          last edited by

          @Sebastian-Roth Looking at the web-GUI and checking the list of installed plugins, there are zero installed plugins.

          Attached is screen grab of all the storage nodes that are listed in the FOG web ui.

          564cd13f-9db3-4d26-bb0b-600845acaead-image.png

          This issue happens when pxe booting into any machine against any FOG storage node.

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

            @cr17373 said in Could not boot: no such file or directory:

            Looking at the web-GUI and checking the list of installed plugins, there are zero installed plugins.

            Just double checking because it seems strange to me in such a huge setup. Can you please open the settings of one hosts in the web UI and take another screenshot? As well take a screenshot of the top main menu (just the icons). This way we can make sure no plugins are active.

            Thanks for the storage node listing. I will try to replicate part of your setup and see if I run into the same problem.

            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

            C 1 Reply Last reply Reply Quote 0
            • C
              cr17373 @Sebastian Roth
              last edited by

              @sebastian-roth Of course. Are you looking for these two bits of information?

              ab4f1b18-6709-44de-a09a-324802bc546b-image.png

              06f46d28-8d74-47ca-82c6-924b474c5a75-image.png

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

                @cr17373 Thanks for the pictures again. Though I wasn’t looking for the details of a storage node but rather the details/settings of a host (machine you deploy to) I am pretty sure we now know the location plugin is enabled because it shows up in the main menu screenshot (globe icon). And you seem to have the plugin fileintegrity enabled as well. The later shouldn’t cause trouble but you never know.

                I still cannot replicate the issue and can’t get my head around it yet. You posted the output when opening the boot URL (http://x.x.x.x/fog/service/ipxe/boot.php?mac=98:90:96:c5:16:46) in the browser and it looks all fine. The URLs to load kernel and intrd are perfectly fine.

                Can you take another picture of a machine wanting to boot into a deploy task and post here just to make sure it’s still the very same output on screen?

                As well I wonder if we can do a remote session to try figure out what’s wrong. See the chat in the top right corner of the forums.

                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

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

                  @cr17373 said in Could not boot: no such file or directory:

                  #!ipxe
                  set fog-ip 10.51.1.52
                  set fog-webroot fog
                  set boot-url http://${fog-ip}/${fog-webroot}
                  kernel http://10.65.2.20/fog/service/ipxe/bzImage32 loglevel=4 …

                  I just had another look at this. Looks very much like FOG version 1.5.9 (released more than two years ago) because the output is missing the line set storage-ip x.x.x.x which was added in dev-branch after the release of 1.5.9. Lately another line was added set keymap us

                  Please make sure all your nodes are using the same version!! You can check the version on the command line via (run on each node manually)

                  grep FOG_VERSION /var/www/{html/,}fog/lib/fog/system.class.php
                  

                  You should see two lines of output from this command. Make sure the version number in both the output lines are identical and compare the version numbers on all nodes to make sure they are all the same!

                  If you find the two version numbers to be different on one of the nodes, then please let us know! This would mean the FOG web files are not installed correctly.

                  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

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cr17373 @Sebastian Roth
                    last edited by

                    @sebastian-roth i checked the version of FOG on the nodes. All are reporting:
                    define(‘FOG_VERSION’, ‘1.5.9’);
                    /var/www/fog/lib/fog/system.class.php: define(‘FOG_VERSION’, ‘1.5.9’);

                    Attached is another image of a machine with a deploy task. This one pointing to a different node.

                    22d95b0a-3290-4264-be14-ddc4c5e1c193-image.png

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

                      @cr17373 So it looks like all your nodes are on 1.5.9 (not 1.5.9.x). Though I am still not able to replicate (master node and storage node on CentOS 7 / FOG 1.5.9).

                      Let’s try to take a look at the iPXE boot code again. Is the deploy task from the last picture you posted still active? If not, then please schedule another one and then open the following URLs in your browser:
                      http://10.42.1.16/fog/service/ipxe/boot.php?mac=54:bf:64:61:fe:ca&arch=x86_64
                      http://10.42.1.16/fog/service/ipxe/boot.php?mac=54:bf:64:61:fe:ca&arch=i386

                      Post the output of both here in the forums.

                      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

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

                        @cr17373 Any update on this topic?

                        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

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

                        153

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project