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

Problem after upgrading from 0.32 to 1.1.1

Scheduled Pinned Locked Moved
FOG Problems
5
23
6.3k
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.
  • N
    NickConrad
    last edited by Jun 16, 2014, 3:41 PM

    Hi, sorry in advance I’m a total newbie to this. I just started working in a new gig where they had a FOG server running 0.32. It would kernel panic when trying to PXE boot our new ThinkPad T540p devices, so I thought an upgrade was in order. The upgrade went fine, and according to dhcpconfig my option 067 is correct, but for some reason whenever I PXE boot any device at all I now get the following:

    [INDENT=1]Client MAC ADDR: xx xx xx xx xx xx GUID: xxxxxxxx xxxx xxxx xxxx xxxxxxxxxxxx[/INDENT]
    [INDENT=1]Client IP: xxx.xxx.xxx.xxx MASK: xxx.xxx.xxx.xxx. DHCP IP: xxx.xxx.xxx.xxx[/INDENT]
    [INDENT=1]Gateway IP: xxx.xxx.xxx.xxx[/INDENT]
    [INDENT=1]TFTP.[/INDENT]
    [INDENT=1]PXE-M0F: Exiting Intel Boot Agent.[/INDENT]
    [INDENT=1] [/INDENT]
    I’ve checked my tftp by using it to get the new 067 kpxe file, but then again if I connect to the web interface and try to download a new kernel it will hang at “moving file to TFTP”.

    Any ideas? Any help would be so greatly appreciated!

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 16, 2014, 3:59 PM

      The fog username and password on the FOG Server (e.g. logging into the server as user fog) is working?

      FOG Uses this to download kernel’s and place them in the proper directory.

      Check permissions of the /var/www/fog/service/ipxe
      [code]chown -R fog:www-data /var/www/fog/service/ipxe[/code]

      Make sure the FOG username and password are correct in FOG Configuration->FOG Settings->TFTP Server->FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD as well as on the Storage Node. (Storage Management Page->All Storage Nodes-><YOUR STORAGE NODE>->Management Username and Management Password.

      I’m assuming, of course, you’re using Ubuntu for the OS of the server.

      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
      • N
        NickConrad
        last edited by Jun 16, 2014, 4:18 PM

        Yes to the Ubuntu question. I went and checked, and hey look at that the password needs updating on the TFTP Server settings. Doh.

        That being said, however, this only fixes my issue of getting new kernels. I still get the exact same result booting over PXE.

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by Jun 16, 2014, 4:21 PM

          Have you tried restarting tftpd-hpa service?
          Is your firewall disabled?

          1 Reply Last reply Reply Quote 0
          • N
            NickConrad
            last edited by Jun 16, 2014, 4:35 PM

            [quote=“Wolfbane8653, post: 30442, member: 3362”]Have you tried restarting tftpd-hpa service?
            Is your firewall disabled?[/quote]

            Don’t think the firewall is coming in to play here as this was working without a hitch pre-upgrade (except for the T520 ThinkPads that prompted the upgrade in the first place). Restarted the tftpd-hpa service just now, but I get the same deal.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jun 16, 2014, 4:39 PM

              Is option 67 set to undionly.kpxe? Is it possible your network needs shorter name? What happens if you create a link as pxelinux.0?

              [code]sudo ln -s /tftpboot/undionly.kpxe /tftpboot/pxelinux.0[/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
              • W
                Wolfbane8653 Developer
                last edited by Jun 16, 2014, 4:40 PM

                From a Windows 7 machine can you run the folowing where x.x.x.x is your fog server ip. You may need to install the service under your “Add Windows features/services”

                [I][SIZE=12px][CODE]tftp x.x.x.x get undionly.kpxe[/CODE][/SIZE][/I]

                1 Reply Last reply Reply Quote 0
                • N
                  NickConrad
                  last edited by Jun 16, 2014, 4:51 PM

                  [quote=“Wolfbane8653, post: 30449, member: 3362”]From a Windows 7 machine can you run the folowing where x.x.x.x is your fog server ip. You may need to install the service under your “Add Windows features/services”

                  [I][SIZE=12px][CODE]tftp x.x.x.x get undionly.kpxe[/CODE][/SIZE][/I][/quote]

                  Transfer successful

                  1 Reply Last reply Reply Quote 0
                  • N
                    NickConrad
                    last edited by Jun 16, 2014, 4:53 PM

                    [quote=“Tom Elliott, post: 30448, member: 7271”]Is option 67 set to undionly.kpxe? Is it possible your network needs shorter name? What happens if you create a link as pxelinux.0?

                    [code]sudo ln -s /tftpboot/undionly.kpxe /tftpboot/pxelinux.0[/code][/quote]

                    I get a “no such file or directory” on that because pxelinux.0 has a .old on the end of it now. I guess I could drop the suffix?

                    As to option 67. I am guessing this is somehow the issue, so is there a stupid proof way to check this? In my config files both in dhcp and dhcp3 I am pointed to undionly.kpxe.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wolfbane8653 Developer
                      last edited by Jun 16, 2014, 4:56 PM

                      [quote=“NickConrad, post: 30450, member: 24656”]Transfer successful[/quote]

                      This shows that the file exists and it is accessible to the network without firewall conflicts. Next I would direct you to your option 66 and 67 settings but Tom is already on that. Soooo…keep with him.

                      1 Reply Last reply Reply Quote 0
                      • N
                        NickConrad
                        last edited by Jun 16, 2014, 4:57 PM

                        [quote=“Wolfbane8653, post: 30452, member: 3362”]This shows that the file exists and it is accessible to the network without firewall conflicts. Next I would direct you to your option 66 and 67 settings but Tom is already on that. Soooo…keep with him.[/quote]

                        Will do, and thanks for your help thus far

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Jun 16, 2014, 4:58 PM

                          [code]sudo ln -s /tftpboot/undionly.kpxe /tftpboot/pxelinux.0[/code]

                          Will create the link for you. I’m already aware that pxelinux.0 doesn’t exist. What that command “no such file or directory” is telling you and maybe me is that /tftpboot/undionly.kpxe doesn’t exist on your system. This might very well be your issue.

                          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
                          • N
                            NickConrad
                            last edited by Jun 16, 2014, 5:00 PM

                            [quote=“Tom Elliott, post: 30454, member: 7271”][code]sudo ln -s /tftpboot/undionly.kpxe /tftpboot/pxelinux.0[/code]

                            Will create the link for you. I’m already aware that pxelinux.0 doesn’t exist. What that command “no such file or directory” is telling you and maybe me is that /tftpboot/undionly.kpxe doesn’t exist on your system. This might very well be your issue.[/quote]

                            the full error was “pxelinux.0: no such file or directory” which is why I figured it was that.

                            As for undionly, it’s in tftboot as a .kkpxe, .kpxe, .kpxe.INTEL, and .pxe.

                            1 Reply Last reply Reply Quote 0
                            • N
                              NickConrad
                              last edited by Jun 16, 2014, 5:30 PM

                              [quote=“NickConrad, post: 30457, member: 24656”]the full error was “pxelinux.0: no such file or directory” which is why I figured it was that.

                              As for undionly, it’s in tftboot as a .kkpxe, .kpxe, .kpxe.INTEL, and .pxe.[/quote]

                              Tom, the following is my dhcpd.conf located in /etc/dhcp3, did I goof somewhere along the way here?

                              [INDENT=1]use-host-decl-names on;[/INDENT]
                              [INDENT=1]ddns-update style interim;[/INDENT]
                              [INDENT=1]ignore client-updates ;[/INDENT]
                              [INDENT=1]next-server xxx.xxx.xxx.xxx.[/INDENT]
                              [INDENT=1] [/INDENT]
                              [INDENT=1]subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx {[/INDENT]
                              [INDENT=2]option subnet-mask xxx.xxx.xxx.xxx;[/INDENT]
                              [INDENT=2]range dynamic-bootp xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx;[/INDENT]
                              [INDENT=2]default-lease-time 216000;[/INDENT]
                              [INDENT=2]max-lease-time 43200;[/INDENT]
                              [INDENT=2]option domain-name-servers xxx.xxx.xxx.xxx;[/INDENT]
                              [INDENT=3]option routers xxx.xxx.xxx.xxx;[/INDENT]
                              [INDENT=3] [/INDENT]
                              [INDENT=2]filename “undionly.kpxe”;[/INDENT]
                              [INDENT=1]}[/INDENT]
                              [INDENT=2] [/INDENT]

                              1 Reply Last reply Reply Quote 0
                              • J
                                Junkhacker Developer
                                last edited by Jun 16, 2014, 5:36 PM

                                [quote=“NickConrad, post: 30463, member: 24656”]Tom, the following is my dhcpd.conf located in /etc/dhcp3, did I goof somewhere along the way here?

                                [INDENT=1]use-host-decl-names on;[/INDENT]
                                [INDENT=1]ddns-update style interim;[/INDENT]
                                [INDENT=1]ignore client-updates ;[/INDENT]
                                [INDENT=1]next-server xxx.xxx.xxx.xxx.[/INDENT]
                                [INDENT=1] [/INDENT]
                                [INDENT=1]subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx {[/INDENT]
                                [INDENT=2]option subnet-mask xxx.xxx.xxx.xxx;[/INDENT]
                                [INDENT=2]range dynamic-bootp xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx;[/INDENT]
                                [INDENT=2]default-lease-time 216000;[/INDENT]
                                [INDENT=2]max-lease-time 43200;[/INDENT]
                                [INDENT=2]option domain-name-servers xxx.xxx.xxx.xxx;[/INDENT]
                                [INDENT=3]option routers xxx.xxx.xxx.xxx;[/INDENT]
                                [INDENT=3] [/INDENT]
                                [INDENT=2]filename “undionly.kxpe”;[/INDENT]
                                [INDENT=1]}[/INDENT]
                                [INDENT=2] [/INDENT]
                                [/quote]

                                if that is a direct copy, i see the issue

                                undionly.kxpe should be undionly.kpxe

                                signature:
                                Junkhacker
                                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  NickConrad
                                  last edited by Jun 16, 2014, 5:42 PM

                                  [quote=“Junkhacker, post: 30464, member: 21583”]if that is a direct copy, i see the issue

                                  undionly.kxpe should be undionly.kpxe[/quote]

                                  not a direct copy, so just a dumb typo. Good catch, though, you made me double-take for a second between screens :eek:

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wolfbane8653 Developer
                                    last edited by Jun 16, 2014, 5:44 PM

                                    Any chance we can get a direct copy? PM it to Tom or something.

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NickConrad
                                      last edited by Jun 16, 2014, 5:48 PM

                                      DHCP Server Configuration file.

                                      see /usr/share/doc/dhcp*/dhcpd.conf.sample

                                      This file was created by FOG

                                      use-host-decl-names on;
                                      ddns-update-style interim;
                                      ignore client-updates;
                                      next-server 10.6.116.243;
                                      filename “undionly.kpxe”;

                                      subnet 10.6.116.0 netmask 255.255.255.0 {
                                      option subnet-mask 255.255.255.0;
                                      range dynamic-bootp 10.6.116.10 10.6.116.254;
                                      default-lease-time 21600;
                                      max-lease-time 43200;
                                      option domain-name-servers 10.6.116.246;
                                      option routers 10.6.116.246;
                                      filename “undionly.kpxe”;
                                      }

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        NickConrad
                                        last edited by Jun 16, 2014, 6:12 PM

                                        Just to see what would happen, I made a symlink like Tom had suggested, but I made it to pxelinux.0.old. No change when booting a client over PXE

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Jun 16, 2014, 6:13 PM

                                          Do you have another DHCP server on your network, or is FOG the only one?

                                          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
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            10/23
                                            Last post

                                          203

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project