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

HELP!!!! Fog 0.32 is unable to Connect to tftp Server after updating ubuntu to 12.04 LTS

Scheduled Pinned Locked Moved
FOG Problems
2
9
4.0k
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
    Eric Hase
    last edited by Jan 3, 2014, 7:17 PM

    Hi all,

    I am in desperate need of help to get my Fog server up and running, What my dumb**s did was I updated Ubuntu from 10 to 12.04 LTS. After the update I am no longer able to pull, push or queue a image, I keep getting the message “Unable to connect to TFTP Server.” I did find the current links and tried most of the tricks out there to get it working including. Updating the password for the fog useraccount in the Webui and in config.php found in /var/www/fog/commons. I also restart the tftp-hpa. Any help with this would be much appreciated.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 3, 2014, 7:25 PM

      Check the permissions on /tftpboot. They should be set as:
      [code]chown -R fog:root /tftpboot[/code]

      Next, verify, as you stated, that the tftp-hpa service is started and running properly.

      After you know tftp service is running, check that firewalls are disabled.

      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
        Eric Hase
        last edited by Jan 3, 2014, 7:47 PM

        Hi Tom,
        Thanks for the quick Reply, I did what you asked with the chown of tftpboot, starting the tftp-hpa service and disabling the firewall with no success so far. I am willing to backup my Fog host machine info and images and re-installing fog, if it will help.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jan 3, 2014, 8:57 PM

          It may be a minute before I catch right up. I live in upstate NY and have to unbury driveways.

          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
          • T
            Tom Elliott
            last edited by Jan 3, 2014, 10:07 PM

            With the FOG password changes, can you actually attempt to get the pxelinux.0 file using tftp command?

            Open a terminal
            In the terminal type
            [code]tftp -m binary 10.0.7.1 -c get pxelinux.0[/code]

            Then check if you recieved the file: (If you received, normally you won’t get any return message.)
            [code]ls |grep pxe[/code]

            Hopefully you do receive the file and we can troubleshoot further. If not, have you performed all the updates:

            [code]sudo apt-get update; sudo apt-get upgrade[/code]

            Then reboot the server; once it’s back running, you may need to restart the tftpd-hpa service: (Forgive me if the syntax is wrong)
            [code]sudo service tftpd-hpa restart[/code]

            Then check/ensure firewall is disabled. I don’t think ubuntu uses selinux, but I could be wrong.

            [code]sudo ufw disable[/code]

            Then verify the firewall is not running with:
            [code] sudo iptables -L -n[/code]

            You should receive three lines of text looking similar to:
            [code]Chain INPUT (policy ACCEPT)
            target prot opt source destination

            Chain FORWARD (policy ACCEPT)
            target prot opt source destination

            Chain OUTPUT (policy ACCEPT)
            target prot opt source destination[/code]

            Hopefully all is well and things actually work.

            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
              Eric Hase
              last edited by Jan 3, 2014, 11:01 PM

              Thanks for the response Tom,

              Ok my results so far,

              Did a test tftp of pxelinux.0 and was successful at getting the file, I also did an update/upgrade, restarted the server, restarted the tftpd-hpa service, and disabled the firewall all wioth no hope in site. :mad:

              BTW I know what you are talking about with having to clear driveways as I live in Fargo ND with -10 for a high and high winds that love to cover your driveway after you shoveled. DARN MOTHER NATURE!!

              1 Reply Last reply Reply Quote 0
              • E
                Eric Hase
                last edited by Jan 3, 2014, 11:41 PM

                I was looking around on my fog server and found this in the log:

                [COLOR=#333333][01-03-14 2:51:06 pm] | [01-03-14 2:51:06 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:51:16 pm] | [01-03-14 2:51:16 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:51:26 pm] | [01-03-14 2:51:26 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:51:36 pm] | [01-03-14 2:51:36 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:51:46 pm] | [01-03-14 2:51:46 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:51:56 pm] | [01-03-14 2:51:56 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:52:06 pm] | [01-03-14 2:52:06 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:52:16 pm] | [01-03-14 2:52:16 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:52:26 pm] | [01-03-14 2:52:26 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:52:36 pm] | [01-03-14 2:52:36 pm] Failed to connect to database server, will try again in next iteration.
                [01-03-14 2:52:46 pm] | [01-03-14 2:52:46 pm] Failed to connect to database server, will try again in next iteration.[/COLOR]
                [COLOR=#333333] [/COLOR]
                [COLOR=#333333]Just wondering if this is related, to my issue[/COLOR]

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jan 4, 2014, 12:11 AM

                  That most definitely would be your issue.

                  Check that your mysql server is running. Try:
                  [code]sudo service mysql restart[/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
                    Eric Hase
                    last edited by Jan 6, 2014, 4:19 PM

                    Hi Tom,

                    I wanted to give you an update on my issue… I was able to get the server back up and running by re-running the installation, as it may have seemed that I was missing some of the proper software on Ubuntu 12.04 for Fog to run properly. After re-running the installation all I had to do then was edit config.php with the proper mysql password and now get back to imaging all my machines now.

                    Stay Warm, as where i am located, HELL as frozen over in ND at -26 degrees (without wind chill of course.)

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

                    247

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project