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

Tasks not being processed

Scheduled Pinned Locked Moved Solved
FOG Problems
task processed
4
32
12.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.
  • D
    Drevonovic @Wayne Workman
    last edited by Oct 28, 2015, 8:05 AM

    @Wayne-Workman The host is physical, the server is virtual

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 28, 2015, 8:31 AM

      @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

      D 2 Replies Last reply Oct 29, 2015, 9:34 AM Reply Quote 0
      • D
        Drevonovic @Sebastian Roth
        last edited by Oct 29, 2015, 9:34 AM

        @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

        T 1 Reply Last reply Oct 29, 2015, 9:44 AM Reply Quote 0
        • T
          Tom Elliott @Drevonovic
          last edited by Oct 29, 2015, 9:44 AM

          @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

          D 1 Reply Last reply Oct 29, 2015, 10:15 AM Reply Quote 0
          • D
            Drevonovic @Tom Elliott
            last edited by Oct 29, 2015, 10:15 AM

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

            T 1 Reply Last reply Oct 29, 2015, 11:39 AM Reply Quote 0
            • T
              Tom Elliott @Drevonovic
              last edited by Oct 29, 2015, 11:39 AM

              @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
              • D
                Drevonovic
                last edited by Drevonovic Oct 30, 2015, 2:33 AM Oct 30, 2015, 8:26 AM

                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
                • D
                  Drevonovic @Sebastian Roth
                  last edited by Oct 30, 2015, 8:50 AM

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

                  T 1 Reply Last reply Oct 30, 2015, 9:24 AM Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth Oct 30, 2015, 3:23 AM Oct 30, 2015, 9:22 AM

                    @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
                    • T
                      Tom Elliott @Drevonovic
                      last edited by Oct 30, 2015, 9:24 AM

                      @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
                      • D
                        Drevonovic
                        last edited by Drevonovic Oct 30, 2015, 3:55 AM Oct 30, 2015, 9:50 AM

                        @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 Oct 30, 2015, 9:56 AM

                          @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

                          D 1 Reply Last reply Oct 30, 2015, 10:15 AM Reply Quote 0
                          • D
                            Drevonovic @Sebastian Roth
                            last edited by Oct 30, 2015, 10:15 AM

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

                            D 1 Reply Last reply Oct 30, 2015, 11:07 AM Reply Quote 0
                            • D
                              Drevonovic @Drevonovic
                              last edited by Oct 30, 2015, 11:07 AM

                              @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 Oct 30, 2015, 4:47 PM

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

                                183

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project