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

TFTP issues intermitent

Scheduled Pinned Locked Moved
FOG Problems
6
14
3.4k
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.
  • S
    Sebastian Roth Moderator
    last edited by Feb 12, 2015, 8:35 PM

    Is it always the same machines failing or randomly?? Not easy to track down if it happens randomly I suppose. You can capture all TFTP traffic on the FOG server but might be pain in the ass to go through that packet dump afterwards and find out about those failed clients. TFTP is not the easiest protocol to capture/filter as it uses unknown port numbers when transfering data.
    Start off with capturing just the TFTP requests on your FOG server:
    [CODE]sudo tcpdump -i eth0 -w tftp_requests.pcap port 69[/CODE]
    Copy the pcap file to your PC and open it using wireshark. See if you can find anything useful in there (like missing requests from some of your clients)…

    If you want to take it one step further and capture the TFTP answers too you’ll probably have to capture all UDP traffic. Setting ‘snaplen’ (-s) to a sensible number might give you a smaller pcap file and still have all the information you want. See ‘man tcpdump’ too.
    [CODE]sudo tcpdump -i eth0 -s 512 -w tftp_all.pcap udp[/CODE]

    Upload them to the forum if you want me to have a look at those packet dumps. I’ll see what I can find out.

    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
    • J
      Junkhacker Developer
      last edited by Feb 13, 2015, 2:31 PM

      how long do the clients take before they timeout? how long do they normally sit at the network boot screen before they pick up the network boot file?

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Feb 13, 2015, 2:33 PM

        My basic guess.

        Option 67/filename is still set to pxelinux.0. In FOG 1.x.x, the file name should be changed to undionly.kpxe.

        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
        • D
          Darrell Lanson
          last edited by Feb 13, 2015, 3:51 PM

          Yeah I updated it to the undionly.kpxe when I did the upgrade normally it boots right away into the fog menu takes like 2 to 3 seconds but when it goes south after about 20 seconds it times out. Now I am starting to believe the problem is server related I got one machine to image by restarting the fog server it seems that apache2 is randomly crashing but only on certain things it appears everything is working till you log into the fog server and there is a ton of errors. I am using Ubuntu 14.04LTS is there a different version I should be using or a different OS? We have been using this for 4 to 5 years now and this is the only hic up we have ever seen this is an excellent product especially when you have no budget.

          Ubuntu 14.04.5 LTS 64bit
          Fog 1.5.3

          1 Reply Last reply Reply Quote 0
          • J
            Junkhacker Developer
            last edited by Feb 13, 2015, 4:03 PM

            i would recommend almost any other version of Ubuntu over 14.04 LTS. many people have gotten fog to work fine on it, but many people haven’t as well. i personally use Ubuntu 12.04 LTS and have had very few issues.

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • W
              Wolfbane8653 Developer
              last edited by Feb 13, 2015, 4:04 PM

              [quote=“Tom Elliott, post: 42212, member: 7271”]My basic guess.

              Option 67/filename is still set to pxelinux.0. In FOG 1.x.x, the file name should be changed to undionly.kpxe.[/quote]

              Just for future reference you will see changing this dhcp option in the wiki guide to upgrade from 0.32 to 1.x.x. You may want to reference this for other changes.
              [url]http://fogproject.org/wiki/index.php/Upgrade_to_1.x.x[/url]

              Ubuntu 14.04 is known for randomly crashing apache2 and tftp. I believe they have released updates to correct this. Try doing:
              [CODE]sudo apt-get update
              sudo apt-get upgrade
              reboot[/CODE]
              This should update all your packages. [U]Hopefully[/U] this doesn’t break anything.

              1 Reply Last reply Reply Quote 0
              • D
                Darrell Lanson
                last edited by Feb 13, 2015, 4:49 PM

                Yeah before the upgrade I was using 12.04 but thought it would be safe to update the server as well I was suspecting it was the problem but its so hit and miss it was making it tough to trouble shoot.

                Ubuntu 14.04.5 LTS 64bit
                Fog 1.5.3

                1 Reply Last reply Reply Quote 0
                • D
                  Darrell Lanson
                  last edited by Feb 13, 2015, 4:51 PM

                  Yeah if this doesn’t work I will make a new server using 12.04 its what I used in the pass and it worked flawlessly. Didn’t think that would be such a big issue.

                  Ubuntu 14.04.5 LTS 64bit
                  Fog 1.5.3

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wolfbane8653 Developer
                    last edited by Feb 13, 2015, 4:56 PM

                    Hopefully this will help you with some questions on your OS decisions.
                    [url]http://fogproject.org/wiki/index.php/FOGUserGuide#Installation_on_different_distributions_of_Linux[/url]

                    1 Reply Last reply Reply Quote 0
                    • J
                      Junkhacker Developer
                      last edited by Feb 13, 2015, 4:58 PM

                      [quote=“Wolfbane8653, post: 42224, member: 3362”]Hopefully this will help you with some questions on your OS decisions.
                      [url]http://fogproject.org/wiki/index.php/FOGUserGuide#Installation_on_different_distributions_of_Linux[/url][/quote]

                      most of those are pretty outdated, and only have instructions for installing 0.32

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • D
                        Darrell Lanson
                        last edited by Feb 17, 2015, 7:03 PM

                        Well so far it’s looking like the updates may have fixed my issues I haven’t had a TFTP timeout since the update so I will keep you posted if it starts up again.

                        Ubuntu 14.04.5 LTS 64bit
                        Fog 1.5.3

                        1 Reply Last reply Reply Quote 0
                        • D
                          Darrell Lanson
                          last edited by Feb 18, 2015, 5:06 PM

                          Well definitely spoke to soon even after the updates I am still forced to run this command every so often “restart tftpd-hpa” which fixes the issue usually for about an hour sometimes a lot less I will be making a new install using 12.04.4 LTS server I haven’t heard anything bad about that one.

                          Ubuntu 14.04.5 LTS 64bit
                          Fog 1.5.3

                          1 Reply Last reply Reply Quote 0
                          • T
                            TheGorgotron
                            last edited by Feb 18, 2015, 5:46 PM

                            I was on Ubuntu before switching to Debian and had to run the “restart tftp-hpa” command on a regular basis.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            1 / 1
                            • First post
                              11/14
                              Last post

                            165

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project