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

    PXE Boot stopped working

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    71
    27.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      No,

      Check your server timezones?

      /etc/php5/apache/php.ini (date.timezone=America/New_York)

      /etc/php5/cli/php.ini (date.timezone=America/New_York)

      Change your America/New_York to match your particular timezone.

      Then you’ll have to restart the apache server:

      [code]sudo service apache2 restart[/code]

      And restart the FOG Services that use the scheduler and such:
      [code]sudo service FOGMulticastManager restart
      sudo service FOGImageReplicator restart
      sudo service FOGScheduler restart[/code]

      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

        In /etc/php5/cli/php.ini the date.timezone field was commented out and no time zone was specified.

        I’ll test it in a bit.

        Does the America/New_York part have to be in quotes? It is in quotes in the other file.

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

          It does not need to be in quotes, though it doesn’t hurt it either.

          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

            Thanks for your quick replies.

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

              I just tried a manual upload. I have been busy with something else and I wasn’t monitoring the progress. I thought it would have been done some time ago and the FOG server showed 99.85% complete. I looked at the client and it was displaying FOGFTP: login failed with user “fog” and incorrect password every few seconds.

              I did not recognize the password it was attempting to use.

              Where do I edit that password? Could it have something to do with the files I copied from trunk?

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

                It would not have anything to do with the files you downloaded from trunk.

                To fix, I would recommend changing the Unix user fog with:
                [code]sudo passwd fog[/code] Specify your new password and confirm it as required.

                Then go to Storage Management Page->List All Nodes->Your relevant node->Management Password and change this password to what you changed in the above step.

                Then, go to FOG Configuration Page->FOG Settings->TFTP Server->FOG_TFTP_FTP_PASSWORD. Set the password to the same you set above, then all should be back to operational.

                Hopefully this helps.

                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

                  OK. I have changed the password in all locations and a manual upload works fine. I can create an instant task, the client restarts and the upload completes successfully.

                  I still cannot run a delayed upload. The client is showing the Ctl-Alt-Del screen. The client machine does not restart.

                  How do I best troubleshoot this.

                  I don’t think this is related, it pertains to WOL. 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.

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

                    Is this before or after the delayed task has started?

                    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

                      The delayed task never shows that it has started. Actually, I’m not sure what I should see in Task Management. If I look at Scheduled Tasks I see the Upload task I just created. Under Active/Type I see Yes/Delayed. The task never appears in the Active Tasks window. It is now 10 minutes after the scheduled start time.

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

                        my guess is the time is off then.

                        Have you ensured the date.timezone setting of both the /etc/php5/apache/php.ini and /etc/php5/cli/php.ini were set, and that the FOG Services were all restarted after the apache service was restarted?

                        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

                          Yes, both php.ini files contain date.timezone=“America/Los_Angeles”. My path includes apache2, I assume that is OK.

                          I followed the steps you outlined and I restarted the FOG server.

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

                          When I restart the FOG services I see this:
                          “Restarting FOG Computer Imaging Solution: FOGScheduler
                          start-stop-daemon: warning: failed to kill 939: no such process” [OK]

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

                            [quote=“geoffpeters, post: 41043, member: 25329”]Yes, both php.ini files contain date.timezone=“America/Los_Angeles”. My path includes apache2, I assume that is OK.

                            I followed the steps you outlined and I restarted the FOG server.

                            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.”
                            [/quote]

                            check this out you may want to look at those files again and change 127.0.1.1 to localhost
                            [url]http://askubuntu.com/questions/256013/could-not-reliably-determine-the-servers-fully-qualified-domain-name[/url]

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

                              I fixed the ServerName problem.

                              I tried to insert screen shots of the php.ini files but it seems I don’t know how.

                              In any case it looks to me as if they are both correct.

                              [IMG]http://fogproject.org/forum/c:\mover\apache2.png[/IMG][IMG]http://fogproject.org/forum/\i7-09-10w7\c:\mover\apache2.png[/IMG]

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

                                Use the “More Options…” button

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

                                  OK. how about these:

                                  [ATTACH]1612[/ATTACH]

                                  [ATTACH]1613[/ATTACH]

                                  [url=“/_imported_xf_attachments/1/1612_apache2.png?:”]apache2.png[/url][url=“/_imported_xf_attachments/1/1613_cli.png?:”]cli.png[/url]

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

                                    This is good for the time zone.

                                    However, for your error of “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName.”
                                    [SIZE=14px][quote][/quote][/SIZE][quote][SIZE=14px][FONT=UbuntuRegular][COLOR=#333333]If you insert a[/COLOR][/FONT][/SIZE]
                                    [COLOR=#333333][FONT=Ubuntu Mono][SIZE=14px][COLOR=#222222]ServerName localhost[/COLOR][/SIZE][/FONT][/COLOR]
                                    [FONT=UbuntuRegular][COLOR=#333333][SIZE=14px]in either [COLOR=#222222][FONT=Ubuntu Mono][SIZE=14px]httpd.conf[/SIZE][/FONT][/COLOR] or [COLOR=#222222][FONT=Ubuntu Mono][SIZE=14px]apache2.conf[/SIZE][/FONT][/COLOR] in [COLOR=#222222][FONT=Ubuntu Mono][SIZE=14px]/etc/apache2[/SIZE][/FONT][/COLOR] and restart apache the notice will disappear.[/SIZE][/COLOR][/FONT]
                                    [/quote]

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

                                      Yes, I did that.

                                      [S]The scheduled task now appears in the Active Tasks window.[/S]

                                      My mistake. The scheduled task is not running.

                                      I tried the client with a user logged in, at the ctl-alt-del screen, and with a reboot.

                                      In the first two cases nothing happened. In the reboot it went through the PXE menu and by default booted from the hard drive

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

                                        Any more ideas about getting the scheduled task deployment to work?

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

                                          I hate to throw this out there but did you disable windows firewall yet?

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

                                            No firewalls on Windows boxes (via GPO) or the FOG server.

                                            Just a reminder, the upload task works fine if I deploy the task instantly.

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

                                            158

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project