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

    Solved Cant image from FOG Nodes?

    FOG Problems
    5
    52
    9194
    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.
    • Wayne Workman
      Wayne Workman @cojohnson last edited by

      @cojohnson Can you check the space on the main server, please? df -h

      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/

      C 1 Reply Last reply Reply Quote 0
      • C
        cojohnson @Tom Elliott last edited by

        @Tom-Elliott I ran this command on the server and one node and i had an error on both saying
        Error 2003 Cant connect to MySQL server. Do you have any more ideas?

        Wayne Workman 1 Reply Last reply Reply Quote 0
        • C
          cojohnson @Tom Elliott last edited by cojohnson

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

            @Tom-Elliott Thank You for the explanation. It is greatly appreciated!

            I will try this command on Tuesday when I am back in the office.

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

              @cojohnson if you’re doing inline password passing, the mysql command needs the password directly next to the -p argument
              so you would need to do:
              sudo mysql -u fogstorage -pfs18692474601 -h10.21.0.105 fog

              The trailing fog of the command brings you directly into the fog database.

              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

              C 3 Replies Last reply Reply Quote 0
              • C
                cojohnson @Tom Elliott last edited by

                @Tom-Elliott
                I am having troubles with this command…

                0_1470426791185_IMG_1191[1].JPG

                0_1470426826030_IMG_1193[1].JPG

                0_1470426840072_IMG_1194[1].JPG

                What is “fog” used for in the last part of the command and what password should i enter if i am prompted again like my last photo.

                Sorry for being uneducated.

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

                  @cojohnson If you can login to the gui, the FOG Storage Node mysql user and password will be found at:

                  FOG Configuration Page->FOG Settings->FOG Storage Nodes

                  However, you should test connecting by cli once you know the information.

                  Something along the lines of:

                  mysql -u fogstorage -p -h<IPOFFOGSERVER> fog
                  

                  Use the fogstorage user’s password.

                  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

                  C 1 Reply Last reply Reply Quote 1
                  • C
                    cojohnson @Tom Elliott last edited by

                    @Tom-Elliott is there a config file i can check to verify the mysql username is “fogstorage” and the password is set proper?

                    Tom Elliott 1 Reply Last reply Reply Quote 0
                    • C
                      cojohnson @Tom Elliott last edited by

                      @Tom-Elliott I did update all nodes to RC-5 and only 1 node and the server to RC-6

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

                        @cojohnson Did you update all nodes?

                        Line endings have nothing to do with the error you’re seeing. From the sounds of things, the node’s simply cannot connect to the mysql server (which should be the Main 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! 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

                        C 2 Replies Last reply Reply Quote 0
                        • C
                          cojohnson last edited by cojohnson

                          I just upgraded the FOG server to RC-6. I looked at ALL of my nodes immediately after upgrading the server and they are not happy… they are saying “FOGService: FOGService- Waiting on mysql to become available”

                          What might be causing this?

                          Tom Elliott 1 Reply Last reply Reply Quote 0
                          • Q
                            Quazz Moderator @cojohnson last edited by Quazz

                            @cojohnson Should be fixed in RC6. They patched RC6 to resolve the issue, so it’s safe to update.

                            1 Reply Last reply Reply Quote 0
                            • C
                              cojohnson @Tom Elliott last edited by

                              @Tom-Elliott
                              are the line ending problems fixed in RC-6 or will it be in the next release?

                              Q 1 Reply Last reply Reply Quote 0
                              • Tom Elliott
                                Tom Elliott @Wayne Workman last edited by

                                @Wayne-Workman They’re already fixed.

                                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

                                C 1 Reply Last reply Reply Quote 1
                                • Wayne Workman
                                  Wayne Workman @cojohnson last edited by

                                  @cojohnson said in Cant image from FOG Nodes?:

                                  Should I upgrade to RC-6

                                  No. Not right now, there’s line ending problems. Wait on it until things are fixed.

                                  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/

                                  Tom Elliott 1 Reply Last reply Reply Quote 0
                                  • C
                                    cojohnson @Tom Elliott last edited by cojohnson

                                    @Tom-Elliott @Wayne-Workman Thanks for looking into this. I manage 2 school district which is why i was trying to implement 2 locations. “default” being the main district and “GREEN” being the second district.
                                    Originally, The goal was to set up a server to be hosted on site at GREEN but that never happened. Consequently, we do all of the imaging from our building and I currently have all of the “GREEN” images also assign to the “default” storage group.
                                    I do all of the imaging currently at our building.

                                    I set the master to handle clients so I can image for now. This is sufficient for the moment.

                                    Should I upgrade to RC-6

                                    Wayne Workman 1 Reply Last reply Reply Quote 0
                                    • Tom Elliott
                                      Tom Elliott @Wayne Workman last edited by

                                      @Wayne-Workman The last part was a partial bug in the location plugin. It would allow a user to change the group of a node, rather than ensuring the node’s group defined the group the location was pointing it. It would also allow the user to remove the storage group AND storage node. At the least it should’ve halted editing the removal of group. Those two fixes are in RC-6 now.

                                      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

                                      C 1 Reply Last reply Reply Quote 2
                                      • Wayne Workman
                                        Wayne Workman @Tom Elliott last edited by

                                        @Tom-Elliott So, below he says if he sets the node to something besides 0 that things image.

                                        But, what I’d like is screenshots taken all at once of location management listing and storage management node listing. No changes between the pictures.

                                        And, I’d like a detailed explanation of what the OP even wants to do.

                                        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/

                                        Tom Elliott 1 Reply Last reply Reply Quote 0
                                        • Tom Elliott
                                          Tom Elliott @Wayne Workman last edited by

                                          @Wayne-Workman I think this is absolutely what’s happening.

                                          The task queue is seeing 0 before that host, but since there are 0 available slots, it will NEVER make it that far. At least not for that particular node.

                                          Remember, the location definitions are based on Group and Group/Node pairings. Do you have a second storage group named “Green”? Is there a second node that uses “Green” but is named DefaultMember?

                                          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 Workman 1 Reply Last reply Reply Quote 0
                                          • Wayne Workman
                                            Wayne Workman last edited by Wayne Workman

                                            I’m just now reading through this thread, it’s good you updated to RC-5.

                                            The way I’m reading the OP,

                                            You have one node called “DefaultMember”, in an earlier picture from Location Management, it’s listed twice, with two different locations and two different storage groups. In a later picture from Storage Management, I only see one storage group, “default”.

                                            Another thing to note is that “DefaultMember” 's max clients is set to 0 in a picture above. This would mean it would not image anything at all, because max clients is zero.

                                            Maybe it’s best to explain what you’re trying to accomplish first?

                                            Also, you may find this article and the video in it highly helpful:
                                            https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

                                            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/

                                            Tom Elliott 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            156
                                            Online

                                            10.4k
                                            Users

                                            16.4k
                                            Topics

                                            150.5k
                                            Posts

                                            Copyright © 2012-2023 FOG Project