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

    Solved hosts registration

    FOG Problems
    4
    11
    584
    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.
    • L
      LaurentB last edited by

      Hi all !
      I have a problem with fog with some computers that i can’t see in the console in pending hosts.

      I install a new server in a debian and with FOG_1.5.0, i want to use FOG for snapins so, i install (manually) the FOG Client in some computers.

      Next i go in my web interface and see only a few hosts in “Host Management”…
      If i look in c:\fog.log i see that log :

      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       14/03/2018 11:28 Client-Info Version: 0.11.15
       14/03/2018 11:28 Client-Info OS:      Windows
       14/03/2018 11:28 Middleware::Authentication Waiting for authentication timeout to pass
       14/03/2018 11:30 Middleware::Communication Download: http://srv-fog1-n0/fog/management/other/ssl/srvpublic.crt
       14/03/2018 11:30 Data::RSA FOG Server CA cert found
       14/03/2018 11:30 Middleware::Authentication Cert OK
       14/03/2018 11:30 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       14/03/2018 11:30 Middleware::Authentication ERROR: Could not get security token
       14/03/2018 11:30 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
       14/03/2018 11:30 Middleware::Communication POST URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&authorize&newService
       14/03/2018 11:30 Middleware::Response Invalid security token
      
      
       14/03/2018 11:30 Middleware::Communication URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       14/03/2018 11:30 Middleware::Response Success
       14/03/2018 11:30 Middleware::Communication URL: http://srv-fog1-n0/fog/management/index.php?sub=requestClientInfo&mac=00:09:0F:AA:00:01|DC:4A:3E:7C:78:DD|00:09:0F:FE:00:01&newService&json
       14/03/2018 11:30 Middleware::Authentication Waiting for authentication timeout to pass
      
      

      I try to reboot the host many time, i reboot the apache2, i reboot the server… but i’m lost ! 😞

      Do you have any idea of what appen ?

      Thanks !

      Wayne Workman 1 Reply Last reply Reply Quote 0
      • L
        LaurentB last edited by

        Ok thanks.

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

          @laurentb go in GUI, click hosts, find the host saying this, click on it to edit. At top of page you should see a big orange button saying “reset encryption data”

          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
          • L
            LaurentB last edited by

            @Tom-Elliott no i dont’ because i dont’ know how…:)
            (but if you coul’d explain it to me i will keep the info if i have the case another time).

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

              I’m just going on a limb but the log message you provided says “Invalid Security Token”. I’m going to guess you already performed the “reset encryption data” for them?

              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
              • L
                LaurentB last edited by

                Note for admins… i want to mark the topic as “Solved” but i don’t see the option…

                1 Reply Last reply Reply Quote 0
                • L
                  LaurentB last edited by

                  @Wayne-Workman and @Joe-Schmitt thanks a lot for your help guys but it works now !!!
                  i finaly found what’s wrong… !!! 😄

                  @Joe-Schmitt yes the computer isn’t showing up under all hosts AND pending.

                  For your information, i try to install a previous version of FOG (1.4.4) and i use a couple of computers for my tests.

                  After this i install “the real” server with the lastest version 1.5.0
                  After that i try to delete and install the FOG client with the sames computers AND some others.
                  Like i said some of them don’t works…

                  SO, with the computers that were not working I totally uninstall FOG CLIENT, I purge the registry, i reboot…
                  AND i make a new clean installation and it works !!!

                  At the end i think there was a bad key left in the registry despite the “classic” uninstall.

                  Thanks again.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer last edited by Joe Schmitt

                    @LaurentB Is that client log from a computer which isn’t showing up under all hosts AND pending?

                    • @Wayne-Workman there’s no indication that this is a database issue yet, so it’d be best to avoid running destructive SQL commands until we know more.

                    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.

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

                      @laurentb I’m not sure what’s wrong. I suggest you run the database maintenance commands in this link to see if that resolves the problem. Also preemptively asking @joe-schmitt to look at this thread.

                      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
                      • L
                        LaurentB last edited by

                        @Wayne-Workman For those whom I see yes but the problem is that some host are not visible at all

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

                          @laurentb Did you accept the pending hosts?

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

                          188
                          Online

                          10.4k
                          Users

                          16.4k
                          Topics

                          150.5k
                          Posts

                          Copyright © 2012-2023 FOG Project