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

Could not mount images folder Error

Scheduled Pinned Locked Moved Solved
FOG Problems
3
35
3.9k
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
    lschnider
    last edited by Dec 3, 2018, 10:29 PM

    Here is the output from the first thing you said to do. 0_1543876029626_fog error2.PNG

    and here is the second

    [root@localhost cmc_it]# iptables -L -n -v
    Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0                                 udp dpt:53
        0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:53
        0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0                                 udp dpt:67
        0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:67
     140K   21M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 ctstate RELATED,ESTABLISHED
    10190  612K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0                        
    87460   13M INPUT_direct  all  --  *      *       0.0.0.0/0            0.0.0.0/0                     
    86467   13M INPUT_ZONES_SOURCE  all  --  *      *       0.0.0.0/0            0.0                     .0.0/0
    86467   13M INPUT_ZONES  all  --  *      *       0.0.0.0/0            0.0.0.0/0                      
        0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 ctstate INVALID
    80445   12M REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 reject-with icmp-host-prohibited
    
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 ACCEPT     all  --  *      virbr0  0.0.0.0/0            192.168.122.                     0/24     ctstate RELATED,ESTABLISHED
        0     0 ACCEPT     all  --  virbr0 *       192.168.122.0/24     0.0.0.0/0                        
        0     0 ACCEPT     all  --  virbr0 virbr0  0.0.0.0/0            0.0.0.0/0                        
        0     0 REJECT     all  --  *      virbr0  0.0.0.0/0            0.0.0.0/0                                 reject-with icmp-port-unreachable
        0     0 REJECT     all  --  virbr0 *       0.0.0.0/0            0.0.0.0/0                                 reject-with icmp-port-unreachable
        0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 ctstate RELATED,ESTABLISHED
        0     0 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0                        
        0     0 FORWARD_direct  all  --  *      *       0.0.0.0/0            0.0.0.0                     /0
        0     0 FORWARD_IN_ZONES_SOURCE  all  --  *      *       0.0.0.0/0                                 0.0.0.0/0
        0     0 FORWARD_IN_ZONES  all  --  *      *       0.0.0.0/0            0.0.0                     .0/0
        0     0 FORWARD_OUT_ZONES_SOURCE  all  --  *      *       0.0.0.0/0                                 0.0.0.0/0
        0     0 FORWARD_OUT_ZONES  all  --  *      *       0.0.0.0/0            0.0.                     0.0/0
        0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 ctstate INVALID
        0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0                                 reject-with icmp-host-prohibited
    
    Chain OUTPUT (policy ACCEPT 132K packets, 78M bytes)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 ACCEPT     udp  --  *      virbr0  0.0.0.0/0            0.0.0.0/0                                 udp dpt:68
     132K   78M OUTPUT_direct  all  --  *      *       0.0.0.0/0            0.0.0.0/                     0
    
    Chain FORWARD_IN_ZONES (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 FWDI_public  all  --  eth0   *       0.0.0.0/0            0.0.0.0/0                                [goto]
        0     0 FWDI_public  all  --  +      *       0.0.0.0/0            0.0.0.0/0                                [goto]
    
    Chain FORWARD_IN_ZONES_SOURCE (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FORWARD_OUT_ZONES (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 FWDO_public  all  --  *      eth0    0.0.0.0/0            0.0.0.0/0                                [goto]
        0     0 FWDO_public  all  --  *      +       0.0.0.0/0            0.0.0.0/0                                [goto]
    
    Chain FORWARD_OUT_ZONES_SOURCE (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FORWARD_direct (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDI_public (2 references)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 FWDI_public_log  all  --  *      *       0.0.0.0/0            0.0.0.                     0/0
        0     0 FWDI_public_deny  all  --  *      *       0.0.0.0/0            0.0.0                     .0/0
        0     0 FWDI_public_allow  all  --  *      *       0.0.0.0/0            0.0.                     0.0/0
        0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0                        
    
    Chain FWDI_public_allow (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDI_public_deny (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDI_public_log (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDO_public (2 references)
     pkts bytes target     prot opt in     out     source               destination                      
        0     0 FWDO_public_log  all  --  *      *       0.0.0.0/0            0.0.0.                     0/0
        0     0 FWDO_public_deny  all  --  *      *       0.0.0.0/0            0.0.0                     .0/0
        0     0 FWDO_public_allow  all  --  *      *       0.0.0.0/0            0.0.                     0.0/0
    
    Chain FWDO_public_allow (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDO_public_deny (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain FWDO_public_log (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain INPUT_ZONES (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    86449   13M IN_public  all  --  eth0   *       0.0.0.0/0            0.0.0.0/0                                [goto]
       17  2689 IN_public  all  --  +      *       0.0.0.0/0            0.0.0.0/0                                [goto]
    
    Chain INPUT_ZONES_SOURCE (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain INPUT_direct (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
      993 35276 ACCEPT     2    --  *      *       0.0.0.0/0            0.0.0.0/0                        
    
    Chain IN_public (2 references)
     pkts bytes target     prot opt in     out     source               destination                      
    86466   13M IN_public_log  all  --  *      *       0.0.0.0/0            0.0.0.0/                     0
    86466   13M IN_public_deny  all  --  *      *       0.0.0.0/0            0.0.0.0                     /0
    86466   13M IN_public_allow  all  --  *      *       0.0.0.0/0            0.0.0.                     0/0
        1    84 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0                        
    
    Chain IN_public_allow (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
        2   104 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:22 ctstate NEW
     5600 1517K ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 udp dpts:49152:65532 ctstate NEW
      408 21352 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:80 ctstate NEW
        0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:443 ctstate NEW
        0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 tcp dpt:69 ctstate NEW
       11   679 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0                                 udp dpt:69 ctstate NEW
    
    Chain IN_public_deny (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain IN_public_log (1 references)
     pkts bytes target     prot opt in     out     source               destination                      
    
    Chain OUTPUT_direct (1 references)
     pkts bytes target     prot opt in     out     source               destination```
    

    Im guessing it has something to do with every ip being 0.0.0.0/0

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 4, 2018, 5:06 AM

      @lschnider Ok, so client can reach the server but firewall is enabled. Disable it for now and see if the deploy is working then. This looks like a CentOS ruleset. So I may ask if you have followed our wiki article on CentOS and disabled SELinux (and the firewall)??! I wonder how you were able to capture an image if the firewall was enabled all the time. Run the following command to switch off the firewall temporarily and then try to do another deploy: systemctl stop firewalld

      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 2
      • L
        lschnider
        last edited by Dec 4, 2018, 2:02 PM

        I actually am trying to capture an image not deploy one. I havent been able to successfully capture one yet. I did follow the article but i definitely could have missed a step or something. I will try it with the firewall off and see if that works.

        G 1 Reply Last reply Dec 4, 2018, 2:35 PM Reply Quote 0
        • L
          lschnider
          last edited by lschnider Dec 4, 2018, 8:34 AM Dec 4, 2018, 2:27 PM

          Okay so it looks like its capturing the image now, i went back through the wiki article you sent me and followed all the steps again. and everything said “Warning already enabled” the only one that I wasnt sure about was the 0_1543932914055_f8a07d49-d8a9-40b6-9542-40463960a5af-image.png what command do i actually run in this.

          Also when it finished capturing the image it went to this 0_1543933655174_0d660f83-11f6-4af7-91b9-34798548cb7a-image.png

          It did not successfully capture the image after that.

          G 1 Reply Last reply Dec 4, 2018, 2:42 PM Reply Quote 0
          • G
            george1421 Moderator @lschnider
            last edited by george1421 Dec 4, 2018, 8:36 AM Dec 4, 2018, 2:35 PM

            @lschnider

            systemctl disable firewalld
            systemctl stop firewalld
            

            Then check the status of selinux

            sestatus
            

            SELinux status: should be set to permissive.

            Edit: For your new post, we need to see the error at the top (just off the top edge if the screen)

            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 Dec 5, 2018, 8:00 PM Reply Quote 0
            • L
              lschnider
              last edited by Dec 4, 2018, 2:36 PM

              
              [root@localhost cmc_it]# sestatus
              SELinux status:                 enabled
              SELinuxfs mount:                /sys/fs/selinux
              SELinux root directory:         /etc/selinux
              Loaded policy name:             targeted
              Current mode:                   permissive
              Mode from config file:          permissive
              Policy MLS status:              enabled
              Policy deny_unknown status:     allowed
              Max kernel policy version:      31
              
              
              G 2 Replies Last reply Dec 4, 2018, 2:38 PM Reply Quote 0
              • G
                george1421 Moderator @lschnider
                last edited by Dec 4, 2018, 2:38 PM

                @lschnider You will still have an issue. You did not follow the prerequisites for installing FOG.

                Now you need to edit /etc/selinux/config
                In that file edit
                SELINUX=enforcing
                to read
                SELINUX=permissive

                reboot 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!

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator @lschnider
                  last edited by george1421 Dec 4, 2018, 8:39 AM Dec 4, 2018, 2:39 PM

                  @lschnider scratch that, it is set to permissive. I did not read well enough.

                  OK we need to see the error that is just off the top of the screen in your previous picture.

                  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
                  • G
                    george1421 Moderator @lschnider
                    last edited by Dec 4, 2018, 2:42 PM

                    @lschnider Also I’ve seen that date.timezone warning message before. I don’t know if that is something new with 1.5.5 or not. Can you confirm that this FOG setting is correct for your timezone: FOG Configuration->FOG Settings->General Settings->TZ INFO

                    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 Dec 4, 2018, 2:45 PM Reply Quote 1
                    • L
                      lschnider
                      last edited by Dec 4, 2018, 2:42 PM

                      Well maybe this is a dumb question but how do you scroll up on that screen. I have been trying to but it wont let me.

                      G 1 Reply Last reply Dec 4, 2018, 2:45 PM Reply Quote 0
                      • L
                        lschnider @george1421
                        last edited by Dec 4, 2018, 2:45 PM

                        @george1421 The date/time was wrong. I fixed that, i will try to run the capture again.

                        G 1 Reply Last reply Dec 4, 2018, 2:46 PM Reply Quote 0
                        • G
                          george1421 Moderator @lschnider
                          last edited by Dec 4, 2018, 2:45 PM

                          @lschnider You can’t it a character mode terminal. If its scrolled off the top of the screen then its lost. Lets see if we can fix the TZ issue so those warning messages will go away.

                          Let me ask you have you messed with / changed the password for the FOG linux service account called fog? This is not the default webui admin called fog this is the linux user called fog? If you changed this account I might expect this error message at this point in the capture process.

                          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 Dec 4, 2018, 2:47 PM Reply Quote 0
                          • G
                            george1421 Moderator @lschnider
                            last edited by Dec 4, 2018, 2:46 PM

                            @lschnider said in Could not mount images folder Error:

                            @george1421 The date/time was wrong. I fixed that, i will try to run the capture again.

                            You may need to reboot the fog server for that setting to get installed.

                            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
                            • L
                              lschnider @george1421
                              last edited by Dec 4, 2018, 2:47 PM

                              @george1421 no i dont believe i have. Is there a way to tell if the password is like it should be?

                              G 1 Reply Last reply Dec 4, 2018, 2:50 PM Reply Quote 0
                              • G
                                george1421 Moderator @lschnider
                                last edited by george1421 Dec 4, 2018, 8:50 AM Dec 4, 2018, 2:50 PM

                                @lschnider There is a hidden file /opt/fog/.fogsettings The linux user account for fog is listed in there.

                                Test from a windows computer, ftp to the fog server. Login as fog and the long password from the .fogsettings file. If that works then we need to look at the configuration.

                                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 Dec 4, 2018, 3:04 PM Reply Quote 0
                                • L
                                  lschnider @george1421
                                  last edited by Dec 4, 2018, 3:04 PM

                                  @george1421 okay i tried to ftp and it says 0_1543935762843_97cef566-ff9f-4f69-910e-f727cf7a0e0a-image.png

                                  I will try to get a picture of that error you asked about earlier.

                                  G 1 Reply Last reply Dec 4, 2018, 3:12 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @lschnider
                                    last edited by Dec 4, 2018, 3:12 PM

                                    @lschnider OK just to confirm you used the value from the password field from the .fogsettings file? If so I have a tutorial on how to resync the fog service account here:
                                    https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

                                    Run through that tutorial to ensure everything is reset correctly.

                                    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 Dec 4, 2018, 4:03 PM Reply Quote 0
                                    • L
                                      lschnider @george1421
                                      last edited by lschnider Dec 4, 2018, 10:05 AM Dec 4, 2018, 4:03 PM

                                      @george1421 Okay i followed your tutorial and made sure everything was done correctly. Now i am able to capture an image with no problem but im getting a different error when trying to deploy an image. 0_1543938417518_8459597580356331004.jpg

                                      I have tried two different hard drives, and the second one was a blank 500gb ssd. Both hard drives said the exact same free space.

                                      G 1 Reply Last reply Dec 4, 2018, 4:10 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @lschnider
                                        last edited by Dec 4, 2018, 4:10 PM

                                        @lschnider Well that’s an error I haven’t seen before.

                                        can you confirm that this file exists on the fog server. /images/Windows_Basic_Test/d1p2.img

                                        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 3 Replies Last reply Dec 4, 2018, 4:50 PM Reply Quote 0
                                        • L
                                          lschnider @george1421
                                          last edited by Dec 4, 2018, 4:50 PM

                                          @george1421 How would i go about browsing to that folder. /images isnt showing anywhere.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            14/35
                                            Last post

                                          160

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project