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

    CentOS 6 GUI login loop.

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    4
    20
    7.2k
    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.
    • ThiagoT
      Thiago @ManofValor
      last edited by

      @ManofValor
      Try logging into text mode with root account. when this happens to me, I can only log in with the root account and locally, because root login with ssh is disabled in our environment.

      1 Reply Last reply Reply Quote 1
      • ManofValorM
        ManofValor @Wayne Workman
        last edited by

        @Wayne-Workman

        I think turning the NAS back on will have fixed the disk space issue cause I haven’t done but a couple images since I got it going. Here is the df output.

        [root@localhost fogadmin]# df
        Filesystem                      1K-blocks      Used  Available Use% Mounted on
        /dev/mapper/centos00-root00      20535120  20389424          0 100% /
        devtmpfs                          1921780         0    1921780   0% /dev
        tmpfs                             1936948      2820    1934128   1% /dev/shm
        tmpfs                             1936948      9076    1927872   1% /run
        tmpfs                             1936948         0    1936948   0% /sys/fs/cgroup
        /dev/sda5                          991512    336764     587164  37% /boot
        /dev/mapper/fog-opt_fog_images  413199680 233741596  158445604  60% /opt
        /dev/sdb1                      8674999312  54524064 8183255204   1% /images
        tmpfs                              387392        12     387380   1% /run/user/42
        tmpfs 
        
        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @ManofValor
          last edited by

          @ManofValor Your root partition is 100% full. That’s the problem.

          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/

          ManofValorM 2 Replies Last reply Reply Quote 0
          • ManofValorM
            ManofValor @Wayne Workman
            last edited by

            @Wayne-Workman
            So I can’t login cause it’s full?

            ThiagoT 1 Reply Last reply Reply Quote 0
            • ManofValorM
              ManofValor @Wayne Workman
              last edited by

              @Wayne-Workman
              I don’t understand, I haven’t put anything on there to fill it up?

              1 Reply Last reply Reply Quote 0
              • ThiagoT
                Thiago @ManofValor
                last edited by

                @ManofValor because your /home is at the same place at your / and when you try to login, some files maybe touched and this prevent you to enter.

                1 Reply Last reply Reply Quote 0
                • ManofValorM
                  ManofValor
                  last edited by ManofValor

                  I ran this:

                  [root@localhost Downloads]# df  -ah --o
                  Filesystem                     Type            Inodes IUsed IFree IUse%  Size  Used Avail Use% File Mounted on
                  rootfs                         -                    -     -     -     -     -     -     -    - -    /
                  sysfs                          sysfs                0     0     0     -     0     0     0    - -    /sys
                  proc                           proc                 0     0     0     -     0     0     0    - -    /proc
                  devtmpfs                       devtmpfs          470K   494  469K    1%  1.9G     0  1.9G   0% -    /dev
                  securityfs                     securityfs           0     0     0     -     0     0     0    - -    /sys/kernel/security
                  tmpfs                          tmpfs             473K     6  473K    1%  1.9G  2.8M  1.9G   1% -    /dev/shm
                  devpts                         devpts               0     0     0     -     0     0     0    - -    /dev/pts
                  tmpfs                          tmpfs             473K   658  473K    1%  1.9G  8.9M  1.9G   1% -    /run
                  tmpfs                          tmpfs             473K    13  473K    1%  1.9G     0  1.9G   0% -    /sys/fs/cgroup
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/systemd
                  pstore                         pstore               0     0     0     -     0     0     0    - -    /sys/fs/pstore
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/cpu,cpuacct
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/net_cls
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/blkio
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/hugetlb
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/perf_event
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/devices
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/memory
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/cpuset
                  cgroup                         cgroup               0     0     0     -     0     0     0    - -    /sys/fs/cgroup/freezer
                  configfs                       configfs             0     0     0     -     0     0     0    - -    /sys/kernel/config
                  /dev/mapper/centos00-root00    ext4              1.3M  155K  1.2M   13%   20G   20G     0 100% -    /
                  systemd-1                      -                    -     -     -     -     -     -     -    - -    /proc/sys/fs/binfmt_misc
                  mqueue                         mqueue               0     0     0     -     0     0     0    - -    /dev/mqueue
                  debugfs                        debugfs              0     0     0     -     0     0     0    - -    /sys/kernel/debug
                  hugetlbfs                      hugetlbfs            0     0     0     -     0     0     0    - -    /dev/hugepages
                  sunrpc                         rpc_pipefs           0     0     0     -     0     0     0    - -    /var/lib/nfs/rpc_pipefs
                  nfsd                           nfsd                 0     0     0     -     0     0     0    - -    /proc/fs/nfsd
                  /dev/sda5                      ext4               63K   365   63K    1%  969M  329M  574M  37% -    /boot
                  /dev/mapper/fog-opt_fog_images ext4               26M  9.7K   26M    1%  395G  223G  152G  60% -    /opt
                  /dev/sdb1                      ext4              261M    29  261M    1%  8.1T   52G  7.7T   1% -    /opt/fog/images
                  /dev/sdb1                      ext4              261M    29  261M    1%  8.1T   52G  7.7T   1% -    /images
                  tmpfs                          tmpfs             473K    14  473K    1%  379M   12K  379M   1% -    /run/user/42
                  gvfsd-fuse                     fuse.gvfsd-fuse      0     0     0     -  0.0K  0.0K  0.0K    - -    /run/user/42/gvfs
                  fusectl                        fusectl              0     0     0     -     0     0     0    - -    /sys/fs/fuse/connections
                  tmpfs                          tmpfs             473K     1  473K    1%  379M     0  379M   0% -    /run/user/1000
                  binfmt_misc                    binfmt_misc          0     0     0     -     0     0     0    - -    /proc/sys/fs/binfmt_misc
                  
                  

                  What does it all mean and how do I know what to delete or rearrange?
                  How did it fill up when I didn’t do anything?

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

                    @ManofValor Seeing as /images (or whatever your relevant storage point is) is expected to be on the NAS, I’d recommend cleaning out the current storage location as it’s located on your main disk. You could just do something like:

                    Unmount the current NAS if it is already mounted with:

                    umount /images
                    

                    Then check the /images directory and remove any files in there. This is entirely up to you at this point, I’m giving you how to fix, make sure you don’t delete all your current NAS images.

                    rm -rf /images/*
                    

                    Then try to mount the nas.

                    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

                    Wayne WorkmanW ManofValorM 2 Replies Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman @Tom Elliott
                      last edited by Wayne Workman

                      @Tom-Elliott Very good thinking, Tom. If the NAS was off, mounting failed, and any images you captured would have gone straight onto the root partition. ESPECIALLY since I remember ManOfValor running the installer so many times before having the NAS correctly configured, the needed .mntcheck files and dev folder would absolutely be present, so any upload would go until space ran out.

                      @ManofValor Try Tom’s advice - but you must be careful, you MUST successfully unmount the /images directory for the NAS, and you SHOULD confirm and reconfirm that it unmounted correctly. Being new to linux, after this command I’d even suggest you turn the NAS off after unmounting. Then run the delete commands that Tom posted. Then run df -h to check free space. If the root partition is substantially free’d up, then hook everything back up, turn it on, give the server a reboot, and see if things work.

                      Tom’s commands would also ensure that uploading will never work without the NAS being properly mounted - unless of course you run the installer without the NAS being mounted, as the installer would re-create those needed files/folders for image capture on the root partition.

                      Let us know how it goes.

                      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/

                      ManofValorM 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        Also, the problem was found, but it’s not solved yet, so I marked the thread unsolved. I don’t want others to not bother reading & helping because they think it’s solved.

                        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
                        • ManofValorM
                          ManofValor @Wayne Workman
                          last edited by

                          @Wayne-Workman
                          Good morning,
                          Everything on the NAS is just tests, so if I don’t care what’s deleted then I don’t need to unmount, right?

                          Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @ManofValor
                            last edited by

                            @ManofValor You would still need to unmount, because the space is used by your main system. Simply removing all the data in the mounted partition will only free up space on the mount point.

                            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 2
                            • Wayne WorkmanW
                              Wayne Workman @ManofValor
                              last edited by

                              @ManofValor http://www.tldp.org/LDP/intro-linux/html/sect_03_01.html

                              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
                              • ManofValorM
                                ManofValor @Tom Elliott
                                last edited by

                                @Tom-Elliott
                                Ok, this thread is solved. After I deleted everything I was able to login. Thanks again guys.

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

                                116

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project