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

    RC10 Broken Items on upgrade

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    146
    96.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.
    • Tom ElliottT
      Tom Elliott @adukes40
      last edited by

      @adukes40 The RC working is done purely through git as branching is greatly simplified. So svn up will not work in your case.

      I dont know the os fog is running on but it normally is found in /etc/my.cnf or /etc/mysql/my.cnf but your location might vary.

      I’d say start by setting max_connections to 300. Once you make the change you will have to restart the MySQL service.

      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

      adukes40A 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @adukes40
        last edited by

        @adukes40, I only know how with git. Message me and I’ll give you the commands.

        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
        • adukes40A
          adukes40 @Tom Elliott
          last edited by

          @Tom-Elliott Before I read this I found the my.cnf file. It currently shows:

          #max_connections = 100

          Do I also need to remove the # sign?

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

            @adukes40 yes the Linux class you’re taking probably hasn’t told you yet, typically # in scripting means a comment so anything after that point will not be executed for that line.

            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

            adukes40A 1 Reply Last reply Reply Quote 0
            • adukes40A
              adukes40 @Tom Elliott
              last edited by

              @Tom-Elliott Ok, so max_connections is now set to 300
              when I type mysql it lets me in now. it was saying too many connections before. However the GUI is still the same. can’t load/slow. I haven’t updated yet though.

              1 Reply Last reply Reply Quote 0
              • adukes40A
                adukes40
                last edited by

                BTW its almost feels like the slowness when one of the remote nodes can’t contact the master, and causes it to load slower. except in this situation when I see the dashboard, it cannot see any of the remote sites. It shows then on the graph, but this is all I see.

                0_1473775084148_upload-179956b5-f99f-476d-b1f7-5f953f2e9284

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

                  @adukes40 to test your theory just disable graph enabled on all nodes. For now it’s likely faster to do this than to try testing potentially many other unknowns. Of course this could all be fixed in RC 11 already but I doubt it. There is minimal reliance on nodes being available or not though. It really only needs “access” to see if the node is available or not. This shouldn’t hurt anything but it may delay load up of dashboard page by two seconds per node that’s disabled. This is because I have to check twice if the page is available to generate my URL lists for bandwidth and client checks. I’ll rework it tonight to generate the list of URLs only once on initial load up of the page. This should help limit redundant checks and improve overall availability

                  If you can

                  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

                  adukes40A 1 Reply Last reply Reply Quote 0
                  • adukes40A
                    adukes40 @Tom Elliott
                    last edited by adukes40

                    @Tom-Elliott It is brutal, but I will try to disable the nodes first.Good news is that imaging actually works here at the master site. Takes a bit longer to get to the image part, but its actually makes it. Just anytime it needs to communicate to the DB it takes its sweet time.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • adukes40A
                      adukes40
                      last edited by

                      OK, all disabled except the master, but no change in performance.

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

                        @adukes40 graph disabled and node disabled are two different things. Graph disabled just doesn’t report disk usage or bandwidth usage. The node still operates fully.

                        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/

                        adukes40A 1 Reply Last reply Reply Quote 0
                        • adukes40A
                          adukes40 @Wayne Workman
                          last edited by

                          @Wayne-Workman All graphs are now disabled. Still having issues connecting to home page. and still looks like this:
                          0_1473778655093_upload-34313270-dee1-4467-88af-a386837090c4

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

                            @adukes40 check your cpu usage on your desktop when accessing the web interface. See how much power the browser is using.

                            Also, the output from top on the server when trying to access the dashboard would be useful.

                            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/

                            adukes40A 1 Reply Last reply Reply Quote 0
                            • adukes40A
                              adukes40 @Wayne Workman
                              last edited by

                              @Wayne-Workman Computer CPU - Chrome hit 02% max…

                              here is best I could get you from TOP

                              0_1473779649323_upload-d8145ae5-beb9-4cfc-9dac-4ab7f22b9e74

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

                                @adukes40 apache is working pretty hard. And I’m not positive but it looks like some of those apache processes have been running a long time. @Tom-Elliott @george1421?

                                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
                                • Tom ElliottT
                                  Tom Elliott @adukes40
                                  last edited by Tom Elliott

                                  @adukes40 said in RC10 Broken Items on upgrade:

                                  Can you reset all host encryption data? Do this from mysql cli

                                  Connect by:
                                  mysql -u root fog

                                  Run command
                                  update hosts set hostSecToc='';

                                  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

                                  adukes40A 1 Reply Last reply Reply Quote 0
                                  • adukes40A
                                    adukes40 @Tom Elliott
                                    last edited by

                                    @Tom-Elliott root@MSDCATS09:~# mysql -u fog
                                    ERROR 1045 (28000): Access denied for user ‘fog’@‘localhost’ (using password: NO)

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

                                      @adukes40 please see same post after edit sorry I forgot to add root for the -u arg

                                      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

                                      adukes40A 1 Reply Last reply Reply Quote 0
                                      • adukes40A
                                        adukes40 @Tom Elliott
                                        last edited by

                                        @Tom-Elliott mysql> update hosts set hostSecToc=‘’;
                                        ERROR 1054 (42S22): Unknown column ‘hostSecToc’ in ‘field list’

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

                                          @adukes40 can you get output of describe hosts \G

                                          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

                                          adukes40A 1 Reply Last reply Reply Quote 0
                                          • adukes40A
                                            adukes40 @Tom Elliott
                                            last edited by

                                            @Tom-Elliott mysql> describe hosts \G
                                            *************************** 1. row ***************************
                                            Field: hostID
                                            Type: int(11)
                                            Null: NO
                                            Key: PRI
                                            Default: NULL
                                            Extra: auto_increment
                                            *************************** 2. row ***************************
                                            Field: hostName
                                            Type: varchar(16)
                                            Null: NO
                                            Key: UNI
                                            Default: NULL
                                            Extra:
                                            *************************** 3. row ***************************
                                            Field: hostDesc
                                            Type: longtext
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 4. row ***************************
                                            Field: hostIP
                                            Type: varchar(25)
                                            Null: NO
                                            Key: MUL
                                            Default: NULL
                                            Extra:
                                            *************************** 5. row ***************************
                                            Field: hostImage
                                            Type: int(11)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 6. row ***************************
                                            Field: hostBuilding
                                            Type: int(11)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 7. row ***************************
                                            Field: hostCreateDate
                                            Type: timestamp
                                            Null: NO
                                            Key:
                                            Default: CURRENT_TIMESTAMP
                                            Extra:
                                            *************************** 8. row ***************************
                                            Field: hostLastDeploy
                                            Type: datetime
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 9. row ***************************
                                            Field: hostCreateBy
                                            Type: varchar(50)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 10. row ***************************
                                            Field: hostUseAD
                                            Type: char(1)
                                            Null: NO
                                            Key: MUL
                                            Default: NULL
                                            Extra:
                                            *************************** 11. row ***************************
                                            Field: hostADDomain
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 12. row ***************************
                                            Field: hostADOU
                                            Type: longtext
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 13. row ***************************
                                            Field: hostADUser
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 14. row ***************************
                                            Field: hostADPass
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 15. row ***************************
                                            Field: hostADPassLegacy
                                            Type: longtext
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 16. row ***************************
                                            Field: hostProductKey
                                            Type: longtext
                                            Null: YES
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 17. row ***************************
                                            Field: hostPrinterLevel
                                            Type: varchar(2)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 18. row ***************************
                                            Field: hostKernelArgs
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 19. row ***************************
                                            Field: hostKernel
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 20. row ***************************
                                            Field: hostDevice
                                            Type: varchar(250)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 21. row ***************************
                                            Field: hostInit
                                            Type: longtext
                                            Null: YES
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 22. row ***************************
                                            Field: hostPending
                                            Type: enum(‘0’,‘1’)
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 23. row ***************************
                                            Field: hostPubKey
                                            Type: longtext
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 24. row ***************************
                                            Field: hostSecToken
                                            Type: longtext
                                            Null: NO
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 25. row ***************************
                                            Field: hostSecTime
                                            Type: timestamp
                                            Null: NO
                                            Key:
                                            Default: 0000-00-00 00:00:00
                                            Extra:
                                            *************************** 26. row ***************************
                                            Field: hostPingCode
                                            Type: varchar(20)
                                            Null: YES
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 27. row ***************************
                                            Field: hostExitBios
                                            Type: longtext
                                            Null: YES
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 28. row ***************************
                                            Field: hostExitEfi
                                            Type: longtext
                                            Null: YES
                                            Key:
                                            Default: NULL
                                            Extra:
                                            *************************** 29. row ***************************
                                            Field: hostEnforce
                                            Type: enum(‘0’,‘1’)
                                            Null: NO
                                            Key:
                                            Default: 1
                                            Extra:
                                            29 rows in set (0.00 sec)

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post

                                            256

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project