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

    TFTP issues, but fixable...?

    Scheduled Pinned Locked Moved
    Windows Problems
    11
    20
    19.8k
    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.
    • R
      Robert Erbes
      last edited by

      Hey guys,

      I have a normal FOG build on a Ubuntu 12.04. It works AMAZING… until I reboot the Ubuntu box. I then get a TFTP Timeout… This is easily fixable by reinstalling FOG over itself. But I would like to fix the underlying problem.

      Possible fixes?

      1. Permission issue in TFTP dirs?
      2. I uninstalled Acronis PXE and TFTP servers from my 2003 box. Rebooted it, but is there something lingering?
      3. FOG just doesn’t work well with Ubuntu 12.04 LTR? (I have performed 0 (ZERO) updates)

      Any ideas would be wonderful,
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • A
        astrouga
        last edited by

        [quote=“Robert Erbes, post: 3495, member: 827”]Hey guys,
        I have a normal FOG build on a Ubuntu 12.04. It works AMAZING… until I reboot the Ubuntu box. I then get a TFTP Timeout… This is easily fixable by reinstalling FOG over itself. But I would like to fix the underlying problem.
        [/quote]

        I can confirm this. I have the same issue on 12.04. I assume something is not being added to a startup script. I’ve been reinstalling my server daily, so I had forgotten all about this issue. I’ll see if I can nail it down though. If someone knows the solutions, please share.

        –astrouga

        1 Reply Last reply Reply Quote 0
        • A
          astrouga
          last edited by

          Type this in a terminal window:
          [code]
          sudo stop tftpd-hpa
          sudo start tftpd-hpa
          [/code]
          Then try. Did it work?

          Worked for me.

          –astrouga

          1 Reply Last reply Reply Quote 0
          • R
            Robert Erbes
            last edited by

            astrouga,

            Thanks SO much for looking into this. I really had to get a server going, so I reloaded with 10.04. I’ll try this next time I load a 12 box.

            Thanks again!

            1 Reply Last reply Reply Quote 0
            • I
              Ivan
              last edited by

              astrouga,

              Thank You this fixed the problem

              1 Reply Last reply Reply Quote 0
              • A
                astrouga
                last edited by

                [quote=“Ivan, post: 3889, member: 1277”]astrouga,

                Thank You this fixed the problem[/quote]

                Glad to help!

                1 Reply Last reply Reply Quote 0
                • K
                  Kevin McCaughey
                  last edited by

                  Did you try this and it didn’t work? That happened me too! But then I realised I am an imbecile and was typing: tftp-hpa instead of tftp[B]d[/B]-hpa!

                  So 12 hours later, I re-read this, typed it properly and I am back in action again! OMG what a wasted 12 hours of my life that was… ugh 😞 I tried everything, even casting a spell on the machine 😉

                  Thanks so much astrouga - I was ready to throw in the towel 🙂 This would be really helpful in the wiki.

                  1 Reply Last reply Reply Quote 0
                  • A
                    astrouga
                    last edited by

                    Where would you recommend it go in the wiki? Honestly, these days I come to the forums for assistance and never use the wiki.

                    -astrouga

                    1 Reply Last reply Reply Quote 0
                    • A
                      astrouga
                      last edited by

                      BTW, the solution ullawolf1 suggested works really well:

                      "So tftpd-hpa starts “to early”. You can fix this by editing the /etc/rc.local and add the line

                      [CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]

                      to restart the daemon after 30 seconds."

                      The thread is here:
                      [U][SIZE=2][COLOR=#0060e0][SIZE=2][COLOR=#0060e0][url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url][/COLOR][/SIZE][/COLOR][/SIZE][/U]

                      [SIZE=2]astrouga[/SIZE]

                      1 Reply Last reply Reply Quote 0
                      • C
                        chad-bisd Moderator
                        last edited by

                        When things calm down a bit at work I’ll update the wiki some more. I’m midstream of updating the Ubuntu install articles and adding info for more versions.


                        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kevin McCaughey
                          last edited by

                          [quote=“astrouga, post: 8526, member: 907”]BTW, the solution ullawolf1 suggested works really well:

                          "So tftpd-hpa starts “to early”. You can fix this by editing the /etc/rc.local and add the line

                          [CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]

                          to restart the daemon after 30 seconds."

                          The thread is here:
                          [U][SIZE=2][COLOR=#0060e0][url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url][/COLOR][/SIZE][/U]

                          [SIZE=2]astrouga[/SIZE][/quote]

                          Sweet - added that now so I don’t need to remember. I get so deep into these things, then months later I totally forget what I did in the first place 😉 I had to come back here again to check!

                          1 Reply Last reply Reply Quote 0
                          • C
                            ChrisG
                            last edited by

                            This happens to us frequently. Create a launcher and set it to automatically run on after boot. Also, turning off the GUI seemed to help oddly.

                            1 Reply Last reply Reply Quote 0
                            • S
                              siistibuddy
                              last edited by

                              [quote=“astrouga, post: 8526, member: 907”]BTW, the solution ullawolf1 suggested works really well:

                              "So tftpd-hpa starts “to early”. You can fix this by editing the /etc/rc.local and add the line

                              [CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]

                              to restart the daemon after 30 seconds."

                              The thread is here:
                              [U][SIZE=2][COLOR=#0060e0][url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url][/COLOR][/SIZE][/U]

                              [SIZE=2]astrouga[/SIZE][/quote]

                              Perfect Solution!!! worked great for me also!!

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

                                Has anyone in this thread found this issue with 0.33b? Maybe I can append/sed the command into the installation so nobody has to worry about this!

                                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
                                • C
                                  chad-bisd Moderator
                                  last edited by

                                  This is not really a FOG issue, it’s an Ubuntu 12.04 issue in how they start the daemons before the interface has an IP bound to it.


                                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    treed
                                    last edited by

                                    Brilliant!! I was facing restoring my aging Ubuntu 10.04 image. Thanks astrouga!:)

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      astrouga
                                      last edited by

                                      Glad it was helpful.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        need2 Moderator
                                        last edited by

                                        Funny to read this now. This is the reason I switched from using a Ubuntu server install to a plain Debian install. Overall I’ve still been happier with Debian, but good to know this was nothing I broke.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chad-bisd Moderator
                                          last edited by

                                          I think the Linux community is abandoning UpStart altogether and instead going to use Systemd. I know Ubuntu had hesitation, believing Upstart was a better system, but this problem goes to show you it had its flaws


                                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Magnus_CA
                                            last edited by

                                            [quote=“astrouga, post: 8526, member: 907”]BTW, the solution ullawolf1 suggested works really well:

                                            "So tftpd-hpa starts “to early”. You can fix this by editing the /etc/rc.local and add the line

                                            [CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]

                                            to restart the daemon after 30 seconds."

                                            The thread is here:
                                            [U][SIZE=2][COLOR=#0060e0][url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url][/COLOR][/SIZE][/U]

                                            [SIZE=2]astrouga[/SIZE][/quote]

                                            Just wanted to add that I needed this fix on clean install of Debian 7.5 and fog 1.1.0 to get the TFTP server talking to my clients.

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

                                            161

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project