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

    Cant image from FOG Nodes?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    52
    14.6k
    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 WorkmanW
      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 ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        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
        • 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
          • 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
              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 ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                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 @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
                  • 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 ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      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
                        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 ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          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 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
                            • 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 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 WorkmanW 1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  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 @Wayne Workman
                                    last edited by

                                    @Wayne-Workman 0_1470773835667_Screenshot from 2016-08-09 16:12:42.png

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

                                      @cojohnson This is most likely because of Ubuntu/Debian variant OS’s.

                                      They typically have a default mysql configuration that only allows connections from the localhost (127.0.0.1, localhost, 127.0.1.1, localdomain, etc…)

                                      Do this:

                                      sudo -i #insert password if prompted to
                                      cd /etc
                                      grep -rl -- bind-address
                                      

                                      The file that shows up (any of them please), edit them and comment (usually prepend the line before the text on that line displays with a # symbol).

                                      Save, restart mysql services. Rejoice as the nodes start being able to connect (hopefully that is).

                                      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 0
                                      • C
                                        cojohnson @Tom Elliott
                                        last edited by

                                        @Tom-Elliott
                                        I ran that “grep -rl – bind address” command. it found a file /etc/mysql/my.cnf
                                        I used vi to comment out the line that included “-- bind address”
                                        That fixed the imaging from the nodes issue.
                                        I tested this from a hyper-v host.

                                        On Tuesday, i noticed a new problem when i network boot my devices. They are ALL saying that the hosts are not registered with FOG. I try to register them and recieve output saying “A hostname with that name already exists”. It will give me this error no matter what hostname I type.

                                        0_1470916005469_Registration.png

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

                                          @cojohnson Does the host already exist? Can you update to 1.3.0-RC-8 too btw please?

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

                                            @cojohnson said in Cant image from FOG Nodes?:

                                            hey are ALL saying that the hosts are not registered with FOG. I try to register them and recieve output saying “A hostname with that name already exists”.

                                            Are the hosts pending?

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            244

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project