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

    Seems that TFTP was not prepared by installer

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    42
    10.9k
    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.
    • T
      Tywyn
      last edited by

      Hi there,

      first of all a short hello to everybody. I am new to fog and trying to make it work since yesterday, but I still have many issues. Some are solved and with others I have no idea anymore.
      I have set up a physical machine with 2 NICs, one with the ip 10.203.8.31/24 (Internet-access) and the other one with 192.168.100.1/24 (the network for imaging).
      DHCP on 192.168.100.1 works fine but TFPT does not.

      # cat /etc/default/tftpd-hpa 
      # /etc/default/tftpd-hpa
      
      TFTP_USERNAME="tftp"
      TFTP_DIRECTORY="/srv/tftp"
      TFTP_ADDRESS="0.0.0.0:69"
      TFTP_OPTIONS="--secure"
      

      I read somewhere, that there should be a line which says “Modified by FOG” or something like that.
      Directory /srv/tftp is empty, and copying images from the install-Directory does not help much. daemon.log says:

      Jul 11 12:52:34 debian-linux in.tftpd[12113]: RRQ from 192.168.100.11 filename undionly.kkpxe
      Jul 11 12:52:34 debian-linux in.tftpd[12113]: tftp: client does not accept options
      Jul 11 12:52:34 debian-linux in.tftpd[12114]: RRQ from 192.168.100.11 filename undionly.kkpxe
      [...]
      Jul 11 12:52:37 debian-linux in.tftpd[12115]: RRQ from 192.168.100.10 filename default.ipxe
      Jul 11 12:52:37 debian-linux in.tftpd[12115]: sending NAK (1, File not found) to 192.168.100.10
      

      In the management console I can see, that for the TFTP-Server the correct IP is set.

      Any help is appreciated!
      Thanx
      Rainer

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        Welcome to the FOG Project forums.

        Lets start with the following command keyed into the FOG server linux console.
        netstat -an|grep 69 and post the output here.

        Also please provide the output of the following 2 commands.

        1. ls -la /srv/tftp [you already answered this question]
        2. ls -la /tftpboot

        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!

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

          # netstat -an|grep 69
          udp        0      0 0.0.0.0:69              0.0.0.0:*                          
          
          # ls -la /tftpboot
          ls: Zugriff auf '/tftpboot' nicht möglich: Datei oder Verzeichnis nicht gefunden
          

          (Does not exist)

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Tywyn
            last edited by

            @Tywyn Well that is interesting. We can see the tftp server is running and listening on all interfaces (that’s good), but tftpboot should contain the ipxe boot kernels.

            How did you install fog? What steps?

            Did you use git to download the installer files and then run the ./bin/installfog.sh script?

            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!

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

              @george1421 Thanx for helping!
              I downloaded the tarball from fogproject.org (Download-Button), untared it and then did a

              $ cd Downloads/fog_1.4.4/bin
              $ sudo ./installfog.sh 
              
              Q george1421G 2 Replies Last reply Reply Quote 0
              • Q
                Quazz Moderator @Tywyn
                last edited by Quazz

                @Tywyn What OS (and version) are you running exactly?

                Also, notably, the TFTP config file is not pointing to the expected directory.

                Is there anything in /srv/tftp?

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

                  Where are you expecting it to say “Modified by FOG”?

                  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
                    Tywyn
                    last edited by

                    @Quazz:

                    # uname -a
                    Linux debian-linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
                    

                    @Tom-Elliott:
                    Found it here: Some forum (Posting at Jun 19, 2014 at 9:21 PM)

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Tywyn
                      last edited by

                      @Tywyn OK those steps are standard (the preferred way is to use git instead of the tarball, but either way will work. the git method makes it easier to install upgrades as they are released).

                      There are 2 files we need to inspect (I’m guessing that the installer didn’t complete correctly since the /tftpboot directory is empty).

                      In the same directory as the installfog.sh script is a directory called error_logs. In that directory there are installer files (i.e. fog_error_1.4.4.log). Please review this file to ensure the installer didn’t throw an error.

                      The second one is a hidden file in /opt/fog called .fogsettings If the installer didn’t finish for some reason this file will be blank or missing.

                      We may need to run through the installer one more time to address things that didn’t get installed correctly.

                      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!

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tywyn @Quazz
                        last edited by

                        @Quazz
                        /srv/tftp was empty.
                        Tried to copy the files from ~/Downloads/fog_1.4.4/packages/tftp there, but then I ran into the missing default.ipxe (see inital posting)

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Tywyn
                          last edited by

                          @Tywyn Quazz was asking for the version of Debian you are using.

                          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!

                          T 1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @Tywyn
                            last edited by

                            @Tywyn said in Seems that TFTP was not prepared by installer:

                            but then I ran into the missing default.ipxe

                            This kind of tells me that your installer didn’t finish correctly, the default.ipxe file is built by the installer.

                            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!

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tywyn @george1421
                              last edited by

                              @george1421
                              Sorry, you are right. Using debian 9.0.0 amd 64

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tywyn @george1421
                                last edited by

                                @george1421 said in Seems that TFTP was not prepared by installer:

                                This kind of tells me that your installer didn’t finish correctly, the default.ipxe file is built by the installer.

                                Strange, did not see any errormessages…

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

                                  The “FOG Modified Version” string appears, to me, to be related to debian/ubuntu. This, however, does not mean it is a requirement as using rpcbind variants might work better for the server in which case IT would be used. You stated /tftpboot/default.ipxe wasn’t created?

                                  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

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

                                    @Tom-Elliott
                                    Was not created, no. Don’t even have a /tftpboot-directory

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

                                      Then, as @george1421 state, it would seem your installer didn’t finish.

                                      When it asked you to open the browser and goto update the schema, did you go back to the console and press enter to continue on?

                                      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

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

                                        @Tom-Elliott
                                        You mean after updating/installing the database scheme? Yes, I did.

                                        But, it was the second attempt of installation.

                                        First time I did something wrong with the 2 NICs, because I did not understand the questions in the installer about the router-adress for DHCP-Server (and still don’t understand it completely :)) so the first installation endet up with an error-message (something about the DHCP-Server).
                                        The second install went well, and as mentioned I did not see any error-messages.

                                        Tom ElliottT Q 2 Replies Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott @Tywyn
                                          last edited by

                                          @Tywyn Did you install as server or storage node?

                                          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

                                          T 1 Reply Last reply Reply Quote 0
                                          • Q
                                            Quazz Moderator @Tywyn
                                            last edited by

                                            @Tywyn There’s an error_logs folder in the fogproject/bin folder (where you extracted the download). There will be a log file of the most recent installation, there’s probably some more detailed information in there.

                                            T 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            195

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project