• 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.
    • M
      Myles Meier
      last edited by

      need to edit the file /etc/init/tftpd-hpa.conf
      comment out the line: start on runlevel[2345]
      replace it with: start on (local-filesystems and net-device-up IFACE!=lo)

      [SIZE=12px]Save, then: sudo service tftp-dpa restart[/SIZE]

      [FONT=Calibri][URL=‘https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/972845’]https://bugs.launchpad.net/ubuntu/ source/tftp-hpa/ bug/972845[/URL] Comment #9[/FONT]

      1 Reply Last reply Reply Quote 0
      • M
        Myles Meier
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • E
          elijahkan14
          last edited by

          I did as you described and the problem still persists.
          [url]http://gyazo.com/9176d8adf0618c377f2449362be54ccd[/url]

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

            Do you think it’s a problem with which version of Ubuntu I’m running?

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

              I don’t have a clue what the problem is. I’m aware of a problem with tftpd-hpa starting on bootup issues which we have a workaround fix for. I’ve never heard of it just randomly stopping at periods of time.

              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
              • W
                Wolfbane8653 Developer
                last edited by

                What firewall and Antivirus are you running?

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

                  [SIZE=3]I ran “[FONT=arial][COLOR=#545454]sudo [/COLOR][/FONT][FONT=arial][COLOR=#545454]ufw disable” to disable the firewall and there is no antivirus software running to my knowledge. The tftp server seems to handle a few requests then just quits. Hopefully I don’t have to reinstall ubuntu because there’s over 200 clients registered on this server .-.[/COLOR][/FONT][/SIZE]

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wolfbane8653 Developer
                    last edited by

                    OK so…

                    [FONT=sans-serif][COLOR=#000000]✓Firewall[/COLOR][/FONT]
                    [FONT=sans-serif][COLOR=#000000]✓AV[/COLOR][/FONT]

                    [FONT=sans-serif][COLOR=#000000]Now how about…Do you have a rogue or misconfigured secondary DHCP server?[URL=‘http://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-4333-00-00-03-26-09-62/RogueChecker.zip’] Here[/URL] is the Rogue Checker I use. [/COLOR][/FONT]

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

                      Appears to be no rogue DHCP servers.

                      [url=“/_imported_xf_attachments/1/1077_Untitled.png?:”]Untitled.png[/url]

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wolfbane8653 Developer
                        last edited by

                        [FONT=sans-serif][COLOR=#000000]✓Firewall[/COLOR][/FONT]
                        [FONT=sans-serif][COLOR=#000000]✓AV[/COLOR][/FONT]
                        [FONT=sans-serif][COLOR=#000000][FONT=sans-serif][COLOR=#000000]✓Rogue DHCP[/COLOR][/FONT][/COLOR][/FONT]
                        Are you running any filtering software/Harware for turrents or anything of that sort?
                        Throwing this out there but your not using a wifi connection for the fog server are you?
                        Are you using a static IP on the fog server?

                        IF all fails connect the fog server and the client (tftp client) to the same switch.

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

                          It has a static IP yes, not on wireless, I’m unsure about the firewalls as I’m not in charge of the physical network in these buildings. The server worked flawlessly before we upgraded to 1.1.1 (we were on 0.32) and still works most of the time, just randomly stops doing tftp until I restart the service. I won’t be able to connect to the same switch because the fog server is on a vsphere server in the other building (buildings connected by fiber).

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

                            [quote=“elijahkan14, post: 31489, member: 24797”]It has a static IP yes, not on wireless, I’m unsure about the firewalls as I’m not in charge of the physical network in these buildings. The server worked flawlessly before we upgraded to 1.1.1 (we were on 0.32) and still works most of the time, just randomly stops doing tftp until I restart the service. I won’t be able to connect to the same switch because the fog server is on a vsphere server in the other building (buildings connected by fiber).[/quote]

                            How do you identify your buildings? we use a scheme similar to 10.x.y.z where x indicates the building, y indicates device and z could be room.

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

                              In this district everything is 10.35.X.Y
                              X being the building

                              We also have a separate scope for phones, wireless, guest wireless, etc

                              1 Reply Last reply Reply Quote 0
                              • W
                                Wolfbane8653 Developer
                                last edited by

                                By chance do you have Cisco switches or PowerData switches?

                                You may need to “enable Portfast (fast link)” and “disable STP” on the swithes as the opposite settings will cause issues wth iPXE(fog v1.x.x) where PXE(fog v0.32) will work without issues.

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

                                  We do have Cisco switches, I’ve never had to telnet into them before and will have to figure out the password though. Do you know the commands by any chance?

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wolfbane8653 Developer
                                    last edited by

                                    Usually you use the Http interface to change these but I’m sure someone here can help you out with telnet or a administrative software.

                                    POKE (Jaymes)

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

                                      I recommend Cisco CNA is a program that will allow you to make back ups of your current configuration. You will need to know the passwords to access the switches.

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

                                        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?

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

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • Jaymes DriverJ
                                            Jaymes Driver Developer
                                            last edited by

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

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project