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

    Cannot PXE boot

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    16
    3.9k
    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.
    • J
      jpmtg
      last edited by

      I updated to 7861 this morning and that resolved the error in the screenshot. We were then able to get it to start trying to capture an image but it failed on the last step with a failed ftp login. After reading a bit this seemed to be because of passwords not matching. We set the passwords in fog to match ubuntu/storage/ftp so that they were all the same username and passwords. We tried again and ftp still failed. We walked away from it for a few to address some other issues and when we came back the screen was locked but the password we had set failed to unlock the computer. We rebooted into recovery and reset the fog user password back to what it was and pressed on. The next attempt failed to pull an IP address from the fog server. We restarted the service like this:

      sudo service tftpd-hpa stop
      sudo service tftpd-hpa start

      It still fails to pull an IP address. Thanks again for the continued support!

      1 Reply Last reply Reply Quote 0
      • J
        jpmtg
        last edited by

        Turns out the DHCP service was stopped. IT is now trying to pull an image again. Cross fingers!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          Sorry for this off topic post but I need to thank @Wayne-Workman for his comment and feel like I want to add something to it.

          But I’m still light-years behind some of these other guys.

          I guess you already know this but better to say it out load - for others to hear/read as well. We are all light-years behind someone else. But that’s not the point. Everyone can learn, everyone can help. So I can just repeat Wayne’s suggestion on helping us in the forums. Don’t feel like you might not know enough or could give a wrong answer. As I said everyone does know something and wrong answers can still help to learn (for you and others).

          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

          adukes40A 1 Reply Last reply Reply Quote 3
          • adukes40A
            adukes40 @Sebastian Roth
            last edited by

            @Sebastian-Roth And with that said, I will say although I am very new to FOG and Linux, I will try to help if I can. Wayne has been great and I had a good talk with George as well. The community here is great and full of knowledge.

            So far FOG is great and I am trying to learn/understand as much as i can about it.

            1 Reply Last reply Reply Quote 2
            • J
              jpmtg
              last edited by

              All my issues are now resolved after moving to the newest release and making sure all the services were started. Is there a way to make sure everything fog uses is always running after boot (tftpd-hpa and dhcp)?

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

                @jpmtg Yes.

                Ubuntu/debian:

                service thing status

                Red Hat/Fedora/CentOS:

                systemctl status thing

                so for example, service dhcpd status

                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/

                J 1 Reply Last reply Reply Quote 0
                • J
                  jpmtg @Wayne Workman
                  last edited by

                  @Wayne-Workman Maybe I should clarify my question a bit. Is there a method to check if the services are not running or possibly restarting them all after a reboot via an automated script? I have been told that the tftpd-hpa has to be stopped then started after most reboots to work properly and today after a reboot the DHCP service decided to not start. Thanks for the help and comments for sure!

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

                    @jpmtg You could disable services on boot, and then modify the /etc/rc.local file on Ubuntu systems, or I think /etc/rc.d/rc.local on Fedora/CentOS and then call each service you disabled manually. This file will run on each boot. The idea is just to create a delay, which is what (increasingly seems like) very fast systems need.

                    Make sure the file has the executable bit set, for whatever path:
                    chmod +x /etc/rc.d/rc.local

                    Make sure this line is at the very top of the script:
                    #!/bin/bash

                    Then you can insert a sleep command:

                    sleep 30

                    Then you can start all the services you want, in whatever order. You can have more than one sleep statement if you want. This is OS specific. Here’s an example for Fedora:

                    systemctl start nfs-server
                    systemctl start rpcbind
                    systemctl start dhcpd
                    systemctl start tftpd-hpa
                    systemctl start FOGMulticastManager
                    systemctl start FOGScheduler
                    systemctl start FOGSnapinReplicator
                    systemctl start FOGImageReplicator
                    

                    The file should always end with this line:
                    exit 0

                    If you do this, don’t forget to disable each of these items. Otherwise you might run into issues with two of them running, or crashing, or some other crazy stuff.

                    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/

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Wayne Workman
                      last edited by

                      @Wayne-Workman I think where @jpmtg is coming from is that in some opensource projects there is a supervisory service that makes sure everything is running and if its not attempts to start it X times. If it fails X times then it send out an alert or email the admin. I have also seen that some projects actually have a service page that lists if the services are running or not, and gives the admin a choice to stop or start a service.

                      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!

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

                        @george1421 said in Cannot PXE boot:

                        I have also seen that some projects actually have a service page that lists if the services are running or not, and gives the admin a choice to stop or start a service.

                        I’ve got a DHCP plugin ready to be integrated into fog… just having a lot of trouble understanding the plugin system for such a large plugin.

                        But, I can easily create a two-file + small DB change plugin that will detect the status of services and offer the ability to restart on a click.

                        Again though, the one thing holding me back from going wild is a lack of understanding of the plugin system. People have attempted to explain it to me many times but it just doesn’t click. I need to be shown.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        160

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project