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

    PXE Boot stopped working

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    71
    29.0k
    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.
    • G
      geoffpeters
      last edited by

      I just restarted apache2 and the three FOG services. The scheduler appears to be running. Let’s see what happens overnight.

      Thanks

      1 Reply Last reply Reply Quote 0
      • G
        geoffpeters
        last edited by

        The scheduler is running.

        I think the problem was due to this:
        When I restart the apache2 service I get a message:
        “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName.”

        I think apache2 did not restart.

        When I added the ServerName localhost line to apache2.conf the apache2 service did restart.

        One of the clients did not upload at the scheduled time. It was in sleep mode (S4?) and it did not wake.

        Could this be the cause?:
        If I search for wol.php I find it in two locations.
        /var/www/fog/wol
        /home/pmusfog/desktop/fog_1.2.0/packages/web/wol

        The path in FOG Configuration->FOG Settings->General Settings->FOG_WOL_PATH = /fog/wol/wol.php.

        Do I need to change the path?

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

          I’m assuming you’re using updatedb and locate as your ‘finders’?

          The one in /home/pmusfog/desktop/fog_1.2.0/ is just the extracted folder info. The correct one is the location in /var/www/fog/ as that’s your web directory.

          The /fog/wol/wol.php is correct path unless you changed it somewhere else.

          My guess is either S4 didn’t allow wakeup, or wol isn’t enabled on that system. I don’t know all the potential values or changes in your environment either. Maybe that system is on another subnet or vlan which the fog server wouldn’t be able to send the traffic to.

          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
            geoffpeters
            last edited by

            As far as I know I did not change the path to /fog/wol/wol.php anywhere.

            All workstations are on a single subnet with no vlans in place.

            I’ll have to do some more testing with the WOL bit. That is the last thing I need to make the scheduled uploads work.

            1 Reply Last reply Reply Quote 0
            • G
              geoffpeters
              last edited by

              I’m not sure which WOL options to choose to work with FOG.

              For example, the Intel 82578DC NICs have there options:
              Wake on Magic Packet
              Wake on Magic Packet from Off State
              Wake on Link
              Wake on Pattern Match

              1 Reply Last reply Reply Quote 0
              • W
                Wolfbane8653 Developer
                last edited by

                So your saying in your OS your NIC options are those. BUT What are your options in the BIOS. This is where WOL should first be enabled.

                1 Reply Last reply Reply Quote 0
                • G
                  geoffpeters
                  last edited by

                  The BIOS options are:

                  System Power Options
                  After Power Failure <Stay Off>
                  Wake on LAN from S5 <Power On>
                  ACPI Suspend State <S3 State>
                  S3 State Indicator <Blink>
                  S1 State Indicator <On>
                  Wake System from S5 <Disabled>
                  PCIe ASPM Support <Disabled>

                  Boot Device Priority
                  Network is first in list

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

                    Wake System from S5 <Disabled>

                    Can you enable?

                    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
                      geoffpeters
                      last edited by

                      I believe this option is to wake at a user specified time.

                      I think the important option is Wake on LAN from S5 <Power On>

                      1 Reply Last reply Reply Quote 0
                      • G
                        geoffpeters
                        last edited by

                        Does FOG use a Magic Packet?

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

                          Yes, to use WakeOnLan it generates it as needed.

                          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
                            geoffpeters
                            last edited by

                            When I schedule an upload task does FOG automatically send the packet or do I have to enable that somewhere?

                            1 Reply Last reply Reply Quote 0
                            • Jaymes DriverJ
                              Jaymes Driver Developer
                              last edited by

                              [quote=“geoffpeters, post: 41155, member: 25329”]When I schedule an upload task does FOG automatically send the packet or do I have to enable that somewhere?[/quote]

                              I believe it just sends the packet, there is no need to edit a config, or enable a setting.

                              You can change the Interface, the Host, and the Path in the Fog Settings though.

                              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                              1 Reply Last reply Reply Quote 0
                              • G
                                geoffpeters
                                last edited by

                                OK.

                                The only thing I saw that looked different was this:
                                If I search for wol.php I find it in two locations.
                                /var/www/fog/wol
                                /home/pmusfog/desktop/fog_1.2.0/packages/web/wol

                                The path in FOG Configuration->FOG Settings->General Settings->FOG_WOL_PATH = /fog/wol/wol.php.

                                Tom said that it was correct though.

                                1 Reply Last reply Reply Quote 0
                                • Jaymes DriverJ
                                  Jaymes Driver Developer
                                  last edited by

                                  Yes that is correct the other is in the folder on your desktop where you decompressed the tar.gz so you could install FOG.

                                  The path on your desktop is not necessary, it is only installation material.

                                  Your WOL path should be /fog/wol/wol.php On your FOG Settings page under the General Settings.

                                  WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    geoffpeters
                                    last edited by

                                    Thanks. So the /var/www part is implied?

                                    1 Reply Last reply Reply Quote 0
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      Yes because when it (apache) serves the entire FOG web GUI system, it does so from your web path which is /var/www

                                      So the entire path to WOL is /var/www/fog/wol/wol.php

                                      The web path is /fog/wol/wol.php

                                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        geoffpeters
                                        last edited by

                                        Thanks for the clarification

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          geoffpeters
                                          last edited by

                                          I scheduled a few upload tasks overnight. They did not run.

                                          When I look at the fogscheduler.log I see that the last entry was yesterday morning. I did not stop the services.

                                          [COLOR=#008080]Edit: I did check and none of the FOG services was running.[/COLOR]

                                          How do I troubleshoot this?

                                          Also, does the Windows client have to be at the login screen for the task to run? What if a user is logged in or the machine is locked ?

                                          [COLOR=#008080]Edit: I found that the Auto Log Out module was disabled. I’ll test again tonight. Does the global setting override the setting on the client? The clients were installed with Auto Log Out selected.[/COLOR]

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            geoffpeters
                                            last edited by

                                            I still don’t know why the FOG services stopped…

                                            I did find that the Intel driver installed on the clients did not actually support WOL even though there were check boxes to enable it.

                                            I haven’t fully sorted out the Auto Log Out.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            164

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project