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

Stop at boot.php when creating capture task

Scheduled Pinned Locked Moved Solved
FOG Problems
6
27
4.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.
  • C
    christianu
    last edited by christianu Jun 20, 2016, 11:17 AM Jun 20, 2016, 3:43 PM

    Hey folks,

    i update on the current trunk (like 1 hour ago) and now the bootloader stucks at “http://fogserver//fog/service…” , Mind the “//”, i cannot make it bold unfortunately. Is this an error in my configuration or is this a bug in the trunk?

    Thanks
    Chris

    edit: a capture task is created for this machine - with the task cancelled the boot menu shows up without any issues

    1 Reply Last reply Reply Quote 0
    • Q
      Quazz Moderator
      last edited by Jun 20, 2016, 3:55 PM

      Please list your server OS.

      As far as I know, it should resolve a double slash automatically to the proper address, so it shouldn’t cause issues.

      Edit /tftpboot/default.ipxe (last line is the one to edit) if you want to experiment though.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jun 20, 2016, 3:59 PM

        double slash isn’t a bug and shouldn’t be impacting actual URL information.

        It comes because of the way the links are created. There’s simply not a very nice way to separate what is and isn’t the webroot, so it’s safer to prepend with a slash. I can correct this, but I highly doubt this is what’s causing your 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

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by Jun 20, 2016, 4:45 PM

          so what happens when you key this into your browser?

          http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00

          Does it give you a screen full of text or just a white screen?

          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 0
          • C
            christianu
            last edited by christianu Jun 20, 2016, 10:48 AM Jun 20, 2016, 4:46 PM

            okay i will change the default.ipxe (it should not help)

            Ah - its a Debian and completely fresh.

            @george1421 A screen full of text 😉

            Q W 2 Replies Last reply Jun 20, 2016, 4:47 PM Reply Quote 0
            • Q
              Quazz Moderator @christianu
              last edited by Jun 20, 2016, 4:47 PM

              @christianu Have you turned off the firewall?

              1 Reply Last reply Reply Quote 0
              • C
                christianu
                last edited by Jun 20, 2016, 4:53 PM

                I did now - but unfortunately i am not able to test it now. Can do tomorrow morning 😉

                T 1 Reply Last reply Jun 20, 2016, 4:56 PM Reply Quote 0
                • T
                  Tom Elliott @christianu
                  last edited by Jun 20, 2016, 4:56 PM

                  @christianu I’ve updated the trunk to not add the doubleslash anymore, though I still doubt it was the problem.

                  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
                  • G
                    george1421 Moderator
                    last edited by Jun 20, 2016, 4:58 PM

                    Before you installed fog, did you set the fog server to have a static IP address?

                    And the ip address listed in the /tftpboot/default.ipxe points to the IP address of your 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!

                    1 Reply Last reply Reply Quote 0
                    • C
                      christianu
                      last edited by Jun 20, 2016, 5:02 PM

                      Yes to all of it - the “//” was not the problem. Yes the servers owns a static ip and is behind a dhcp - all options are set (i already saw your bootmenu)

                      But i found something else for now

                      I called the url with the MAC address the not working host and i got just these lines

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

                      Than i remembered that i created an image pull task for this host - deleted the task and the boot menu is back again.

                      G 1 Reply Last reply Jun 20, 2016, 5:03 PM Reply Quote 0
                      • G
                        george1421 Moderator @christianu
                        last edited by Jun 20, 2016, 5:03 PM

                        @christianu So its solved or just different results?

                        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 0
                        • C
                          christianu
                          last edited by Jun 20, 2016, 5:07 PM

                          When i create a new capture task its the same error again. But i have to change the title apparently 😄

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman
                            last edited by Jun 20, 2016, 5:12 PM

                            Make sure apache2 is running. I had an instance this morning on one server where it (very unusually) did not start up automatically after a reboot.

                            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
                            • C
                              christianu
                              last edited by Jun 20, 2016, 5:16 PM

                              Yeah but the management console is running 🙂

                              1 Reply Last reply Reply Quote 0
                              • G
                                george1421 Moderator
                                last edited by Jun 20, 2016, 5:20 PM

                                Does the apache error log give you any indication of the error? It sounds like the deploy is failing to create the required ipxe fog menu.

                                Because this is wrong, it should give you the full path to something

                                set fog-ip 192.168.22.76
                                set fog-webroot fog
                                set boot-url http://${fog-ip}/${fog-webroot}
                                

                                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 0
                                • W
                                  Wayne Workman @christianu
                                  last edited by Jun 20, 2016, 6:36 PM

                                  @christianu said in Stop at boot.php when creating capture task:

                                  okay i will change the default.ipxe (it should not help)

                                  Ah - its a Debian and completely fresh.

                                  @george1421 A screen full of text 😉

                                  Can you copy/paste this so we can see it?

                                  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
                                  • C
                                    christianu
                                    last edited by Jun 20, 2016, 6:59 PM

                                    This is what i get when i call it without capture task

                                    #!ipxe
                                    set fog-ip 192.168.22.76
                                    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
                                    goto MENU
                                    :alt_console
                                    goto MENU
                                    :get_console
                                    console --picture http://192.168.22.76/fog/service/ipxe/ --left 100 --right 80 && goto console_set || goto alt_console
                                    :MENU
                                    menu
                                    item --gap Host is registered as BPY-LAP-028!
                                    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 0 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=192.168.22.76/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                                    imgfetch init_32.xz
                                    boot || goto MENU
                                    :bootme
                                    chain -ar http://192.168.22.76/fog/service/ipxe/boot.php##params ||
                                    goto MENU
                                    autoboot
                                    
                                    W 1 Reply Last reply Jun 20, 2016, 7:01 PM Reply Quote 0
                                    • W
                                      Wayne Workman @christianu
                                      last edited by Jun 20, 2016, 7:01 PM

                                      @christianu Does the issue only happen on upload/download? Can you queue a task for this MAC and then see what this URL produces?

                                      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
                                      • C
                                        christianu
                                        last edited by Jun 20, 2016, 7:02 PM

                                        Yeah just the first 4 lines

                                        #!ipxe
                                        set fog-ip 192.168.22.76
                                        set fog-webroot fog
                                        set boot-url http://${fog-ip}/${fog-webroot}
                                        
                                        G 1 Reply Last reply Jun 20, 2016, 7:06 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @christianu
                                          last edited by george1421 Jun 20, 2016, 1:07 PM Jun 20, 2016, 7:06 PM

                                          @christianu When you get these 4 lines. What does the apache error log say. Not sure where it is on debian, let me see if I can find Sebastian’s signature.

                                          [edit]Web GUI issue? Please take a look at your apache error log file (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log)

                                          Tail the above log file. My bet there is an error thown.

                                          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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            6/27
                                            Last post

                                          168

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project