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

    iPXE no such file or directory

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    12
    4.2k
    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.
    • T
      technokami
      last edited by

      Just updated to trunk 5229. Now when booting I get an error message that states:

      /NULL … No such file or directory

      loading boot.php i see the iPXE output but near the top it looks like it is missing the IP and directory for the fog server, see below.

      #!ipxe
      set fog-ip 172.16.101.111
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}

      Is there anything I can do to fix this?

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

        @technokami Could you send us a picture of the error?

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          What did you update from that? Meaning, what version did you update?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • T
            technokami
            last edited by

            I upgraded from a previous trunk version but I cant remember which one. Attached is a photo of the error.

            2015-11-05 14.39.10_resized.jpg

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

              If you access http://172.16.101.111/fog/service/ipxe/boot.php?mac=34:17:eb:a2:a9:86 from a browser in another client on your network, what do you see? Is it just those four lines you posted already? Don’t think so. Please post the full output you see in the browser.

              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 1
              • T
                technokami
                last edited by

                when I visit that page this is the output I get:

                #!ipxe
                set fog-ip 172.16.101.111
                set fog-webroot fog
                set boot-url http://${fog-ip}/${fog-webroot}
                #!ipxe
                kernel NULL loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.16.101.111/fog/ consoleblank=0 mac=34:17:eb:a2:a9:86 ftp=172.16.101.111 storage=172.16.101.111:/images/dev/ storageip=172.16.101.111 web=172.16.101.111/fog/ osid=7 consoleblank=0 irqpoll hostname=F2B3422 chkdsk=0 img=UpdatedWindows81 imgType=n imgPartitionType=all imgid=5 imgFormat= PIGZ_COMP=-9 adon=1 addomain=NULL adou=NULL aduser=NULL adpass=NULL fdrive=NULL hostearly=1 pct=5 ignorepg=1 type=up NULL
                imgfetch init_32.xz
                boot

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @technokami
                  last edited by Wayne Workman

                  @technokami said:

                  kernel NULL

                  That line suggests to me that the kernel didn’t download. Can you try to reinstall?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

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

                    Can you access the webinterface an check the hosts settings (Host Management -> edit host). See if there is any string (whitespaces??) in the “Host Kernel” field. Make sure this is completely empty. Then go to FOG Configuration -> FOG Settings -> TFTP Server. FOG_TFTP_PXE_KERNEL should be ‘bzImage’ and FOG_TFTP_PXE_KERNEL_32 should be ‘bzImage32’. I guess yours are empty?!

                    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 1
                    • Tom ElliottT
                      Tom Elliott @technokami
                      last edited by

                      @technokami this was my fault. Basically, I was attempting to ensure id field always had a value higher than 0. Research suggested making sure fields without data passes incorrectly to MySQL. I learned, quickly, that this was not the case and corrected it from the code. We sanitize all values and fields and rather that setting the value to NULL it set it to a string with the word NULL. Simplest fix would be to revert the db. Before I made the NULL attempt, I added the db backup on updates/installs. This means you can find the backup and revert the db to that. This should fix the issue you’re seeing. I assure you it was not my intention to break the db in such a manner. I do know nothing was corrupted, but updates to an item where the fields were blank should appear on their relevant fields as literally the word NULL.

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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

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

                        Well then it probably says ‘NULL’ in the hosts settings (‘Host Kernel’). Take a look there and make this field empty again.

                        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
                        • T
                          technokami @Tom Elliott
                          last edited by

                          @Tom-Elliott said:

                          @technokami this was my fault. Basically, I was attempting to ensure id field always had a value higher than 0. Research suggested making sure fields without data passes incorrectly to MySQL. I learned, quickly, that this was not the case and corrected it from the code. We sanitize all values and fields and rather that setting the value to NULL it set it to a string with the word NULL. Simplest fix would be to revert the db. Before I made the NULL attempt, I added the db backup on updates/installs. This means you can find the backup and revert the db to that. This should fix the issue you’re seeing. I assure you it was not my intention to break the db in such a manner. I do know nothing was corrupted, but updates to an item where the fields were blank should appear on their relevant fields as literally the word NULL.

                          Thanks for the info. I replaced the NULLs with blanks and everything is back up and running. @Sebastian-Roth you were right as well there was a literal NULL string in the host settings in every field that was normally blank.

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

                            @technokami Great to hear that you got it working again! Thanks for reporting back and for letting us know about this issue.

                            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

                            178

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project