• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • C
    cojohnson @Tom Elliott
    last edited by Aug 5, 2016, 6:27 PM

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

    T 1 Reply Last reply Aug 5, 2016, 6:32 PM Reply Quote 0
    • T
      Tom Elliott @cojohnson
      last edited by Aug 5, 2016, 6:32 PM

      @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 Aug 5, 2016, 7:56 PM Reply Quote 1
      • C
        cojohnson @Tom Elliott
        last edited by Aug 5, 2016, 7:56 PM

        @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.

        T 1 Reply Last reply Aug 5, 2016, 8:18 PM Reply Quote 0
        • T
          Tom Elliott @cojohnson
          last edited by Aug 5, 2016, 8:18 PM

          @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 Aug 5, 2016, 9:57 PM Reply Quote 0
          • C
            cojohnson @Tom Elliott
            last edited by Aug 5, 2016, 9:57 PM

            @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 Aug 9, 2016, 5:22 AM Aug 9, 2016, 11:14 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • C
                cojohnson @Tom Elliott
                last edited by Aug 9, 2016, 6:26 PM

                @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?

                W 1 Reply Last reply Aug 9, 2016, 8:02 PM Reply Quote 0
                • W
                  Wayne Workman @cojohnson
                  last edited by Aug 9, 2016, 8:02 PM

                  @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 Aug 9, 2016, 8:17 PM Reply Quote 0
                  • C
                    cojohnson @Wayne Workman
                    last edited by Aug 9, 2016, 8:17 PM

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

                    T 1 Reply Last reply Aug 9, 2016, 8:28 PM Reply Quote 0
                    • T
                      Tom Elliott @cojohnson
                      last edited by Aug 9, 2016, 8:28 PM

                      @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 Aug 11, 2016, 11:48 AM Reply Quote 0
                      • C
                        cojohnson @Tom Elliott
                        last edited by Aug 11, 2016, 11:48 AM

                        @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

                        T W 2 Replies Last reply Aug 11, 2016, 11:49 AM Reply Quote 0
                        • T
                          Tom Elliott @cojohnson
                          last edited by Aug 11, 2016, 11:49 AM

                          @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
                          • W
                            Wayne Workman @cojohnson
                            last edited by Aug 11, 2016, 12:20 PM

                            @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 Aug 11, 2016, 8:02 PM Reply Quote 0
                            • C
                              cojohnson @Wayne Workman
                              last edited by cojohnson Aug 11, 2016, 2:09 PM Aug 11, 2016, 8:02 PM

                              @Wayne-Workman @Tom-Elliott
                              I just updated the server to RC-8.

                              I did a search on the server for the MAC address and hostname and did not find anything in the registered or pending hosts.

                              I noticed that the entire server seems to be running REALLY Slow since the storage nodes stopped working! Below is my Apache Error Log. (I dont know if this will help or not?)

                              Is there some other file I should look at?

                              [Thu Aug 11 15:49:51.300631 2016] [:error] [pid 7030] [client 10.21.4.17:50770] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1068, referer: http://10.21.0.105/fog/management/index.php?node=host&sub=import
                              [Thu Aug 11 15:49:51.300649 2016] [:error] [pid 7030] [client 10.21.4.17:50770] PHP Warning: array_walk() expects parameter 1 to be array, null given in /var/www/html/fog/lib/fog/fogpage.class.php on line 1072, referer: http://10.21.0.105/fog/management/index.php?node=host&sub=import
                              [Thu Aug 11 15:49:51.300668 2016] [:error] [pid 7030] [client 10.21.4.17:50770] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/fog/fogpage.class.php on line 1076, referer: http://10.21.0.105/fog/management/index.php?node=host&sub=import
                              [Thu Aug 11 15:50:02.909384 2016] [evasive20:error] [pid 7042] [client 10.21.0.105:52004] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:02.990889 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:52022] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:03.784190 2016] [evasive20:error] [pid 7185] [client 10.21.0.105:52136] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:05.865760 2016] [evasive20:error] [pid 7180] [client 10.21.0.105:52448] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:06.954345 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:52632] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:07.238660 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:52674] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:08.319016 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:52720] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:13.857891 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53028] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:14.376577 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53094] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:14.893009 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53162] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:17.093430 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53226] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:20.250637 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53294] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:25.073131 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53482] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:31.090738 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53650] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:33.173944 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53714] client denied by server configuration: /var/www/html/fog/management/index.php
                              [Thu Aug 11 15:50:35.076279 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53784] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              [Thu Aug 11 15:50:38.127284 2016] [evasive20:error] [pid 7192] [client 10.21.0.105:53856] client denied by server configuration: /var/www/html/fog/status/bandwidth.php
                              
                              W 1 Reply Last reply Aug 11, 2016, 8:11 PM Reply Quote 0
                              • W
                                Wayne Workman @cojohnson
                                last edited by Aug 11, 2016, 8:11 PM

                                @cojohnson said in Cant image from FOG Nodes?:

                                I noticed that the entire server seems to be running REALLY Slow since the storage nodes stopped working!

                                Did you update the nodes, too? They have to all match.

                                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 Aug 11, 2016, 8:11 PM

                                  Remove mod_evasive (or libapache2-mod-evasive)

                                  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 Aug 12, 2016, 11:01 AM Reply Quote 2
                                  • C
                                    cojohnson @Tom Elliott
                                    last edited by cojohnson Aug 12, 2016, 6:25 AM Aug 12, 2016, 11:01 AM

                                    @Wayne-Workman @Tom-Elliott

                                    OK. I did not think RC-8 would matter on the nodes since it is not running the database?
                                    But I upgraded anyways!!! 🙂

                                    I am still getting the same error

                                    0_1471004601648_Registration.png

                                    Would it be easier to just rebuild the FOG Server / nodes from scratch? or should we continue to troubleshoot?

                                    W 1 Reply Last reply Aug 12, 2016, 12:26 PM Reply Quote 0
                                    • W
                                      Wayne Workman @cojohnson
                                      last edited by Aug 12, 2016, 12:26 PM

                                      @cojohnson Rebuilding them would mean they would be on the same version. Why not just put them on the same version? They have to be on the same version, and remove the mod_evasive (or libapache2-mod-evasive) as Tom asked on them all. This is way easier than rebuilding servers.

                                      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 Aug 12, 2016, 3:25 PM Reply Quote 0
                                      • C
                                        cojohnson @Wayne Workman
                                        last edited by Aug 12, 2016, 3:25 PM

                                        @Wayne-Workman OK.

                                        I have the server and all of the nodes up to RC-8 and i ran “sudo apt-get remove libapache2-mod-evasive” on all as well.

                                        I agree this is way easier than rebuilding! However, the issue persists.

                                        Where does the host database reside and is there a way to wipe it clean and reimport my hosts? If you think that would be a possible solution… or something else?

                                        W 1 Reply Last reply Aug 12, 2016, 4:28 PM Reply Quote 0
                                        • W
                                          Wayne Workman @cojohnson
                                          last edited by Aug 12, 2016, 4:28 PM

                                          @cojohnson Can we get an update on the errors you’re getting? Is there still slowness? Can you check the apache error logs?

                                          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 Aug 12, 2016, 5:43 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            35/52
                                            Last post

                                          220

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project