• 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.
    • DrevonovicD
      Drevonovic @Wayne Workman
      last edited by

      @Wayne-Workman how can I change this? (I’m really new at this so sorry if this is a weird question)

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

        @Drevonovic I’m not exactly sure, I haven’t seen that sort of issue before.

        But, coming back to your registration issue, have you tried to delete the host from the DB and then re-register it?

        When you select the host in the Web UI, towards the left at the bottom there should be a link for deleting.

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

          Knipsel.PNG
          This is the only link I can find to delete my host in the host list. Don’t think it is this you meant?

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

            @Wayne-Workman Also, I cannot manage to find these 2 log files. /opt seems to have a map log in it, but don’t have any content :sfilezilla.PNG

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

              @Drevonovic I think that little remove link would work just fine. 1.2.0 looks worlds different than the current developmental version. So just delete that host and try to re-register it.

              Here’s the delete link I was talking about:
              upload-564cdd88-5591-4340-ab4a-33dc400dc67d

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

                @Wayne-Workman In that case, yes I already tried that. It let me register the host again, it comes up in both the WEB UI as in the fog server, but the header of the menu isn’t changing

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

                  Is the host virtual or physical?

                  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/

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

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

                    1 Reply Last reply Reply Quote 0
                    • 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
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            170

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project