FOG Project

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

    Tftp stops working a few minutes after starting

    FOG Problems
    5
    51
    7672
    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.
    • E
      elijahkan14 last edited by

      I’m having a rather strange problem. I had a FOG server running 0.32 on Ubuntu 11.10, recently it was upgraded to 1.1.1 and it’s been going alright except for this problem:
      The server boots and everything works fine for a few minutes. After a while, when clients boot to the network they are able to get a DHCP address (from a windows server) and then gets an open timeout error on TFTP and sits there going “Tftp…” until it times out.

      I was able to temporarily fix this problem by running “sudo restart tftpd-hpa” and this works for a while but soon stops again, restarting also fixes it temporarily. I also noticed that when I SSH into the server while the problem is occurring it says “-bash: fork: retry: No child processes” [url]http://gyazo.com/4e474fb7d51cfe2c18fd21670c3e9b52[/url]

      To test the server I’ve been using the tftp client of windows:
      [url]http://gyazo.com/99258bb52766801ea39a2746d835d7e4[/url] This shows how it’ll work and then stop until I restart tftp on the server.

      Any ideas?

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

        Well Congratz lol!

        1 Reply Last reply Reply Quote 0
        • E
          elijahkan14 last edited by

          We got the new server up and running! Out of curiosity I did “do-release-upgrade” on the old server and it offered to overwrite tftpd-hpa during the upgrade, now we have two working FOG servers! Thanks again to everyone! 🙂

          1 Reply Last reply Reply Quote 0
          • E
            elijahkan14 last edited by

            Alright, thanks for all the help from everyone! I’ll start a new thread if I run into issues with this install.

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

              [quote=“elijahkan14, post: 31654, member: 24797”]Alright I am currently installing Debian 7.5 on a physical machine (before we had ubuntu on an esxi server). Shall I follow the same instructions as the Ubuntu tutorial?[/quote]

              That will work yes. Ubuntu is derived from Debain. They use the same base so the commands are similar.

              1 Reply Last reply Reply Quote 0
              • E
                elijahkan14 last edited by

                Alright I am currently installing Debian 7.5 on a physical machine (before we had ubuntu on an esxi server). Shall I follow the same instructions as the Ubuntu tutorial?

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

                  There is really no “best” OS. I prefer CentOS, but again that’s a matter of preference rather than “the best”. You could try Debian 7.5 for familiarities sake as you’re probably more familiar with Ubuntu style commands.

                  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
                  • Jaymes Driver
                    Jaymes Driver Developer last edited by

                    [quote=“elijahkan14, post: 31627, member: 24797”]What is the best operating system to use for FOG in your opinion?[/quote]

                    Debian

                    Make a copy of your /images folder. And export your current database from fog to a flash drive. This will allow us to keep your database and image files to alleviate the stress of setting up a new server

                    1 Reply Last reply Reply Quote 0
                    • E
                      elijahkan14 last edited by

                      What is the best operating system to use for FOG in your opinion?

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

                        [quote=“Tom Elliott, post: 31625, member: 7271”]I know it’s not optimal, but I would highly recommend reinstalling OS at this point. While I’d love to keep digging to figure out exactly what it will take to fix this, it’s been FAR too long I think.[/quote]

                        I second this notion -.-

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

                          I know it’s not optimal, but I would highly recommend reinstalling OS at this point. While I’d love to keep digging to figure out exactly what it will take to fix this, it’s been FAR too long I think.

                          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
                          • E
                            elijahkan14 last edited by

                            [quote=“Tom Elliott, post: 31618, member: 7271”]What errors?[/quote]

                            [code] sudo apt-get -f install tftpd-hpa tftp-hpa: http://gyazo.com/624121cc83380b50b924d864afc966e8
                            sudo apt-get update runs okay with some errors as expected
                            sudo apt-get purge tftpd-hpa tftp-hpa: http://gyazo.com/9f9e05815d9b935f205bb276783ef40f
                            sudo apt-get -f install tftpd-hpa tftp-hpa: http://gyazo.com/33240d9ff9b4e6d22b9e253158ca3b89
                            [/code]

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

                              What errors?

                              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
                              • E
                                elijahkan14 last edited by

                                [quote=“Tom Elliott, post: 31613, member: 7271”]Can you try these commands:
                                [code]sudo apt-get -f install tftpd-hpa tftp-hpa
                                sudo apt-get update
                                sudo apt-get purge tftpd-hpa tftp-hpa
                                sudo apt-get -f tftpd-hpa tftp-hpa[/code][/quote]

                                They all gave the error from before 😕

                                1 Reply Last reply Reply Quote 0
                                • E
                                  elijahkan14 last edited by

                                  [quote=“Jaymes Driver, post: 31612, member: 3582”]try [code] sudo apt -get remove dnsmasq[/code][/quote]

                                  [code]sudo apt-get remove dnsmasq
                                  Reading package lists… Done
                                  Building dependency tree
                                  Reading state information… Done
                                  Virtual packages like ‘dnsmasq’ can’t be removed
                                  The following packages will be REMOVED:
                                  tftpd-hpa
                                  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                  1 not fully installed or removed.
                                  After this operation, 193 kB disk space will be freed.
                                  Do you want to continue [Y/n]?
                                  (Reading database … 154651 files and directories currently installed.)
                                  Removing tftpd-hpa …
                                  dpkg: error processing tftpd-hpa (–remove):
                                  subprocess installed post-removal script returned error exit status 1
                                  Processing triggers for ureadahead …
                                  Errors were encountered while processing:
                                  tftpd-hpa
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                  [/code]

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

                                    Can you try these commands:
                                    [code]sudo apt-get -f install tftpd-hpa tftp-hpa
                                    sudo apt-get update
                                    sudo apt-get purge tftpd-hpa tftp-hpa
                                    sudo apt-get -f tftpd-hpa tftp-hpa[/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
                                    • Jaymes Driver
                                      Jaymes Driver Developer last edited by

                                      try [code] sudo apt -get remove dnsmasq[/code]

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        elijahkan14 last edited by

                                        I don’t think I am, I ran [code]sudo apt-get remove --auto-remove ltsp-server-standalone[/code]
                                        and got
                                        [code]E: Unable to locate package ltsp-server-standalone[/code]

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

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • Tom Elliott
                                            Tom Elliott last edited by

                                            elijakan14, are you using dnsmasq?

                                            [url]http://www.linuxquestions.org/questions/linux-server-73/tftpd-problems-with-both-tftpd-hpa-and-atftpd-836330/[/url]

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

                                            249
                                            Online

                                            10.2k
                                            Users

                                            16.3k
                                            Topics

                                            149.9k
                                            Posts

                                            Copyright © 2012-2020 FOG Project