• 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
11.6k
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
    last edited by Oct 23, 2015, 10:27 AM

    Hello,

    This is one of my first posts on this forum and I’m new to the FOG project.

    After setting up a fog server 1.2.0 on an Ubuntu 14.04 LTS (Virtual) I was able to let my other laptop, which I use as a test device, connect to my server and display the menu.

    When I issued the upload task in the web interface, the task goes to “active tasks” but is never processed. The laptop where the image needs to be uploaded from (the test device) never gets the task and jumps straight to the iPXE menu.

    I’ve researched this forum for a solution but the only “fix” I found was a clean install, which I did several times already. So could anyone help me with this problem without a reinstall?

    Thanks!

    P.S. my test device gets the message “Host is NOT registered!” message, while both in the web interface as in the full host registration, the device is registered

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 23, 2015, 11:41 AM

      Registration, tasks and all the rest is assigned/related via MAC address. So please compare the clients MAC address with the one you see in the web interface in the hosts entry.

      PS: You only need to to register the host once. Either on the web interface or via PXE menu (full host registration).

      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 26, 2015, 8:46 AM Reply Quote 1
      • T
        Tom Elliott
        last edited by Oct 23, 2015, 11:42 AM

        Can you get us a copy of both the error and access logs? The access log will show what url is passing which should indicate what is actually being sent to the server for checking if the host is registered or not.

        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 26, 2015, 8:44 AM Reply Quote 1
        • D
          Drevonovic @Tom Elliott
          last edited by Oct 26, 2015, 8:44 AM

          @Tom-Elliott I’m sorry for the delayed answer.
          I have looked for the error and access logs before I posted this, but the problem here is that I cannot find any file having the logs in it :s

          1 Reply Last reply Reply Quote 0
          • D
            Drevonovic @Sebastian Roth
            last edited by Oct 26, 2015, 8:46 AM

            @Uncle-Frank The MAC-addresses are correct. When I do a full registration for a second time (since it still says host is not registered), it does tell me he is already registered. It is the header of the iPXE menu that isn’t changing and I cannot find why it doesn’t change. As posted in my other answer to Tom Elliott, I can’t find any log files to check what is going wrong

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Oct 26, 2015, 10:15 AM

              Ubuntu has the log files in /var/log/apache2/error.log and /var/log/apache2/access.log

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

              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 26, 2015, 11:01 AM Reply Quote 0
              • D
                Drevonovic @Sebastian Roth
                last edited by Oct 26, 2015, 11:01 AM

                @Uncle-Frank Thanks!
                @Tom-Elliott error (2).png access.png

                W 1 Reply Last reply Oct 26, 2015, 4:00 PM Reply Quote 0
                • W
                  Wayne Workman @Drevonovic
                  last edited by Oct 26, 2015, 4:00 PM

                  @Drevonovic

                  What is the output of this?

                  ls -la /var/log/apache2/error.log
                  

                  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/

                  D 1 Reply Last reply Oct 26, 2015, 5:34 PM Reply Quote 0
                  • D
                    Drevonovic @Wayne Workman
                    last edited by Oct 26, 2015, 5:34 PM

                    @Wayne-Workman -rw-r----- 1 root adm 6935 okt 26 11;57 /var/log/apache2/error.log

                    W 1 Reply Last reply Oct 26, 2015, 6:38 PM Reply Quote 0
                    • W
                      Wayne Workman @Drevonovic
                      last edited by Oct 26, 2015, 6:38 PM

                      @Drevonovic see how it has double forward slashes in the path below?

                      /opt/fog//log/multicast.log and /opt/fog//log/fogscheduler.log that can’t be right…

                      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/

                      D 2 Replies Last reply Oct 26, 2015, 7:28 PM Reply Quote 0
                      • D
                        Drevonovic @Wayne Workman
                        last edited by Oct 26, 2015, 7:28 PM

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

                        W 1 Reply Last reply Oct 27, 2015, 2:08 AM Reply Quote 0
                        • W
                          Wayne Workman @Drevonovic
                          last edited by Oct 27, 2015, 2:08 AM

                          @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
                          • D
                            Drevonovic
                            last edited by Oct 27, 2015, 4:49 PM

                            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?

                            W 1 Reply Last reply Oct 27, 2015, 7:48 PM Reply Quote 0
                            • D
                              Drevonovic @Wayne Workman
                              last edited by Drevonovic Oct 27, 2015, 11:00 AM Oct 27, 2015, 4:59 PM

                              @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
                              • W
                                Wayne Workman @Drevonovic
                                last edited by Oct 27, 2015, 7:48 PM

                                @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
                                • D
                                  Drevonovic
                                  last edited by Oct 27, 2015, 8:05 PM

                                  @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
                                  • W
                                    Wayne Workman
                                    last edited by Oct 27, 2015, 11:45 PM

                                    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/

                                    D 1 Reply Last reply Oct 28, 2015, 8:05 AM Reply Quote 0
                                    • 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
                                          • 1
                                          • 2
                                          • 2 / 2
                                          2 / 2
                                          • First post
                                            9/32
                                            Last post

                                          146

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project