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

    Stuck on : "Ensuring node username and passwords match...."

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    15
    967
    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.
    • P
      plegrand @Sebastian Roth
      last edited by

      @Sebastian-Roth The FOG UI seems to work fine

      1 Reply Last reply Reply Quote 0
      • P
        plegrand @Sebastian Roth
        last edited by plegrand

        @Sebastian-Roth
        Is it safe t “re run” the installer to see exactly the good logs ?
        Is there other logs to watch except /var/log/apache2/error.log ?

        Can you tell me what the installer try to do?
        A wget request?
        with wich url ?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          @plegrand Looks ok to me so far.

          Is it safe t “re run” the installer to see exactly the good logs ?

          Yes, you can re-run the installer. Probably a good idea to see if it’s still happening.

          Is there other logs to watch except /var/log/apache2/error.log ?

          That log is fine. You might want to check the PHP-FPM log as well (see my signature again).

          Can you tell me what the installer try to do?

          You can see it’s just a curl request to the FOG webserver to make sure the storage node settings (username/password/IP) in the database are correct.

          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

          P 2 Replies Last reply Reply Quote 0
          • P
            plegrand @Sebastian Roth
            last edited by plegrand

            @Sebastian-Roth
            Has it always been curl?
            I’m behind a proxy and i made this configuration for wget :
            http_proxy = http://cache.blabla.fr:3128/
            https_proxy = http://cache.blabla.fr:3128/
            use_proxy = on
            no_proxy=localhost,127.0.0.0/8,192.168.39.243
            May be i should make the same configuration for curl ?

            I just remember that i made an export comand for proxy, then installer use proxy for all actions.
            I’ll test tomorrow whithout export command to see.
            I’ll tell you

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @plegrand said in Stuck on : "Ensuring node username and passwords match....":

              Has it always been curl?

              That is a good question. Let me check the code.

              Yeah right, we changed from wget to curl between 1.5.8 and 1.5.9: https://github.com/FOGProject/fogproject/commit/587a25f37b4e5daf61a337966064ffe9dfd30c15

              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

              P 2 Replies Last reply Reply Quote 0
              • P
                plegrand @Sebastian Roth
                last edited by

                @Sebastian-Roth said in Stuck on : "Ensuring node username and passwords match....":

                You can see it’s just a curl request to the FOG webserver to make sure the storage node settings (username/password/IP) in the database are correct.

                $ipaddress in this line is the "real ip address of the server, not “localhost” or “127.0.0.1” ?

                Thanks for your help

                1 Reply Last reply Reply Quote 0
                • P
                  plegrand @Sebastian Roth
                  last edited by plegrand

                  @Sebastian-Roth

                  With the good config file for curl
                  .curlrc

                  proxy = http://blabla.fr:3128/
                  noproxy=localhost,127.0.0.0/8,192.168.39.243
                  

                  It works fine.

                  Just for information, here is what i use :

                  .wgetrc

                  http_proxy = http://blabla.fr:3128/
                  https_proxy = http://blabla.fr:3128/
                  use_proxy = on
                  no_proxy=localhost,127.0.0.0/8,192.168.39.243
                  

                  .gitconfig

                  [http]
                  	proxy = http://blabla.fr:3128
                  

                  .curlrc

                  proxy = http://blabla.fr:3128/
                  noproxy = localhost,127.0.0.0/8,192.168.39.243
                  

                  There is always a problem during this operation:

                  * Testing internet connection.................................There was no interface with an active internet connection found.
                  

                  As we are behind proxy, the ping command does not works.
                  May be it could be possible to test internet connection with curl or wget ?
                  https://github.com/FOGProject/fogproject/blob/master/lib/common/functions.sh#L386

                  Thanks again

                  1 Reply Last reply Reply Quote 0
                  • P
                    plegrand @Sebastian Roth
                    last edited by

                    @Sebastian-Roth
                    There is always a problem during this operation:

                    Testing internet connection.................................There was no interface with an active internet connection found.
                    

                    As we are behind proxy, the ping command does not works.
                    May be it could be possible to test internet connection with curl or wget ?
                    https://github.com/FOGProject/fogproject/blob/master/lib/common/functions.sh#L386

                    Thanks again

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @plegrand Sorry I did not reply yet. Will surely look into using a different method to check for the internet connection. I have this in my list, don’t worry.

                      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
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @plegrand Testing internet connection is now done mainly with curl.

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

                        134

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project