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

    Tasks not being processed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    task processed
    4
    32
    11.8k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Drevonovic The best I can offer now is to take a look at a packet dump. Capture packets while the client in question boots up so we can exactly see which request is send and which answer is generated.
      For that please open two terminals on your server. Make sure that most of your browser windows and clients are closed/shutdown so that we don’t have too much other stuff interfering and filling the logs. In the install and run tcpdump:

      sudo apt-get install tcpdump
      sudo tcpdump -i eth0 -w bootmenu.pcap
      

      Leave that and open the apache log in the second window:

      sudo tail -f /var/log/apache2/error.log
      

      Hit Enter twice or so that you see where it started last. Now boot up the client til you see the menu. Stop both commands with Ctrl+c and upload the PCAP file as well as the lines you see in the error.log (copy&paste).

      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

      DrevonovicD 2 Replies Last reply Reply Quote 0
      • DrevonovicD
        Drevonovic @Sebastian Roth
        last edited by

        @Uncle-Frank I will do this the first thing tomorrow. I don’t have my environment available today which makes it hard to test this 🙂 Let’s hope we can find something tomorrow

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

          @Drevonovic does this system have multiple nics? Are both of these nics connected and getting ip addresses? It sounds, to me, like the nic that is pxe booting is not the nic that is registered to this host.

          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

          DrevonovicD 1 Reply Last reply Reply Quote 0
          • DrevonovicD
            Drevonovic @Tom Elliott
            last edited by

            @Tom-Elliott It shouldn’t. The network of my Virtual machine is set on bridged and the machine I’m running the VM on has only 1 NIC.

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

              @Drevonovic What I mean,

              When the system in question is network booting, it should show the MAC Address of the host that’s getting the IP Address. You can pause it when it’s obtaining the IP Address. If you look at the registered host’s mac address as displayed in the GUI and compare it to the one on the PXE screen, are they the same.

              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
              • DrevonovicD
                Drevonovic
                last edited by Drevonovic

                Update: Before I tried @Uncle-Frank his packet dump, I did a wireshark capture while booting up the host. It gave me some information considering the TFTP packages.

                wireshark.PNG

                The only file in /tftpboot/pxelinux.cfg/ is “default”

                1 Reply Last reply Reply Quote 0
                • DrevonovicD
                  Drevonovic @Sebastian Roth
                  last edited by

                  @Uncle-Frank bootmenu.pcap
                  The error.log didn’t give any new lines when I was capturing.
                  error.log.png

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

                    @Drevonovic Did you know that you have two DHCP server answering discoverys from your client? 192.168.1.102 and 192.168.1.1… Both offering an IP to the client. I think this is not causing your issue (because only one is offering pxe filename) but still this is not something you want I guess!

                    Please check your pxelinux.cfg/default! Do you see the ‘max/mac’ typo??

                    ...
                    KERNEL ipxe.krn
                    APPEND dhcp && chain http://192.168.1.102/fog/service/ipxe/boot.php?max=${net0/mac}
                    ...
                    

                    This is why I love tcpdump/wireshark. You really see what’s being send over the wire…

                    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 @Drevonovic
                      last edited by

                      @Drevonovic why are you loading pxelinux.0 as the boot file rather than one of the undionly files?

                      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
                      • DrevonovicD
                        Drevonovic
                        last edited by Drevonovic

                        @Tom-Elliott Before I had this error, my hosts weren’t able to find any PXE files with the error “default.ipxe… No such file or directory”. Following the instructions on https://wiki.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0 solved this problem

                        @Uncle-Frank “chain http://192.168.1.102/fog/service/ipxe/boot.php?max=${net0/mac}”
                        I’m betting “max” should be mac?
                        However, using nano on this file on my server, it gives this as an output.
                        default.png

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

                          @Drevonovic Right, give ‘mac’ a go and see if it works!

                          Please post a listing of your tftp directory ls -al /tftpboot. Sounds like default.ipxe might have wrong permissions?!

                          Or try tcpdump again to see if it really requests the correct file…

                          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

                          DrevonovicD 1 Reply Last reply Reply Quote 0
                          • DrevonovicD
                            Drevonovic @Sebastian Roth
                            last edited by

                            @Uncle-Frank It worked! Fixed the typo and my upload task started to process! Now I’m waiting for the process to finish to see if it also fixed the “host is NOT registered” error.

                            So gratefull! thank you very much!

                            DrevonovicD 1 Reply Last reply Reply Quote 0
                            • DrevonovicD
                              Drevonovic @Drevonovic
                              last edited by

                              @Drevonovic said:

                              @Uncle-Frank It worked! Fixed the typo and my upload task started to process! Now I’m waiting for the process to finish to see if it also fixed the “host is NOT registered” error.

                              So gratefull! thank you very much!

                              It also fixed the host is not registered error 🙂

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

                                @Drevonovic You are welcome! Do you want to stick with pxelinux or try to get the normal way with default.ipxe up? See my other post and feel free to ask if you need further assistence.

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

                                182

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project