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

    Server information error?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    9
    558
    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.
    • K
      Karrade
      last edited by

      I was also changing httpd settings and restarted it and php-fpm and I noticed that on the dashboard now under storage node disk usage it has no graph and says 0.00iB. Even if I set settings back to default and restart the web server (httpd/php-fpm) it still shows the same thing

      alt text
      alt text

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

        Please try:
        setenforce 0

        Refresh the page.

        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

        K 1 Reply Last reply Reply Quote 0
        • K
          Karrade
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • K
            Karrade @Tom Elliott
            last edited by

            @Tom-Elliott SELinux is already set to Permissive so it just gives warnings.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @Karrade said in Server information error?:

              I was also changing httpd settings and restarted it and php-fpm

              What exactly did you change?

              Check the logs and post here (see my signature…).

              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

              K 1 Reply Last reply Reply Quote 0
              • K
                Karrade @Sebastian Roth
                last edited by Karrade

                @Sebastian-Roth I figured it out. I tried to lock down the web-server a bit, and I assumed FOG didn’t use anything like curl_exec since it’s not listed on the wiki anywhere but it does so things like disable_functions=curl_exec,curl_multi_exec caused it to not load any information from the server at all as far as stats go.

                Hopefully whenever 2.0 is released it will go a ways towards letting us be more secure with our FOG deployments because FOG really is a godsend.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @Karrade said in Server information error?:

                  Hopefully whenever 2.0 is released it will go a ways towards letting us be more secure with our FOG deployments because FOG really is a godsend.

                  We’ll definitely work towards more security in FOG 2.0 but don’t see why CURL calls should be omitted altogether. Why do you think they are dangerous? Sure they can be if input is not validated. But there are many more function just the same.

                  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

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

                    @Sebastian-Roth In particular, pdodb, mysql, ftp, etc… Can be FAR more damaging and dangerous especially if input is not validated.

                    What makes these curl calls “inherently dangerous?” What makes them insecure? How do you expect systems to cross-communicate with one another if the mechanisms available are not enabled in your environment?

                    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
                    • K
                      Karrade
                      last edited by Karrade

                      Curl calls in themselves aren’t inherently insecure to my knowledge, they can be without validated input like you said. I just go with the practice of turning features off for securities sake rather than leaving it all on and running on default settings unless something we use needs to use it in which case I don’t mind turning it on unless there’s a huge security risk attached.

                      TL;DR I just try to keep my systems locked down until areas need to be enabled for programs, instead of leaving everything default.

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

                      141

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project