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

    ipxe/boot.php hanging on capture

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    45
    13.5k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Neither FOG nor the update deleted your images - I can guarantee you this.

      Did you change the IP address of the fog server?

      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 1
      • ftgjasonF
        ftgjason
        last edited by

        no…did not I am trying to upload another image and all seems fine until I get to the ipxe/boot.php line…it hangs and doesn’t do anything for about 2 minutes or so…and restarts the process.
        Fedora 22. The only thing that may have deleted my images was that I did a svn up from a different location other than the original location. I still have a hard time believing that would make the images delete, but that is over and now, I just want to get back to work and I can’t with the stalling at ipxe/boot.php.
        No changes were made other than the svn up.

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

          @ftgjason is you image store on a nas or mounted from a different volume? There is 0 code deleting images in the installer. There is 1 method to delete files through the GUI and it means you made the selection. It sounds, to me, like the original /images was mounted from another device, and for one reason or another the other device is no longer mounted.

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

            For the restart issue this is probably because the init is failing to get DHCP, as if this failed we can’t do anything with the system anyway. What happens if you place a dummy switch between the system and the main switch?

            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

            ftgjasonF 1 Reply Last reply Reply Quote 0
            • ftgjasonF
              ftgjason @Tom Elliott
              last edited by

              @Tom-Elliott I will try to use a different switch, but I currently have the switch in my office directly connected to the machine I am trying to upload and the FOG server. My DHCP box is in another building.

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

                @ftgjason is it a dumb switch or managed?

                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

                ftgjasonF 1 Reply Last reply Reply Quote 0
                • ftgjasonF
                  ftgjason @Tom Elliott
                  last edited by

                  @Tom-Elliott managed

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

                    @ftgjason and that managed switch is setup for spanning tree? If so is port fast, or rapid STP also enabled?

                    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

                    ftgjasonF 1 Reply Last reply Reply Quote 0
                    • ftgjasonF
                      ftgjason @Tom Elliott
                      last edited by

                      @Tom-Elliott no clue

                      ftgjasonF 1 Reply Last reply Reply Quote 0
                      • ftgjasonF
                        ftgjason @ftgjason
                        last edited by

                        @ftgjason is this something that has changed from the earlier versions? The switches all worked perfectly before the svn up

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

                          @ftgjason there’s been one change to the inits which was to help with xp and vista older style images and one change to the kernels to add support for the bnx2 firmware on some server boxes. No changes have been made to the inits in regards to network load up.

                          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

                          ftgjasonF 1 Reply Last reply Reply Quote 0
                          • ftgjasonF
                            ftgjason @Tom Elliott
                            last edited by

                            @Tom-Elliott so my switches are set to RSTP by default. Is there something else I should be seeing?

                            ftgjasonF 1 Reply Last reply Reply Quote 0
                            • ftgjasonF
                              ftgjason @ftgjason
                              last edited by

                              @ftgjason I added a dumb switch which is connected to the fog client machine that I wish to upload/capture. Nothing is different with the addition of the dumb switch.

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

                                Can you get a screen shot or video of the issue?

                                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

                                ftgjasonF 1 Reply Last reply Reply Quote 0
                                • ftgjasonF
                                  ftgjason @Tom Elliott
                                  last edited by

                                  @Tom-Elliott 0_1474382615812_IMG_5746.PNG

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

                                    @ftgjason 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

                                    ftgjasonF 2 Replies Last reply Reply Quote 0
                                    • ftgjasonF
                                      ftgjason @Tom Elliott
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • ftgjasonF
                                        ftgjason @Tom Elliott
                                        last edited by Wayne Workman

                                        @Tom-Elliott here is the latest couple of entries…

                                        [Mon Sep 19 15:46:48.827081 2016] [:error] [pid 2156] [client 192.168.0.66:8904]                                                                              PHP Fatal error:  Uncaught exception 'Exception' with message 'Type: 8, File: /                                                                             var/www/html/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index:                                                                              value, Host: 192.168.20.49, Username: fog' in /var/www/html/fog/lib/fog/fogftp.                                                                             class.php:74\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(1                                                                             13): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(831                                                                             ): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.p                                                                             hp(212): FOGController->loadItem('images')\n#3 /var/www/html/fog/lib/fog/storage                                                                             node.class.php(45): FOGController->get('images')\n#4 /var/www/html/fog/lib/fog/s                                                                             toragegroup.class.php(73): StorageNode->get('images')\n#5 [internal function]: S                                                                             torageGroup->{closure}(Object(StorageNode), 1)\n#6 /var/www/html/fog/lib/fog/sto                                                                             ragegroup.class.php(87): array_walk(Array, Object(Closure))\n#7 /var/www/html/fo                                                                             g/lib/fog/bootmenu.class.php(1381): StorageGroup->getOptimalStorageNode('8')\n#8                                                                              /var/www/html/fog/lib/fog/bootmenu.class.php(424): BootMenu->getTasking()\n#9 [                                                                             internal funct in /var/www/html/fog/lib/fog/fogftp.class.php on line 74
                                        [Tue Sep 20 09:06:32.035780 2016] [:error] [pid 2113] [client 192.168.0.64:3636]                                                                              PHP Fatal error:  Uncaught exception 'Exception' with message 'Type: 8, File: /                                                                             var/www/html/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index:                                                                              value, Host: 192.168.20.49, Username: fog' in /var/www/html/fog/lib/fog/fogftp.                                                                             class.php:74\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(1                                                                             13): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(831                                                                             ): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.p                                                                             hp(212): FOGController->loadItem('images')\n#3 /var/www/html/fog/lib/fog/storage                                                                             node.class.php(45): FOGController->get('images')\n#4 /var/www/html/fog/lib/fog/s                                                                             toragegroup.class.php(73): StorageNode->get('images')\n#5 [internal function]: S                                                                             torageGroup->{closure}(Object(StorageNode), 1)\n#6 /var/www/html/fog/lib/fog/sto                                                                             ragegroup.class.php(87): array_walk(Array, Object(Closure))\n#7 /var/www/html/fo                                                                             g/lib/fog/bootmenu.class.php(1381): StorageGroup->getOptimalStorageNode('8')\n#8                                                                              /var/www/html/fog/lib/fog/bootmenu.class.php(424): BootMenu->getTasking()\n#9 [                                                                             internal funct in /var/www/html/fog/lib/fog/fogftp.class.php on line 74
                                        [Tue Sep 20 09:26:50.788079 2016] [:error] [pid 2152] [client 192.168.0.64:43304                                                                             ] PHP Fatal error:  Uncaught exception 'Exception' with message 'Type: 8, File:                                                                              /var/www/html/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index                                                                             : value, Host: 192.168.20.49, Username: fog' in /var/www/html/fog/lib/fog/fogftp                                                                             .class.php:74\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(                                                                             113): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(83                                                                             1): StorageNode->loadImages()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.                                                                             php(212): FOGController->loadItem('images')\n#3 /var/www/html/fog/lib/fog/storag                                                                             enode.class.php(45): FOGController->get('images')\n#4 /var/www/html/fog/lib/fog/                                                                             storagegroup.class.php(73): StorageNode->get('images')\n#5 [internal function]:                                                                              StorageGroup->{closure}(Object(StorageNode), 1)\n#6 /var/www/html/fog/lib/fog/st                                                                             oragegroup.class.php(87): array_walk(Array, Object(Closure))\n#7 /var/www/html/f                                                                             og/lib/fog/bootmenu.class.php(1381): StorageGroup->getOptimalStorageNode('8')\n#                                                                             8 /var/www/html/fog/lib/fog/bootmenu.class.php(424): BootMenu->getTasking()\n#9                                                                              [internal funct in /var/www/html/fog/lib/fog/fogftp.class.php on line 74
                                        [root@localhost ~]#
                                        

                                        Mod edited to use code box.

                                        Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @ftgjason
                                          last edited by

                                          @ftgjason on the fog server at CLI, what is the output of these two commands?
                                          ip addr show
                                          and
                                          cat /tftpboot/default.ipxe

                                          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/

                                          ftgjasonF 1 Reply Last reply Reply Quote 0
                                          • ftgjasonF
                                            ftgjason @Wayne Workman
                                            last edited by Wayne Workman

                                            @Wayne-Workman

                                            [root@localhost ~]# ip addr show
                                            1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
                                                link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                                                inet 127.0.0.1/8 scope host lo
                                                   valid_lft forever preferred_lft forever
                                                inet6 ::1/128 scope host
                                                   valid_lft forever preferred_lft forever
                                            2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
                                                link/ether 18:03:73:df:0d:93 brd ff:ff:ff:ff:ff:ff
                                                inet 192.168.0.49/23 brd 192.168.1.255 scope global eno1
                                                   valid_lft forever preferred_lft forever
                                                inet6 fe80::1a03:73ff:fedf:d93/64 scope link
                                                   valid_lft forever preferred_lft forever
                                            [root@localhost ~]#
                                            [root@localhost ~]#
                                            [root@localhost ~]# cat /tftpboot/default.ipxe
                                            #!ipxe
                                            cpuid --ext 29 && set arch x86_64 || set arch i386
                                            params
                                            param mac0 ${net0/mac}
                                            param arch ${arch}
                                            param platform ${platform}
                                            param product ${product}
                                            param manufacturer ${product}
                                            param ipxever ${version}
                                            param filename ${filename}
                                            isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                                            isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                                            :bootme
                                            chain http://192.168.0.49/fog/service/ipxe/boot.php##params
                                            [root@localhost ~]#
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            267

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project