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

    New to Fog.... A little help with hostname changer and Join AD

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    25
    15.8k
    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
      last edited by

      @Tom-Elliott said:

      Please try these commands:

      sudo rm -rf /opt/fog/snapins/CA /opt/fog/snapins/SSL /var/www/fog/management/other/ssl
      

      Edit the installer updater piece in /opt/fog/.fogsettings and delete the last two lines of the file:

      They should look like:

      caCreated="yes" and maybe vhostCreated="yes"
      

      if you don’t have those lines then don’t worry about it.

      Then try re-running the installer.

      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/

      S 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I think you should uninstall the fog client, and re-install from the client loactions. Basically you have to re-download the new client and install it.

        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
        • S
          SlimJim @Wayne Workman
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S
            SlimJim
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              SlimJim @Wayne Workman
              last edited by

              @Wayne-Workman

              I’ve tried completely removing the fog service and reinstalling and I keep getting the same errors in fog.log:

              Invalid host certificate
              URL: http://myfogserver/fog/management/other/ssl/srvpublic.crt
              ERROR: Could not download file
              ERROR: The remote server returned an error: 404 not found
              ERROR: Could not get security token
              ERROR: Could not find file C:\Windows\system32\token.dat
              ERROR: Could not authenticate
              ERROR: The system cannot find the file specified

              Was the CA and ssl supposed to be recreated? Any further suggestions before I go digging?

              Thanks so much for all your help!!

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

                Can you rerun the fog installer with:

                sudo ./installfog.sh --recreate-CA --recreate-keys
                

                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

                S 2 Replies Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by Joe Schmitt

                  Just a heads up, you installed the beta client.And the specific version you install won’t work with hostname changer. I’d either switch to the legacy client OR wait until I fix v0.8.0 of the beta.

                  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.

                  S 1 Reply Last reply Reply Quote 2
                  • S
                    SlimJim @Joe Schmitt
                    last edited by

                    @Jbob

                    Ah… Yes, I realized it was a new version 0.8.0, but didn’t realize it was beta. Thanks for the heads up.

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

                      @Tom-Elliott

                      Logs after rerun:

                      5/27/2015 12:15 PM CommunicationHandler Response: Invalid host certificate
                      5/27/2015 12:15 PM CommunicationHandler URL: http://myfogserver/fog/management/other/ssl/srvpublic.crt
                      5/27/2015 12:15 PM CommunicationHandler ERROR: Could not get security token
                      5/27/2015 12:15 PM CommunicationHandler ERROR: Could not find file ‘C:\Windows\system32\token.dat’.
                      5/27/2015 12:15 PM EncryptionHandler CA cert found
                      5/27/2015 12:15 PM EncryptionHandler ERROR: Certificate validation failed
                      5/27/2015 12:15 PM EncryptionHandler ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid)
                      5/27/2015 12:15 PM CommunicationHandler ERROR: Could not authenticate
                      5/27/2015 12:15 PM CommunicationHandler ERROR: Certificate is not from FOG CA
                      5/27/2015 12:15 PM CommunicationHandler URL: http://myfogserver/fog/management/other/ssl/srvpublic/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=00:21:70:0A:9A:A2||00:00:00:00:00:00:00:E0&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&newService=1&new

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

                        I’ll re-iterate my message. I’d wait until we fix v0.8.0

                        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.

                        S 2 Replies Last reply Reply Quote 1
                        • S
                          SlimJim @Joe Schmitt
                          last edited by

                          @Jbob

                          Lol, I know, I just figured Tom wanted the logs and I was already in the middle of rerunning the installer when you commented. Just finished the legacy client installer.

                          Thanks,

                          James

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

                            @Tom-Elliott

                            With the legacy client, I’m not getting:

                            HostnameChanger Failed: Incomplete server response; got 7; wanted: 6
                            HostnameChanger: Host name was not found in the database

                            Thanks,

                            James

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

                              Did you set the “product-key” field on the host?

                              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

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

                                @Tom-Elliott

                                Yes, that was it!!! Again, thank you guys so much for all your help and hard work!!!

                                James

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SlimJim @Joe Schmitt
                                  last edited by

                                  @Jbob

                                  Sorry to bother, just a quick question for ya, is the domain join working in 0.8.1?

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

                                    @James-Harting said:

                                    @Jbob

                                    Sorry to bother, just a quick question for ya, is the domain join working in 0.8.1?

                                    Yes and No.

                                    I am still having issues with it… but that doesn’t mean you’ll have issues.

                                    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/

                                    S 2 Replies Last reply Reply Quote 0
                                    • S
                                      SlimJim @Wayne Workman
                                      last edited by

                                      @Wayne-Workman

                                      Thanks for the reply, I will test it out.

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

                                        @Wayne-Workman

                                        Were you receiving any errors when it fails or was it just failing? Wondering because I’m trying to figure out if I’m missing something in my configuration? Any input would be greatly appreciated.

                                        5/27/2015 4:25 PM Client-Info Version: 0.8.1
                                        5/27/2015 4:25 PM HostnameChanger Running…
                                        5/27/2015 4:25 PM CommunicationHandler URL: http://myfogserver/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:21:70:0A:9A:A2||00:00:00:00:00:00:00:E0&newService=1
                                        5/27/2015 4:25 PM CommunicationHandler Response: Success
                                        5/27/2015 4:25 PM CommunicationHandler URL: http://myfogserver/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:21:70:0A:9A:A2||00:00:00:00:00:00:00:E0&newService=1
                                        5/27/2015 4:25 PM EncryptionHandler ed2873a80337d19b5e9f9abb590a2c1b|b6a75e03e6ca4d22ce9f0c73338cc30845c800d3384a6fd1a6fdb1e8a6b8673a6c86a6e02eb8a495616a0ba02393749769b381010dfffc83b807bbdafe1d6d40b851a33a2b1a44fc55ae4d4ac6e11ff2d92c7eaa0bb797ce3947bfa870aad3fe244a17144fd1ec39894e94ce5fdc2ce40919b32e833f42a9ebace41cef494da5d424ddae4afa1f3dbd2165bb120be805d3c93a6aeb51a6cc8079b881e43f886a
                                        5/27/2015 4:25 PM CommunicationHandler Response: Success
                                        5/27/2015 4:25 PM HostnameChanger Checking Hostname
                                        5/27/2015 4:25 PM HostnameChanger Hostname is correct
                                        5/27/2015 4:25 PM HostnameChanger Registering host with active directory
                                        5/27/2015 4:25 PM HostnameChanger ERROR: Required Domain Joining information is missing
                                        5/27/2015 4:25 PM HostnameChanger Activing host with product key
                                        5/27/2015 4:25 PM HostnameChanger ERROR: Windows activation disabled

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

                                          inside of FOG Configuration -> FOG Settings -> Client Service

                                          The “New client” thing must be checked for the new client to work.

                                          Also please note that you should type in your PLAIN TEXT password into the password field, and that your fogcrypt string should go into the legacy field.

                                          Also note that in the hosts menu, any password that you put into the AD Settings fields in there gets re-encrypted when the aforementioned “NEW CLIENT” check-box is checked. So, I’d recommend just clicking the “Clear Fields” and then click the “Join Domain” so that it simply auto-populates.

                                          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/

                                          S 1 Reply Last reply Reply Quote 1
                                          • S
                                            SlimJim @Wayne Workman
                                            last edited by

                                            @Wayne-Workman

                                            I’ve triple-checked all those requirements and I’m still getting the ERROR: Required Domain Joining information is missing.
                                            Fog service:
                                            new client: checked
                                            aes_encrypt: not checked
                                            AD defaults:
                                            domainname: tried domain.com and netbios
                                            default ou: OU=Computers,DC=domain,DC=com
                                            default user: tried domain\user and just user
                                            default password: plaintext
                                            default pw legacy: fogcrypt

                                            Is there something I need to change in a config.php file or anything that I’m missing? Need to add netdom on the windows 7 pc?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            220

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project