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

Tftp stops working a few minutes after starting

Scheduled Pinned Locked Moved
FOG Problems
5
51
15.7k
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
    Jaymes Driver Developer
    last edited by Jun 26, 2014, 6:43 PM

    [quote=“elijahkan14, post: 31521, member: 24797”]I contacted the director of the district and apparently our ISP manages our switches now that our networking guy resigned. He said we can enable portfast no problem but disabling STP is not an option. Does this mean we will not be able to use the new version of fog? How come the process gives errors on the FOG server if it could be a switch issue?[/quote]

    Normally I would say to disable STP and enable port fast if you were having issues getting your file to your hosts, However that is not the issue here, there is something killing the process, or the process is erroring out.

    I’ve seen times where re-installing the service will fix the issue try this:
    [code]
    sudo apt-get purge tftpd-hpa
    sudp apt-get install tftpd-hpa[/code]

    1 Reply Last reply Reply Quote 0
    • E
      elijahkan14
      last edited by Jun 26, 2014, 6:49 PM

      [S]I successfully uninstalled tftpd-hpa but I’m getting a 404 on reinstall.[/S]
      Had to update my apt-get lists first.

      [url=“/_imported_xf_attachments/1/1079_Untitled2.png?:”]Untitled2.png[/url]

      1 Reply Last reply Reply Quote 0
      • J
        Jaymes Driver Developer
        last edited by Jun 26, 2014, 6:49 PM

        [code]
        sudo apt-get update
        sudo apt-get install tftpd-hpa[/code]

        404 errors are due to connectivity, are you certain your fog server has access to the internet?

        1 Reply Last reply Reply Quote 0
        • E
          elijahkan14
          last edited by Jun 26, 2014, 7:10 PM

          How do I get rid of:
          “Errors were encountered while processing:
          tftpd-hpa
          E: Sub-process /usr/bin/dpkg returned an error code (1)”

          1 Reply Last reply Reply Quote 0
          • J
            Jaymes Driver Developer
            last edited by Jun 26, 2014, 7:15 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • E
              elijahkan14
              last edited by Jun 26, 2014, 7:18 PM

              “Should port-fast be enabled on the port to which the server is connected, the port to which the workstation is connected, or both?”

              1 Reply Last reply Reply Quote 0
              • J
                Jaymes Driver Developer
                last edited by Jun 26, 2014, 7:21 PM

                You’re removal never completed, run the purge command again now that you ran the update.

                and I enabled portfast on every port I had

                1 Reply Last reply Reply Quote 0
                • E
                  elijahkan14
                  last edited by Jun 26, 2014, 7:23 PM

                  "sudo apt-get purge tftpd-hpa
                  Reading package lists… Done
                  Building dependency tree
                  Reading state information… Done
                  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
                  No apport report written because MaxReports is reached already
                  Processing triggers for ureadahead …
                  Errors were encountered while processing:
                  tftpd-hpa
                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                  "

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jaymes Driver Developer
                    last edited by Jun 26, 2014, 7:29 PM

                    [code]
                    sudo apt-get -f install tftpd-hpa
                    sudo apt-get update
                    sudo apt-get purge tftpd-hpa
                    sudo apt-get -f tftpd-hpa[/code]

                    if a command fails then stop and report.

                    1 Reply Last reply Reply Quote 0
                    • E
                      elijahkan14
                      last edited by Jun 26, 2014, 7:41 PM

                      [CODE]sudo apt-get -f install tftpd-hpa
                      Reading package lists… Done
                      Building dependency tree
                      Reading state information… Done
                      tftpd-hpa is already the newest version.
                      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
                      No apport report written because MaxReports is reached already
                      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
                      • J
                        Jaymes Driver Developer
                        last edited by Jun 27, 2014, 11:21 AM

                        see the issue here? it’s not FOG, it’s your Linux Installation, its unhappy for some reason.

                        [code]
                        sudo dpkg --configure -a[/code]

                        1 Reply Last reply Reply Quote 0
                        • E
                          elijahkan14
                          last edited by Jun 27, 2014, 12:36 PM

                          Ran that command and then [code]sudo apt-get purge tftpd-hpa[/code] and got the same error.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jun 27, 2014, 12:38 PM

                            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
                            • J
                              Jaymes Driver Developer
                              last edited by Jun 27, 2014, 12:39 PM

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • E
                                elijahkan14
                                last edited by Jun 27, 2014, 12:45 PM

                                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
                                • J
                                  Jaymes Driver Developer
                                  last edited by Jun 27, 2014, 12:46 PM

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

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by Jun 27, 2014, 12:47 PM

                                    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
                                    • E
                                      elijahkan14
                                      last edited by Jun 27, 2014, 12:52 PM

                                      [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
                                      • E
                                        elijahkan14
                                        last edited by Jun 27, 2014, 12:52 PM

                                        [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
                                        • T
                                          Tom Elliott
                                          last edited by Jun 27, 2014, 12:53 PM

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

                                          162

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project