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

    PXE Boot Error 1d0c6539

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    20
    3.3k
    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.
    • J
      Joe Gill
      last edited by

      Re: Could not boot: Input/Output error(http://ipxe.org/1d0c6539)

      I am having this same issue. One of my hosts will not pxe boot. I can pxe boot other clients just fine but the one I want to make an image capture from is not

      The current version of FOG I’m running is Trunk – Running Version: 8140 SVN Revision: 5698.

      0_1466602787771_screen_shot_reduced_pxe_error.jpg

      Any ideas? All of the hardware I’ve PXE booted so far have been identical. I defaulted this hosts bios settings and reset the pxe boot stuff as I normally do with no luck. Any ideas would be helpful.

      Thanks!

      Cheers!

      Joe Gill

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

        There’s two slashes in that URL, that’s why it’s failing.

        http://172.16.1.17//fog/service/ipxe/boot.php

        check in these spots for an extra slash:
        web interface -> FOG Configuration -> FOG Settings -> Web Server -> FOG_WEB_HOST and FOG_WEB_ROOT
        And here:
        web interface -> Storage Management -> [click node] -> Web root

        Also, please run this command on 172.16.1.17 and give us the output:
        cat /tftpboot/default.ipxe
        and please check inside of /opt/fog/.fogsettings and look for the lines:

        docroot=
        webroot=
        

        What are those set as?

        #wiki worthy

        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
        • J
          Joe Gill
          last edited by

          Also, I have nothing listed in my active tasks at all on the GUI.

          So prior to this error things were working fine. I was able to image an entire labs worth of machines. What happened was I had imaged those machines and had gone to a new lab, used the image from the old lab to make a new machine to clone. When I got new machine done, I went to capture it again for the new image and forgot to rename said new image. That is when the problem showed up.

          What I tried to do to resolve this…

          I deleted all images from FOG GUI. Re-added them with the right names. Deleted host from the FOG server. Re-registered host with the FOG server. Rebooted into PXE and PXE failed.

          The only other thing that changed was our DNS. We updated a DNS server so I had to make those updates in resolv.conf on the server. But DNS works on the server just fine. I can resolve names no problem.

          Any ideas would be helpful.

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by Wayne Workman

            Tom says the two slashes will not affect it.

            Instead, please give us the output of this from a web browser:

            http://172.16.1.17/fog/service/ipxe/boot.php?mac=f8:bc:12:9e:cc:ef

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

              @Joe-Gill As you’re accessing the FOG Server via IP address, dns is not the issue.

              What happens if you go to the boot.php as listed in the picture in your browser?

              Can you also update, see if just a simple update helps out? I wonder if the change outs may have cause something in apache to fail.

              Maybe get us the apache error logs as well?

              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
              • J
                Joe Gill
                last edited by

                0_1466606029081_fogsettings.jpg
                0_1466606041683_screenshot_opt_fogsettings.jpg
                0_1466606053241_screenshot_tftpboot.jpg

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Gill
                  last edited by

                  #!ipxe
                  set fog-ip 172.16.1.17
                  set fog-webroot fog
                  set boot-url http://${fog-ip}/${fog-webroot}
                  cpuid --ext 29 && set arch x86_64 || set arch i386
                  goto get_console
                  :console_set
                  colour --rgb 0x00567a 1 ||
                  colour --rgb 0x00567a 2 ||
                  colour --rgb 0x00567a 4 ||
                  cpair --foreground 7 --background 2 2 ||
                  goto MENU
                  :alt_console
                  cpair --background 0 1 ||
                  cpair --background 1 2 ||
                  goto MENU
                  :get_console
                  console --picture http://172.16.1.17/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
                  :MENU
                  menu
                  colour --rgb 0x00567a 0 ||
                  cpair --foreground 1 1 ||
                  cpair --foreground 0 3 ||
                  cpair --foreground 4 4 ||
                  item --gap Host is registered as AE-21!
                  item --gap – -------------------------------------
                  item fog.local Boot from hard disk
                  item fog.memtest Run Memtest86+
                  item fog.keyreg Update Product Key
                  item fog.quickimage Quick Image
                  item fog.multijoin Join Multicast Session
                  item fog.quickdel Quick Host Deletion
                  item fog.sysinfo Client System Information (Compatibility)
                  choose --default fog.local --timeout 5000 target && goto ${target}
                  :fog.local
                  sanboot --no-describe --drive 0x80 || goto MENU
                  :fog.memtest
                  kernel memdisk iso raw
                  initrd memtest.bin
                  boot || goto MENU
                  :fog.keyreg
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param keyreg 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.quickimage
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param qihost 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.multijoin
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param sessionJoin 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.quickdel
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param delhost 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.sysinfo
                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.16.1.17/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                  imgfetch init_32.xz
                  boot || goto MENU
                  :bootme
                  chain -ar http://172.16.1.17/fog/service/ipxe/boot.php##params ||
                  goto MENU
                  autoboot

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Mind updating to the lastest and see if the io error is still present?

                    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

                    J 2 Replies Last reply Reply Quote 0
                    • J
                      Joe Gill @Tom Elliott
                      last edited by

                      @Tom-Elliott

                      I’ll update and check. Thanks!!!

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Gill @Tom Elliott
                        last edited by

                        @Tom-Elliott

                        Ok. So I did the update. I still get the same error. It has the // still there.

                        Am I missing something?

                        Thanks!

                        Joe Gill

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Joe Gill
                          last edited by

                          @Joe-Gill What’s in the apache error logs?

                          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

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Joe Gill @Tom Elliott
                            last edited by

                            @Tom-Elliott

                            Where are they located?

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @Joe Gill
                              last edited by

                              @Joe-Gill You can view them under /var/log/apache2/error.log (debian) or /var/log/httpd/error_log (redhat)

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Joe Gill @Tom Elliott
                                last edited by

                                @Tom-Elliott
                                0_1466607603453_apache2error.jpg

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Joe Gill
                                  last edited by

                                  @Joe-Gill Can you copy paste here?

                                  To copy from putty, simply select the text from the terminal and then paste it in the text area here.

                                  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

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Joe Gill @Tom Elliott
                                    last edited by

                                    @Tom-Elliott

                                    [Sun Jun 19 08:03:31.454992 2016] [mpm_prefork:notice] [pid 22344] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- re$
                                    [Sun Jun 19 08:03:31.462241 2016] [core:notice] [pid 22344] AH00094: Command line: '/usr/sbin/apache2'
                                    [Mon Jun 20 07:27:24.706254 2016] [mpm_prefork:notice] [pid 22344] AH00169: caught SIGTERM, shutting down
                                    [Mon Jun 20 07:27:25.767771 2016] [mpm_prefork:notice] [pid 7294] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$
                                    [Mon Jun 20 07:27:25.767820 2016] [core:notice] [pid 7294] AH00094: Command line: '/usr/sbin/apache2'
                                    [Mon Jun 20 07:34:59.025380 2016] [mpm_prefork:notice] [pid 7294] AH00169: caught SIGTERM, shutting down
                                    [Mon Jun 20 07:35:06.502871 2016] [mpm_prefork:notice] [pid 7442] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$
                                    [Mon Jun 20 07:35:06.502919 2016] [core:notice] [pid 7442] AH00094: Command line: '/usr/sbin/apache2'
                                    [Mon Jun 20 07:38:22.854001 2016] [mpm_prefork:notice] [pid 7442] AH00169: caught SIGTERM, shutting down
                                    [Mon Jun 20 07:38:23.900776 2016] [mpm_prefork:notice] [pid 7500] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.6.22-1+donate.sury.org~trusty+1 OpenSSL/1.0.1f configured -- res$
                                    [Mon Jun 20 07:38:23.900820 2016] [core:notice] [pid 7500] AH00094: Command line: '/usr/sbin/apache2'
                                    [Mon Jun 20 09:54:15.883037 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883063 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883072 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883080 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883086 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883093 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883726 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883742 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883750 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883769 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883776 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:15.883782 2016] [:error] [pid 7932] [client 172.16.15.83:49706] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401526 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401558 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401568 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401575 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401581 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.401588 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402232 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402248 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402256 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402263 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402280 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:54:55.402287 2016] [:error] [pid 7997] [client 172.16.15.83:49726] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:56:29.588122 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:56:29.588148 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:56:29.588157 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    [Mon Jun 20 09:56:29.588165 2016] [:error] [pid 7506] [client 172.16.15.83:49790] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var$
                                    ``
                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • J
                                      Joe Gill
                                      last edited by

                                      Any thoughts?

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @Joe Gill
                                        last edited by

                                        @Joe-Gill I don’t see the whole string, so no, I have no thoughts.

                                        You can tail the contents of the file, and just select the last few lines directly out of the terminal.

                                        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

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Joe Gill @Tom Elliott
                                          last edited by

                                          @Tom-Elliott

                                          [Wed Jun 22 08:53:58.320094 2016] [:error] [pid 11962] [client 172.16.18.207:51668] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/storagegroup.class.php on line 52
                                          [Wed Jun 22 08:53:58.320250 2016] [:error] [pid 11962] [client 172.16.18.207:51668] PHP Fatal error:  Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 59, Message: Undefined variable: whereArray, Host: 172.16.200.173, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(102): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(245): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.php(48): FOGController->loadItem('images')\n#3 /var/www/html/fog/lib/fog/storagenode.class.php(41): FOGController->get('images')\n#4 /var/www/html/fog/lib/fog/storagegroup.class.php(44): StorageNode->get('images')\n#5 [internal function]: StorageGroup->{closure}(Object(StorageNode))\n#6 /var/www/html/fog/lib/fog/storagegroup.class.php(52): array_map(Object(Closure), Array)\n#7 /var/www/html/fog/lib/fog/bootmenu.class.php(641): StorageGroup->getOptimalStorageNode('5')\n#8 /var/www/html/fog/lib/fog/bootmenu.class.php(163): BootMenu->getTasking()\n#9  in /var/www/html/fog/lib/fog/fogftp.class.php on line 51
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Joe Gill
                                            last edited by

                                            Upate!!

                                            We got this fixed. The FreNAS node on our storage group (not the master), was set to get it’s IP address by DHCP. The DHCP lease went up and the address changed. When this happened it caused this error to appear.

                                            I reset the address on our FreeNAS node of our storage group, and everything works perfectly.

                                            Moral of the story, do not set up any of your servers with DHCP addresses when you’ve got stuff pointing to said addresses!!

                                            Thanks for making me think harder.

                                            Cheers,

                                            Joe Gill

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

                                            192

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project