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

Unable to Mount NFS

Scheduled Pinned Locked Moved
FOG Problems
3
45
13.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.
  • M
    MikeoftheLibrary
    last edited by Jan 16, 2014, 5:10 PM

    While the issues in my other thread, FOG Server Communication Issues have largely been solved there is a problem which has cropped up during the image upload process. I am able to create an image in the web interface, set the upload task, and have it start automatically upon reboot of the target machine. The problem is I am confronted with the screen in the attached image. What stands out is that the IP address next to “mount” is wrong. I was able to mount the volume locally on the server, but am unsure where to change the IP address. Here is some information about my setup:

    FOG version .32
    Running on Debian 7 in VMware player (Windows 7 host OS)
    Target Machine runs Windows 7. It is an Optiplex 780. I’d thought there were three partitions (primary, boot, and one more), but FOG only shows the boot sector and file system as partitions. In any case the upload has failed whether I set the image a single or multiple partitions.
    Kernel version is something like 3.12.7. It is one that Tom Elliot posted back in December. I’d had problems with registration hanging which were solved by updating the kernel.

    [url=“/_imported_xf_attachments/0/485_IMG_20140116_091245.jpg?:”]IMG_20140116_091245.jpg[/url]

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 16, 2014, 7:38 PM

      If I recall, a lot of your services weren’t running.

      That RPC error is indicative of the nfs service not running if I recall properly.

      Try these commands on your fog server
      [code]sudo service portmap restart
      sudo service nfs-kernel-server restart[/code]

      Then try your system again.

      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
      • M
        MikeoftheLibrary
        last edited by Jan 16, 2014, 7:52 PM

        Hmm I can’t seem to start portmap. Doing so returned an “unrecognized service error”. And whereis fails to locate it as well. Was this something that needed to be installed as part of the Debian or did it come with FOG?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jan 16, 2014, 7:53 PM

          It should’ve installed with fog, but it’s possible debian uses rpcbind, maybe try:
          [code]sudo service rpcbind restart
          sudo service nfs-kernel-server 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
          • M
            MikeoftheLibrary
            last edited by Jan 16, 2014, 8:16 PM

            Debian indeed uses rpcbind, but restarting both services did not help. I used wireshark to analyze the network traffic from the moment I created the task to the point where the target machine rebooted after failing to image. The file would be attached, but your forum software refuses to accept it.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jan 16, 2014, 8:21 PM

              Have you disabled the firewall service on the server just to ensure it’s not the cause of your issues right now?

              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
              • M
                MikeoftheLibrary
                last edited by Jan 16, 2014, 8:23 PM

                Well I completely removed firestarter because it was causing problems. As far as I know IPTables is not active, but I will double check. Also I was able to register the computer and enter debug mode yesterday. So far only uploading an image is causing an issue.

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jan 16, 2014, 8:27 PM

                  Right,

                  That’s because it can’t connect with your nfs server. NFS is only mounted on download/upload tasks from unicast modes.

                  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
                  • M
                    MikeoftheLibrary
                    last edited by Jan 16, 2014, 8:33 PM

                    Turns our firestarter was not totally removed. Trying to do so returned a number of errors relating to “FogMulticast” and rmnologin. They go on for a lot longer than in the picture. It looks like that software should never have been installed.

                    [url=“/_imported_xf_attachments/0/488_IMG_20140116_142737.jpg?:”]IMG_20140116_142737.jpg[/url]

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jan 16, 2014, 8:44 PM

                      You could try apt-get removing it, let it spit the errors it needs to, but after it’s uninstalled, restart the system. This way you can be sure everything cleaned 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
                      • M
                        MikeoftheLibrary
                        last edited by Jan 16, 2014, 9:00 PM

                        Apt-get purge (twice) followed by a restart seemed to rid me of it. At least whereis does not return any results. But the same error still pops up when upload is attempted. Also I checked with the web interface and under disk information it says “cannot connect to default member” and when I click on that FOG tells me it cannot pull server information. Not sure if that’s related though. Do you think the wireshark analysis will help? I can try e-mailing it to you (since the forum will not let me post it here).

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Jan 16, 2014, 9:08 PM

                          I don’t think wireshark will help.

                          Can you uninstall rpcbind and install portmap on your system?

                          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
                          • M
                            MikeoftheLibrary
                            last edited by Jan 16, 2014, 9:15 PM

                            Tom that should be possible. If I turn off DHCP and TFTP the I can connect the server to the campus network/internet without causing disruption just long enough to install port map.

                            1 Reply Last reply Reply Quote 0
                            • M
                              MikeoftheLibrary
                              last edited by Jan 16, 2014, 9:35 PM

                              Seems that portmap has been replace by rpcbind in Debian 7. Any attempt to install portmap defaults to installing rcpbind instead. I can’t comment on the significance of that, but there are some manuals for setting up NFS on Debian which might help (such as this [URL=‘http://www.debianhelp.co.uk/nfs.htm’]one[/URL] which talks about editing the /etc/exports file). Seems worth a shot. I’m not going to have to start over with a new OS am I?

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Jan 16, 2014, 10:08 PM

                                not that I’m aware of. I’m running Debian 7 on one of my VM’s and it has no issues with FOG. It’s not my main server, but everything has been tested and it works perfectly 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
                                • M
                                  MikeoftheLibrary
                                  last edited by Jan 16, 2014, 10:16 PM

                                  It seems that NFS is not configured or set up correctly on mine. Naturally this has to be something nobody else has experienced. I am going to look into doing so.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MikeoftheLibrary
                                    last edited by Jan 16, 2014, 10:58 PM

                                    I followed the directions located [URL=‘http://forums.debian.net/viewtopic.php?f=16&t=42078’]here[/URL] to setup NFS and now the dhcp server won’t start. When I go to do so an error message saying that the service failed to start. It being 5 PM I am going home and will deal with this more tomorrow.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MikeoftheLibrary
                                      last edited by Jan 17, 2014, 4:11 AM

                                      After some thought two questions have come to mind. First, are there any specific components (web server, file server, MySQL database, etc) of Debian that should be installed when the OS is? Second, would reinstalling FOG solve my problems?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by Jan 17, 2014, 1:03 PM

                                        I don’t think you need to have anything extra installed at OS install time, but it wouldn’t hurt anything either.

                                        I do think a reinstall would help. You don’t have to start from scratch either. Just rerun the installer and it will find your settings file under: /opt/fog/.fogsettings

                                        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
                                        • M
                                          MikeoftheLibrary
                                          last edited by Jan 17, 2014, 4:26 PM

                                          Reinstall cured the dhcp issue and once again I can PXE boot. However the NFS server did not install properly. The package was installed (and came out ok during the check), but was not configured and it returned an error at the end when the services were set. There was also an error about nfs-kernel-server, nfs-common, and rpcbind not being configured correctly due to dependencies or something like that. It flashed by during the install. Unfortunately I did not think to take a picture before restarting (which did not fix the problem). I did attempt to configure NFS using[URL=‘http://forums.debian.net/viewtopic.php?f=16&t=42078’] these directions[/URL], to no avail.

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

                                          216

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project