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

Activity dashboard

Scheduled Pinned Locked Moved Solved
Bug Reports
3
20
3.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.
  • W
    Wayne Workman @theWizard
    last edited by Nov 7, 2016, 3:55 PM

    @theWizard I think this is related to a timeout issue. I don’t fully understand it yet but here is a thread I created that I think could be the same issue as yours:

    https://forums.fogproject.org/topic/8912/bandwidth-chart-not-reporting

    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
    • T
      Tom Elliott
      last edited by Nov 7, 2016, 3:56 PM

      Repull and try again?

      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

      T 1 Reply Last reply Nov 7, 2016, 4:09 PM Reply Quote 0
      • T
        theWizard @Tom Elliott
        last edited by Nov 7, 2016, 4:09 PM

        @Tom-Elliott
        Dashboard is back and working ok, picture i posted is still relevant tho not sure why it says no data returned.

        T 1 Reply Last reply Nov 7, 2016, 4:10 PM Reply Quote 0
        • T
          Tom Elliott @theWizard
          last edited by Tom Elliott Nov 7, 2016, 10:10 AM Nov 7, 2016, 4:10 PM

          @theWizard Could be two reasons.

          Node’s aren’t updated to the latest (a bit changed in how we get data).

          Node’s cannot communicate to the DB (unlikely if they worked in the past).

          That’s about it.

          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

          T 1 Reply Last reply Nov 7, 2016, 4:11 PM Reply Quote 0
          • T
            theWizard @Tom Elliott
            last edited by Nov 7, 2016, 4:11 PM

            @Tom-Elliott
            Two nodes are the same rc version as server the rest are not, yep they worked fine previously.

            T 1 Reply Last reply Nov 7, 2016, 4:49 PM Reply Quote 0
            • T
              Tom Elliott @theWizard
              last edited by Nov 7, 2016, 4:49 PM

              @theWizard Please try updating all nodes to the most recent version?

              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
              • T
                Tom Elliott
                last edited by Nov 7, 2016, 5:13 PM

                0_1478538745404_dashboardbandwidth.png

                This is what I’m seeing just so people don’t think I’m crazy. Both of my nodes (as well as the GUI server) are on the same version. This was the case for RC-20 since first through the latest released and is also the case for what I’m working on currently (working-RC-21).

                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
                • T
                  Tom Elliott
                  last edited by Nov 7, 2016, 5:17 PM

                  Oh and my nodes (the two you see there) ARE on the latest RC-20. – SVN 6011.

                  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

                  T 1 Reply Last reply Nov 8, 2016, 9:13 AM Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Nov 7, 2016, 6:54 PM

                    For the RC-21 I’ve added the schema updates to enable the ability for the user to select what an appropriate timeout value can be.

                    There’s now three settings.

                    FOG_URL_AVAILABLE_TIMEOUT. This is a definition set in milliseconds (thousandths of a second). This is the timeout to wait to see if a URL is available or not. The reason milliseconds is used here is because it should not take an incredibly long time to get a response, unless your network is extremely bogged down. It is defaulted to 500ms.

                    FOG_URL_BASE_CONNECT_TIMEOUT. This is the definition set in seconds. This is the connection timeout for “regular” checks. It could use the “Available_timeout” as well, but for more clarity I have set this to a “seconds” based with a default of 15. This just ensures we have the link and can establish the startup of the item it’s to process.

                    FOG_URL_BASE_TIMEOUT. This is the definition set in seconds. This is the actual timeout of the link doing stuff. Because of it’s methodology, it has a much longer value. It is defaulted to 86400 seconds or the equivalent of 1 day.

                    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
                    • T
                      theWizard @Tom Elliott
                      last edited by Nov 8, 2016, 9:13 AM

                      @Tom-Elliott
                      Ijust updated server and all nodes to latest RC21 6014 but still nothing.

                      0_1478596398374_upload-d1a15f2e-4e25-49cb-897b-87d51e88e1e5

                      T 1 Reply Last reply Nov 8, 2016, 11:29 AM Reply Quote 0
                      • T
                        Tom Elliott @theWizard
                        last edited by Nov 8, 2016, 11:29 AM

                        @theWizard Mind running a few tests to see why those nodes are seeing “A valid database connection could not be made”?

                        On the main server (the one that gives you the GUI without issue):
                        Can you ensure the bind-address is commented in the /etc/mysql/my.cnf (or whatever file it is)?

                        To find the file run:

                        sudo -i #enter password for user when prompted.
                        cd /etc/mysql
                        grep -rl 'bind-address' .
                        

                        The grep command will show you any file that contains the phrase. Open any/all of them and search for bind-address. If the line it’s running on is started with a # or it shows up before the bind-address text it is already commented. If it’s not commented already add the # to the start of the line, save the file and restart the mysql service.

                        Please also check ufw is disabled with ufw disable. (For now it’s simplest to just start with that. If you want to enable UFW protections let us know and we can try to give you the ports you need to allow. (I doubt it’s related to UFW because you’d probably be having a hard time connecting to the GUI to begin with.)

                        One the nodes (one at a time of course).

                        Validate the /var/www/fog is a symlink to /var/www/html/fog by running:
                        ls -lh /var/www/
                        If it is a link already it will probably display something along the lines of:

                        lrwxrwxrwx 1 root root    18 Jul    8 15:30 fog -> /var/www/html/fog
                        

                        If it doesn’t have the -> displayed, it will likely look as:

                        drwxr-xr-x 1 root root    18 Jul 4.0k 15:30 fog
                        

                        If it doesn’t have the link, please run:

                        (You may want to run the same checks above on the main server too.)

                        # Removes the fog gui folders.
                        rm -rf /var/www/{html/,}fog
                        
                        # Ensures we don't copy older files back accidentally.
                        rm -rf /home/*.BACKUP
                        

                        Rerun the installer and things should cleanup a bit better.

                        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

                        T 1 Reply Last reply Nov 8, 2016, 2:45 PM Reply Quote 0
                        • T
                          theWizard @Tom Elliott
                          last edited by Nov 8, 2016, 2:45 PM

                          @Tom-Elliott
                          Thanks followed your instructions, the directory was not symlinked on server but even after and checking again i still have same results nothing has changed.

                          T 1 Reply Last reply Nov 8, 2016, 2:47 PM Reply Quote 0
                          • T
                            Tom Elliott @theWizard
                            last edited by Nov 8, 2016, 2:47 PM

                            @theWizard From the nodes, can you open the /opt/fog/.fogsettings file.

                            Get the snmysqluser and snmysqlpass (I’m guessing they’re set to fogstorage?) variables.

                            From a terminal on one (or all of the nodes if you’d like) run:

                            mysql -u'<snmysqluser>' -p'<snmysqlpass>' -h'fogserver' fog

                            It should connect, if it doesn’t then we need to see why.

                            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

                            T 1 Reply Last reply Nov 8, 2016, 2:58 PM Reply Quote 0
                            • T
                              theWizard @Tom Elliott
                              last edited by Nov 8, 2016, 2:58 PM

                              @Tom-Elliott
                              Your on to something i get access denied

                              T 1 Reply Last reply Nov 8, 2016, 3:36 PM Reply Quote 0
                              • T
                                theWizard @theWizard
                                last edited by Nov 8, 2016, 3:36 PM

                                @theWizard
                                Ok for some strange reason the user that was setup in mysql for the nodes to connect to the database has gone without a trace so makes sense they were not able to connect, i added the user back in using workbench and all seems to be ok again.

                                @Tom-Elliott Thank you for your patience and suggestions getting me on the right track, you can mark this one as a non issue.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Nov 8, 2016, 4:03 PM

                                  So all is working properly after checking those things and making the correct changes where required?

                                  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

                                  T 1 Reply Last reply Nov 9, 2016, 2:33 PM Reply Quote 0
                                  • T
                                    theWizard @Tom Elliott
                                    last edited by Nov 9, 2016, 2:33 PM

                                    @Tom-Elliott
                                    Yep i ran through your instructions and made any relevant changes but the thing that fixed it was adding the user back to mysql, not sure why it disappeared though.

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

                                    216

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project