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

    Mounting /images/dev on /images failed - permissions denied

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    12
    7.7k
    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.
    • L
      lmorel12
      last edited by lmorel12

      Thanks! I did this (see screenshot) and I still get the same issue.

      I am “worried” and concerned about one thing: I created a user called fog for that CentOS VM. I have been using root for everything though. But I also see /home/fog/images/dev with the “home” part in the path. I can’t remember if I originally set the server under the fog account. And I believe I was running out of space and followed a tutorial years ago to expand and mount the images folder. Like I said I have no idea what I am doing. And I followed tutorials blindly and it worked right away. I then moved on until I tried to go with the trunk route not long ago. I don’t know if any of this is helpful or not.

      0_1490886728226_fog_error_2.png

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

        @lmorel12 Is firewall enabled?
        Is selinux enabled?
        Is the IP (that you keep blocking) the same as what’s expected from the server?

        Seeing as it appears /home/fog/images/dev is being used, what’s defined for the storage location field in the GUI? Is it also /home/fog/images or is it still /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

        L 2 Replies Last reply Reply Quote 0
        • L
          lmorel12 @Tom Elliott
          last edited by lmorel12

          @Tom-Elliott Sorry, but what do you mean by “that you keep blocking”? I don’t believe I have firewall up. I ran the following command systemctl status firewalld and it showed as “inactive (dead)”. I made a point to turn it off when I first installed FOG.

          For selinux, are you asking about permissive vs enforcing? When I set up the server, I followed a wiki to do this because I wanted to run FOG on CentOS. Was I supposed to go through some of those steps again after upgrading to trunk? I got this “inactive (dead)” when I submitted the systemctl status selinux command.

          This is what I see under Storage Management settings. Is that what you are asking?

          0_1490891783026_fog_error_3.png

          1 Reply Last reply Reply Quote 0
          • L
            lmorel12 @Tom Elliott
            last edited by

            @Tom-Elliott I added the /home/fog in front of /images and guess what? It worked!

            I am embarrassed. Beyond embarrassed. But I can tell you I have NOT been in there and touch any of this. I will follow blindly tutorials and wiki without really knowing what it actually does concept wise, but definitely did NOT touch those settings under Storage Management.

            Did upgrade to trunk affect this somehow? I wouldn’t blame anyone for concluding that I need to put that box of matches down and go back to my Legos.

            george1421G 1 Reply Last reply Reply Quote 0
            • L
              lmorel12
              last edited by

              OK, so everything looked ok, process wise. I can see it’s doing the capture as usual, took around 10min for 17.17GB. But I also see “No valid data”.

              0_1490893548531_fog_error_4.png

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

                @lmorel12 “No valid data” just means that it hasn’t been captured since that field was added. this is probably an “older” image if you will?

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

                  @lmorel12 said in Mounting /images/dev on /images failed - permissions denied:

                  I added the /home/fog/images and guess what? It worked!

                  Just for clarity, how/why did the images folder get changed to /home/fog/images since /images is the default. Was this an intentional change? If it was then when you ran the installer, you should have told the installer the new location of the images and it would have setup everything correctly for you.

                  The reason why I ask is this is the third post in about a week with the same warning error in your OP. If this is something wrong in the docs we need to get them updated. But now I know where to look when this error appears.

                  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!

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    lmorel12 @george1421
                    last edited by

                    @george1421 I upgraded to trunk. Went through the process with default settings. If it was clearly displayed that the path changed on me and I missed it, my fault. But I definitely did NOT change the path myself.

                    Again, my original configuration/installation might have something to do with it and years later those “leftovers” affected the upgrade to trunk setup? I really don’t know enough.

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

                      @lmorel12 It’s all good.

                      For future then, edit your /opt/fog/.fogsettings file.

                      If I had to guess, storageLocation='/images' currently.

                      Change it to read:
                      storageLocation='/home/fog/images'

                      If I had to guess, however, another way to prevent issues going forward would be to make a soft link to /images pointing at /home/fog/images. Of course only do this if you know the files are ONLY on /home/fog/images.

                      I’d go with my first suggestion just to be fully safe.

                      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
                      • L
                        lmorel12
                        last edited by

                        Tom, Wayne and George, THANK YOU!!!

                        It’s all good now. And I learned a lot. And archiving this on my end with my notes. Until next time.

                        I apologize for bugging so much… 😞

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

                        257

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project