1.2.0 upgrade TFTP Error - File Not Found



  • Greetings:

    Just upgraded our fog server from .32 to 1.2.0 last week, running on Ubuntu 12.04. Install seemed to go without a hitch but when I try to pxe boot I get:

    PXE-T01: File Not Found
    PXE-E3B: TFTP Error - File Not Found

    I’ve made sure to change 66&67 on our DHCP server, I’ve checked file locations and settings per solutions I’ve found online and on the wiki. I’m at a loss, what should I be looking for after an upgrade?

    [CODE]Version: 1.2.0 Installer/Updater

    • Found FOG Settings from previous install at: /opt/fog/.fogsettings
    • Performing upgrade using these settings…

    Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.

    #####################################################################

    FOG now has everything it needs to setup your server, but please
    understand that this script will overwrite any setting you may
    have setup for services like DHCP, apache, pxe, tftp, and NFS.

    It is not recommended that you install this on a production system
    as this script modifies many of your system settings.

    This script should be run by the root user on Redhat or with sudo on Ubuntu.

    ** Notice ** Redhat users will need to disable SELinux and iptables in
    order to use FOG
    Please see our wiki for more information at http://www.fogproject.org/wiki

    Here are the settings FOG will use:
    Base Linux: Debian
    Detected Linux Distribution: Ubuntu
    Installation Type: Normal Server
    Server IP Address: 192.168.xx.xx
    DHCP router Address:
    DHCP DNS Address: 192.168.xx.xx
    Interface: eth0
    Using FOG DHCP: 0
    Internationalization: 0
    Donate: 0

        DHCP will NOT be setup but you must setup your
        current DHCP server to use FOG for PXE services.
    

    On a Linux DHCP server you must set:
    next-server

        On a Windows DHCP server you must set:
            option 066 & 067
    
          Option 066 is the IP of the FOG Server: (e.g. 192.168.74.59)
          Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
    

    Are you sure you wish to continue (Y/N) y

    Installation Started…

    Installing required packages, if this fails
    make sure you have an active internet connection.

    • Preparing apt-get

    • Installing package: apache2

    • Installing package: php5

    • Installing package: php5-json

    • Installing package: php5-gd

    • Installing package: php5-cli

    • Installing package: php5-mysql

    • Installing package: php5-curl

    • Installing package: mysql-server

      We are about to install MySQL Server on
      this server, if MySQL isn’t installed already
      you will be prompted for a root password.

      Press enter to acknowledge this message.

    Reading package lists…
    Building dependency tree…
    Reading state information…
    The following packages will be upgraded:
    mysql-server
    1 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
    Need to get 11.2 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
    mysql-server
    E: There are problems and -y was used without --force-yes

    • Installing package: mysql-client
    • Installing package: tftpd-hpa
    • Installing package: tftp-hpa
    • Installing package: nfs-kernel-server
    • Installing package: vsftpd
    • Installing package: net-tools
    • Installing package: wget
    • Installing package: xinetd
    • Installing package: sysv-rc-conf
    • Installing package: tar
    • Installing package: gzip
    • Installing package: build-essential
    • Installing package: cpp
    • Installing package: gcc
    • Installing package: g++
    • Installing package: m4
    • Installing package: htmldoc
    • Installing package: lftp
    • Installing package: openssh-server
    • Installing package: php-gettext
    • Installing package: clamav-freshclam

    Confirming package installation.

    • Checking package: apache2…OK
    • Checking package: php5…OK
    • Checking package: php5-json…OK
    • Checking package: php5-gd…OK
    • Checking package: php5-cli…OK
    • Checking package: php5-mysql…OK
    • Checking package: php5-curl…OK
    • Checking package: mysql-server…OK
    • Checking package: mysql-client…OK
    • Checking package: tftpd-hpa…OK
    • Checking package: tftp-hpa…OK
    • Checking package: nfs-kernel-server…OK
    • Checking package: vsftpd…OK
    • Checking package: net-tools…OK
    • Checking package: wget…OK
    • Checking package: xinetd…OK
    • Checking package: sysv-rc-conf…OK
    • Checking package: tar…OK
    • Checking package: gzip…OK
    • Checking package: build-essential…OK
    • Checking package: cpp…OK
    • Checking package: gcc…OK
    • Checking package: g++…OK
    • Checking package: m4…OK
    • Checking package: htmldoc…OK
    • Checking package: lftp…OK
    • Checking package: openssh-server…OK
    • Checking package: php-gettext…OK
    • Checking package: clamav-freshclam…OK

    Configuring services.

    • Setting up and starting MySql…OK

    • Backing up user reports…OK

    • Setting up and starting Apache Web Server…OK
      You still need to install/update your database schema.
      This can be done by opening a web browser and going to:

      http://192.168.xx.xx/fog/management

    Press [Enter] key when database is updated/installed.

    • Configuring Fresh Clam…OK
    • Setting up storage…OK
    • Setting up and starting DHCP Server…Skipped
    • Setting up and starting TFTP and PXE Servers…OK
    • Setting up and starting VSFTP Server…OK
    • Setting up sudo settings…OK
    • Setting up FOG Snapins…OK
    • Setting up and building UDPCast…OK
    • Installing init scripts…OK
    • Setting up FOG Services…OK
    • Starting FOG Multicast Management Server…OK
    • Starting FOG Image Replicator Server…OK
    • Starting FOG Task Scheduler Server…OK
    • Setting up FOG Utils…OK

    Would you like to notify the FOG group about this installation?
    * This information is only used to help the FOG group determine
    if FOG is being used. This information helps to let us know
    if we should keep improving this product.

    Send notification? (Y/N)y

    • Thank you, sending notification…Done

    Setup complete!

    You can now login to the FOG Management Portal using
    the information listed below. The login information
    is only if this is the first install.

    This can be done by opening a web browser and going to:

      http://192.168.xx.xx/fog/management
    
      Default User:
            Username: xxx
            Password: xxxxx
    

    Script done on Wed 25 Feb 2015 01:31:55 PM PST

    [/CODE]

    Here is my apache log

    [CODE]

    [Wed Feb 25 11:21:35 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming normal operations
    [Wed Feb 25 11:22:09 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/favicon.ico
    [Wed Feb 25 11:22:09 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/favicon.ico
    [Wed Feb 25 11:22:09 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/favicon.ico
    [Wed Feb 25 11:31:34 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_flat_75_ffffff_40x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 11:31:34 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_glass_75_e6e6e6_1x400.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 11:31:34 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 11:51:41 2015] [notice] caught SIGTERM, shutting down
    [Wed Feb 25 11:52:32 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming normal operations
    [Wed Feb 25 12:18:43 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:18:43 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_glass_75_e6e6e6_1x400.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:18:43 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_flat_75_ffffff_40x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:53:08 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_glass_75_e6e6e6_1x400.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:53:08 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:53:08 2015] [error] [client 192.168.xx.xdoes not exist: /var/www/fog/management/css/images/ui-bg_flat_75_ffffff_40x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:56:11 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_glass_75_e6e6e6_1x400.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:56:11 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_flat_75_ffffff_40x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css
    [Wed Feb 25 12:56:11 2015] [error] [client 192.168.xx.xx] File does not exist: /var/www/fog/management/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png, referer: http://192.168.74.59/fog/management/css/jquery-ui.css

    [/CODE]
    Thanks a ton



  • [quote=“Uncle Frank, post: 42859, member: 28116”]Maybe try capturing the DHCP traffic to see which options are really send to the clients. Possibly an intermediate switch might change the filename on the way?!?[/quote]

    Good call Uncle Frank. It looks like the DHCP server is passing the right IP and filename (unidonly.kpxe) to the client. Then the client turns around and asks FOG for undionly.0?? I don’t have that file in my tftpboot directory, but I renamed undionly.kpxe to undionly.0 and my clients boot right up! Hooray! Thanks for your help!


  • Developer

    Maybe try capturing the DHCP traffic to see which options are really send to the clients. Use a hub to connect between client and network and wireshark to capture the traffic. Keep your eyes open for the filename in your DHCP packets. Possibly an intermediate switch might change the filename on the way?!?



  • [quote=“Uncle Frank, post: 42796, member: 28116”]Can you try downloading any of the files with tftp commandline tool from the “problematic” client(s)?[/quote]
    All of my clients are problematic…I was able to download undionly.kpxe from the two PC’s I tested.


  • Developer

    Can you try downloading any of the files with tftp commandline tool from the “problematic” client(s)?



  • I am also getting the same error.

    The error produced is:
    TFTP
    PXE-T01: File not found
    PXE-E3B: TFTP Error - File Not found
    PXE-M0F: Exiting PXE ROM

    Except that I am getting and IP address a the boot on the machine and it is the only machine giving me the error. The error.log is not providing too much information as there are not errors for the particular host. I am not getting any errors on the issue. The system is:

    Compaq 5008 MT
    Realtek PCIe FE Family Controller Series v1.18

    There are multiple PXE boot files under /tftpboot and all of them have been tried without success. I am still investigating the issue.


Log in to reply
 

354
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.