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

    Another post for TFTP / NFS authentication issues

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    11
    2.4k
    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.
    • arnaudrigoleA
      arnaudrigole
      last edited by arnaudrigole

      Hi Fog community,

      I have 2 problems ;

      First (sorry, but again…) i tried for several week to setup a NFS share to store my images on a external server, but i doesn’t work for some reasons…

      i followed this procedure : https://wiki.fogproject.org/wiki/index.php/Windows_Storage_Node but i can’t validate the step to copy the .mntcheck files:

      " mkdir /images2"
      " chmod 777 /images2"
      " mount 10.1.11.64:/Images /images2 "
      " cd /images2 "
      " -bash: cd: /images2 : Permission non accordée"

      Another problem is that i can’t use the fog local storage too: i changed the “fog” password on the server “passwd fog”, so i changed it on fog local storage node on webgui too, using FOGCrypt, but look at what it say now…:
      alt text

      Which ID should i use for the local storage node and distant storage node??

      Thank you for your help!!!
      Arnaud

      1 Reply Last reply Reply Quote 0
      • I
        ITSolutions Testers
        last edited by

        For your second issue to access your local storage, you don’t need to use FOGCrypt. The password is plain text in the webgui. The only thing to use FOGCrypt for is the legacy client. So try changing the storage node password to the plain text of your new password.

        For the NFS part, did you make sure the password for the share is your new password for the FOG account that you changed? Also are you running the commands over SSH using the FOG account or another account? In the steps on that article the only account getting access is the FOG account, so if you are using best practice and not doing things under the FOG account with SSH that could give you the permissions error. Try running all SSH under the FOG account and see if that works for you.

        1 Reply Last reply Reply Quote 1
        • arnaudrigoleA
          arnaudrigole
          last edited by

          @ITSolutions

          Thanks for your reply.

          For the local storage, uncrypt the password solved the problem, thank you 🙂

          For the NFS , i ran all SSH cmds with under root account… i tried with “fog” also but still the same :
          " cd /images2 "
          " -bash: cd: /images2: Permission non accordée "

          I Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • I
            ITSolutions Testers @arnaudrigole
            last edited by

            @arnaudrigole Let’s see if @Wolfbane8653 can help as he wrote the steps and probably is more versed than I in this method.

            But to help him out can you give us a little more information:
            What OS is FOG on, Debian, Ubuntu, Cent, Red Hat?
            What version of FOG are you using (1.2 or Trunk, if trunk what version does it say in the cloud on the management page)?
            What version of windows is the NFS share coming from Win 7, Win 2008, 2012?
            What version of Filezilla are you using?

            It’ll make it easier to narrow down possible version issues with this information.

            One quick question also is can you access the NFS share from any other machines?

            1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @arnaudrigole
              last edited by Wayne Workman

              @arnaudrigole If your using Ubuntu/Debian, the correct way to switch to root is sudo -i if your using Red Hat, Fedora, CentOS, the correct way is also sudo -i. Try executing the same commands but as root.

              –Fixed

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

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

                @Wayne-Workman Wrong.

                Both types, changing to root is still sudo -i

                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

                arnaudrigoleA 1 Reply Last reply Reply Quote 1
                • arnaudrigoleA
                  arnaudrigole @Tom Elliott
                  last edited by

                  @ITSolutions
                  Ok thanks,
                  FOG 1.2.0 is running on a Debian 8 server. NFS share is coming from a Windows 2008 R2 server, Filezilla server is running on 0.9.56 beta.

                  How can i test the access the NFS share from other machine? with mount cmd too?

                  @Wayne-Workman @Tom-Elliott
                  I did all the commands as root and it still the same … 😕

                  Wayne WorkmanW I 2 Replies Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @arnaudrigole
                    last edited by

                    @arnaudrigole said in Another post for TFTP / NFS authentication issues:

                    How can i test the access the NFS share from other machine? with mount cmd too?

                    https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_NFS

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • I
                      ITSolutions Testers @arnaudrigole
                      last edited by

                      @arnaudrigole Yes, even from a Windows machine you can try mount 10.1.11.64:/Images *
                      This will mount to the next available drive letter to test if the NFS is accessible. It should ask for Username/password, make sure to use the FOG username/password as that is what you gave access to.

                      You can also try to connect to the FTP share with ftp://10.1.11.64 and see if it gives access.

                      Basically we are trying to narrow down where the failure is, it definitely appears the permissions on your NFS share are not correct in some fashion, but just want to see if you can connect to everything independently.

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @ITSolutions
                        last edited by Quazz

                        @ITSolutions NFS is restricted to certain versions of Windows I believe

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          ITSolutions Testers @Quazz
                          last edited by

                          @Quazz ah, yes you are right. I didn’t think about that, enterprise only. And not installed by default. But the FTP test should work from Windows. I would try connecting to the FTP share from the CentOS that should give you an indication as to if the server with NFS is accessible.

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post

                          191

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project