• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • A
    arnaudrigole
    last edited by arnaudrigole Apr 12, 2016, 6:41 AM Apr 12, 2016, 12:36 PM

    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 Apr 12, 2016, 12:51 PM

      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
      • A
        arnaudrigole
        last edited by Apr 12, 2016, 1:59 PM

        @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 W 2 Replies Last reply Apr 12, 2016, 3:15 PM Reply Quote 0
        • I
          ITSolutions Testers @arnaudrigole
          last edited by Apr 12, 2016, 3:15 PM

          @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
          • W
            Wayne Workman @arnaudrigole
            last edited by Wayne Workman Apr 12, 2016, 9:51 AM Apr 12, 2016, 3:26 PM

            @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/

            T 1 Reply Last reply Apr 12, 2016, 3:51 PM Reply Quote 0
            • T
              Tom Elliott @Wayne Workman
              last edited by Apr 12, 2016, 3:51 PM

              @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

              A 1 Reply Last reply Apr 13, 2016, 8:17 AM Reply Quote 1
              • A
                arnaudrigole @Tom Elliott
                last edited by Apr 13, 2016, 8:17 AM

                @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 … 😕

                W I 2 Replies Last reply Apr 13, 2016, 12:29 PM Reply Quote 0
                • W
                  Wayne Workman @arnaudrigole
                  last edited by Apr 13, 2016, 12:29 PM

                  @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 Apr 13, 2016, 12:59 PM

                    @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 Apr 13, 2016, 1:09 PM Reply Quote 0
                    • Q
                      Quazz Moderator @ITSolutions
                      last edited by Quazz Apr 13, 2016, 7:10 AM Apr 13, 2016, 1:09 PM

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

                      I 1 Reply Last reply Apr 13, 2016, 1:20 PM Reply Quote 0
                      • I
                        ITSolutions Testers @Quazz
                        last edited by Apr 13, 2016, 1:20 PM

                        @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
                        1 / 1
                        • First post
                          10/11
                          Last post

                        150

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project