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

    Unable to upload image

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    36
    21.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.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      albero, can you try running a command from a windows machine for me?

      run this command and tell me what the output is
      [code]tftp x.x.x.x get pxelinux.0[/code]

      Dont feel bad, this is the problem that plagued me when I set up fog 🙂

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • A
        albero
        last edited by

        Sorry for taking awhile to get back to you. When I ran the command I got the following:

        [INDENT=1]“Transfer successful: 16967 bytes in 1 second, 16967 bytes/s”[/INDENT]

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

          albero,

          When you installed fog, did you install the DHCP server or not?

          If you didn’t you will have to tell your DHCP server were to point boot-dhcp requests.

          On a windows server, this is done in DHCP. Under, I think, option 66, you’ll put the pxelinux.0 file, and option 67, you’ll input your fog server’s IP address. This is why it’s not working, it doesn’t know how to send the BOOT information to the client.

          If your boxes, the one you want to upload the image from, is on a separate VLAN, you need to point it to your DHCP server so it can pick up, and receive, a valid IP address.

          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
          • Tom ElliottT
            Tom Elliott
            last edited by

            Also,

            Add the fact that the tftp command you performed downloaded the file with no ill effects, means your tftpd-hpa service was/is running. This issue only plagues 12.04 on bootup and is easily fixed by appending:

            [code]sudo sleep 30; sudo service tftpd-hpa restart[/code]

            rc.local file. This tftpd-hpa issue is not your current issue, and is easily fixed, if you don’t add the restart to the rc.local, by command line restarting.

            The issue I’m seeing, seems to be that the system isn’t receiving an IP address at all. This may be indicative that your current setup has 2 dhcp servers, and the system doesn’t know which server to receive the IP address from, as after it’s booted, all else seems to work fine.

            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
            • A
              albero
              last edited by

              Thank you Tom for your help!

              I think I installed the DHCP server. I believe I just did whatever the standard default install is. I would like the DHCP server to be on the same machine as the FOG server (Is that ok?), and that’s how I’ve been treating it. I’m not sure if I’ve set up my dhcpd.conf (on the FOG server) correctly, but I’ve added the following:

              [INDENT=1]option tftp-server-name “10.1.50.1”;[/INDENT]
              [INDENT=1]option bootfile-name “prelinux.0”;[/INDENT]

              Additionally, should I need to change any other options within that file, for example (subnet, option domain-name-servers, etc)? I’m sorry for not mentioning this earlier, but could a problem be occurring because the two Windows machines are both on two networks. One of the networks is the same as the FOG server, and the other is separate from the FOG server.

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

                [code]option bootfile-name “prelinux.0”;[/code]

                Should read:
                [code]option bootfile-name “pxelinux.0”;[/code]

                You need to replace the letter r with an x.

                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
                • A
                  albero
                  last edited by

                  Oh my goodness, I can’t believe I did that! Unfortunately, I’m still getting the same error after making that change and restarting the dhcp server.

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

                    It’s all good. One issue at a time.

                    I’m assuming that both the FOG server and the client (the one your trying to upload from) is on the same subnet? Are they behind a switch or a router?

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      I’ve got a little bit of a test if you don’t mind me trying something out.

                      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
                      • A
                        albero
                        last edited by

                        They are both on the same subnet and behind a switch. And I’m game for a test.

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

                          Try putting these values into your fog’s dhcpd.conf file:

                          Essentially create a new dhcpd.conf file, and don’t forget to restart the dhcpd service.

                          [code]use-host-decl-names on;
                          ddns-update-style interim;
                          ignore client-updates;
                          next-server 10.1.50.1

                          subnet 10.1.50.0 netmask 255.255.255.0 {
                          option subnet-mask 255.255.255.0;
                          range dyncamic-bootp 10.1.50.2 10.1.50.254;
                          default-lease-time 21600;
                          max-lease-time 43200;
                          option domain-name-servers 10.1.50.1; <-- USE YOUR REAL DNS SERVER IP ADDRESS
                          option routers 10.1.50.1; <-- USE YOUR REAL NETWORK GATEWAY FOR THIS SUBNET
                          filename “pxelinux.0”;
                          }[/code]

                          I hope this helps you out.

                          One you’re done editing, don’t forget to restart the dhcp service.

                          For ubuntu it should be:
                          [code]sudo service isc-dhcp-service 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
                          • A
                            albero
                            last edited by

                            Things are happening!

                            [EDIT]
                            Not good things anymore 😞

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

                              So it’s, hopefully, working?

                              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
                              • A
                                albero
                                last edited by

                                I was in the middle of recording what I think was an error when all of a sudden the screen looked like [URL=‘http://ak0.picdn.net/shutterstock/videos/529198/preview/stock-footage-television-static-noise-audio-included-black-white.jpg’]this[/URL]. I’m going to try to reproduce it.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  albero
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    I don’t see the picture, I’m assuming meant to put in, but no worries,

                                    Just describe what the error message says.

                                    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
                                    • A
                                      albero
                                      last edited by

                                      So I was able to PXE boot on the Win 7 machine and it produced the following output seen in “2.png” attached below. After a few moments, the screen displayed static that can be seen in “3.png”.

                                      I believed it to be frozen in this state (3.png), but as I was typing this the VM restarted and looks to be functioning again. I’m not sure what happened, but the task is still listed in “Task Management” for all active tasks as “queued” and there is a new empty directory in /images/dev on the FOG server whose name is the same as the MAC address of the machine whose image was to be uploaded.

                                      [EDIT]
                                      Found this post, [url]http://fogproject.org/forum/threads/no-chip-hp-compaq-6910p.202/[/url] ,that may be pertinent. I’m reading through it now myself.

                                      [url=“/_imported_xf_attachments/0/450_2.png?:”]2.png[/url][url=“/_imported_xf_attachments/0/451_3.png?:”]3.png[/url]

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

                                        It’s not the error that’s giving you the issue.

                                        Download my kernel:

                                        [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url]

                                        Copy it to your FOG Server with the following commands: (ON THE FOG SERVER TERMINAL OR CONSOLE)
                                        [code]sudo cp /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.orig
                                        cd /tftpboot/fog/kernel/
                                        sudo wget --no-check-certificate https://mastacontrola.com/fogboot/kernel/bzImage[/code]

                                        Then try uploading again. You may have to recreate the task.

                                        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
                                        • A
                                          albero
                                          last edited by

                                          Ahh okay, I’ll do that tomorrow or whenever is next possible for me. My FOG server is unable to be connected to the internet, so I’ll need to do some extra work to get the kernel onto the machine.

                                          Thanks so much for the help so far! I didn’t expect such quality help from forums this quickly, but you’ve been great!

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

                                            Okay,

                                            I’m sorry about that. The “scribbly screen” as I like to call it, just means it can’t process the kms (kernel mode setting) properly. It should be creating the image though.

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

                                            186

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project