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

    mounting /images failed: Connection timed out

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    81
    30.2k
    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.
    • Tom ElliottT
      Tom Elliott @george1421
      last edited by

      @george1421 Sure? I don’t know. This seems awefully fishy and we aren’t getting anywhere.

      The stuff all points that something else is blocking the connection. Maybe the subnet the systems are booting from (and being issued IP addresses) is not allowed to request data?

      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

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

        @sjensen said in mounting /images failed: Connection timed out:

        @Tom-Elliott yesterday I did a kernel update would that have broken anything? I did it via terminal.

        I guess we need to collect a little more information here then.

        What version of FOG are you using?
        What version of kernel did you just update to?
        Why did you update it?
        What hardware are you trying to capture? (manufacturer and model)
        Is the FOG server and target computer on the same subnet? (I think you already answered this)

        What you are experiencing is not typical with FOG. We need to identify where the gap is. It appears the target computer has network access, but it doesn’t have nfs access to the fog server(??). You can mount the nfs shares locally on the fog server, so the fos engine should be able to do the same. You have confirmed that the IP address of the FOG server matches the IP address from the error page. There is something going on here that is for sure.

        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!

        S 1 Reply Last reply Reply Quote 0
        • S
          sjensen @Tom Elliott
          last edited by

          @Tom-Elliott I dont think this makes a difference, but my fog server is a virtual it is on one vlan and my host is on another vlan. I can connect to the web interface for Fog with no issues from my computer which is on another vlan.

          1 Reply Last reply Reply Quote 0
          • S
            sjensen @george1421
            last edited by

            @george1421 Fog version 1.2.0
            the latest kernel (i saved the old kernels)
            I updated because i was trying to download an image to a computer (HP prodesk 600 g2) and was getting an error “tsc fast tsc calibration failed”
            all posts I read said to update the kernel.
            I am trying to capture a HP 6005 usff. I have made a test image of this pc prior.
            Yes both Fog server and client are on the same subnet.

            Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @sjensen
              last edited by

              @sjensen Your information is conflicting.

              You state the FOG Server and the client are on the same subnet, but the post before that you state they’re on different VLAN’s.

              Now, being issued different IP’s is fine as your DHCP controller can handle passing the boot files and with the use of IP Helpers all will seem to work fine.

              The difference, however, is something is obviously not right and we now have conflicting information making it that much harder to figure out.

              If they are on separate vlan’s I’m assuming there’s a switch handing out information and there’s probably a central point where all things reach out through. After that, there’s probably a firewall and traffic is all routed to that point?

              I’m just trying to understand the layout. Two clients on the same subnet (Server and host) should have no problems mounting an NFS share. But if you throw a firewall into the mix and separate vlan’s, I can only guess the network has no idea where to go, or it’s entirely blocked from that particular connection.

              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 1
              • george1421G
                george1421 Moderator @sjensen
                last edited by george1421

                @sjensen just for clarity (since you are using FOG 1.2.0) what is “the latest kernel, specifically” The latest kernel for FOG 1.2.0 is not he latest kernel for FOG 1.3.0. If you revert to the previous kernel and do a compatibility test from the fog menu, do both networking and hard disk pass?

                Also for clarity has this setup ever worked? I know you said that it worked the other day, but how much history do you have with this FOG server?

                As Tom noted, and I also picked up on. You talk about vlans and then mentioned that both the fog server and the target computer is on the same subnet. I see a discrepancy here. I specifically asked if they where on the same subnet to ensure there was no kind of screening / firewall router between the target computer and the FOG server that may be blocking NFS traffic, but passing http traffic.

                You mentioned that FOG worked before (for some system), does it sill work if you tested with that model?

                As noted before this system is acting inconsistent with what we would expect from FOG. There has to be something that changed beyond the kernel.

                We may need you to do a debug capture for this computer. (the debug capture for 1.2.0 is on the advanced menu in the host settings page). By doing a debug capture and then pxe booting the target computer FOG will drop you to a command prompt on the target computer so we can do some additional debugging steps.

                The first thing I would try is for the target computer (running in debug capture mode) to see if it can ping the fog 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!

                S 1 Reply Last reply Reply Quote 0
                • S
                  sjensen @george1421
                  last edited by

                  @george1421Please understand I am very new to Linux, I appreciate all the commands you have sent. I downloaded the latest kernel for 1.2.0, however i do not remember the version. I can try to revert to old kernel.

                  To clarify, yes the setup worked. I was able to upload and download an image. Host had an ip address ending in 6.62, Fog server Vm ip address ending in 28.10, client got its ip from the dhcp server in the subnet as fog server 28.xx.

                  No the original system does not work any longer.

                  TO my knowledge I have not changed anything else except the kernel.

                  As a test this morning I put host, server, and client on the same subnet. I still get the same result. I am thinking its got to be the kernel. Thoughts?

                  Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @sjensen
                    last edited by

                    @sjensen The kernel has nothing to do with connecting to the NFS Mount point. Support for NFS is embedded in every kernel in the same way (so if one kernel works all the rest will as well).

                    You can try reverting to the original kernel but I don’t think that will fix the issue either. From a client within a Debug mode: (From FOG GUI goto Host->Basic Tasks->Advanced->Download - Debug)

                    Let the system boot and press enter if/when prompted to. It will drop the client machine booting into a console shell.

                    Let me know when it’s there.

                    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

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

                      @sjensen Thanks for the clarity on the issue.

                      So now we know there is a router between the target computer and the FOG server. Might you think there is some kind of filter turned on this router? Is the fog server and the target computer on the same physical campus? Understand I’m trying to get a picture of your setup. But Tom is right getting access to the target computer’s command prompt by a debug capture mode will allow us to type in commands on the target computer, to see (in a way) what the target computer sees in the form of your network.

                      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
                      • S
                        sjensen @Tom Elliott
                        last edited by

                        @Tom-Elliott OK i will do so. Do i want download debug or upload debug?

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

                          @sjensen I thought my information was specific enough, but ultimately either one or the other will work just fine. In your case, as you’re trying to upload a new image?: Use upload debug.

                          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

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            sjensen @Tom Elliott
                            last edited by

                            @Tom-Elliott Ok it is waiting at the command prompt.

                            Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @sjensen
                              last edited by

                              @sjensen Try mounting the nfs: run->

                              mkdir /images
                              mount -o nolock,proto=tcp,rsize=32768,wsize=32768,intr,noatime "192.168.28.10:/images/dev" /images

                              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

                              S 2 Replies Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Also, so we know the kernel version you’re running, can you get us the output of:

                                uname -rm

                                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

                                S 2 Replies Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @sjensen
                                  last edited by george1421

                                  @sjensen The first thing I want you to do is this:

                                  On the console of the target computer key in

                                  1. ip addr show that will tell you the current IP address of the target computer (please post it here)
                                  2. I need you to give root a password so we can connect to it remotely (so you don’t have to sit in front of the target computer) passwd and give root a password it can be something as simple as Password-1 or complex, it is up to you. This password will exist until the target computer is rebooted so its only temporary.
                                  3. Install putty on your computer [ http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ], its a free download and will allow you to connect to the target computer over the network. You will need this to copy and paste commands given by Tom or myself. The exe is not installed, but just run.

                                  I see Tom went in directly to the point.

                                  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
                                  • S
                                    sjensen @Tom Elliott
                                    last edited by

                                    @Tom-Elliott 0_1482417870908_Capture7.PNG

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • S
                                      sjensen @Tom Elliott
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @sjensen
                                        last edited by george1421

                                        @sjensen OOoops you fell into the kernel hole. The kernels between 4.2 and 4.6 don’t work for FOG 1.2.0, if you upgrade to latest kernels for FOG 1.3.0 you will be in a better state.

                                        cd /var/www/html/fog/service/ipxe
                                        cp bzImage bzImage.old
                                        cp bzImage32 bzImage32.old
                                        wget -P https://fogproject.org/kernels/bzImage
                                        wget -P https://fogproject.org/kernels/bzImage32
                                        

                                        Now here is the part I’m not sure of, and Tom will need to answer. I was under the impression that FOG 1.2.0 was 32bit only? if that’s the case we need to rename the kernel file

                                        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!

                                        Tom ElliottT 1 Reply Last reply Reply Quote 1
                                        • S
                                          sjensen @Tom Elliott
                                          last edited by

                                          @Tom-Elliott this is what got
                                          mount: cant find images: in /etc/fstab

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

                                            @sjensen I need to see the exact mount command you used.

                                            The command should not run multiple lines.

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            154

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project