• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.4k
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.
  • S
    SlimJim
    last edited by May 27, 2015, 3:12 PM

    Hello all,

    So, I’m new to fog and I’m using Ubuntu 12.04LS, fog rv3480, and the newest fog client service 0.7.4 which is set to Automatically start up. I’m having some trouble getting the hostname changer and Join AD to work and I don’t really know where to start troubleshoot as I’m not sure if I have set this all up correctly. The only logs I’m aware of are on the client located in C:\ and C:\Users*user*\ , oh and obviously the log in fog settings. I’ve dug through the event viewer on the client and haven’t really found anything to suggest it’s even trying to change the name, the only thing that sticks out is “CommunicationHandler Response: Invalid host certificate” in the fog log. I apologize if this has been answered a million different times, but I have looked through the forums, just haven’t found anything relevant to this error.

    I’m guessing I haven’t set something up correctly and I could really use some assistance.

    Thanks in Advance,

    James

    1 Reply Last reply Reply Quote 0
    • S
      SlimJim
      last edited by May 27, 2015, 3:23 PM

      Also, the machine I captured the image from was sysprepped and fogprepped and answer file has * for computer name, not sure if that makes a difference, but a post I read suggested it may.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by May 27, 2015, 3:30 PM

        Problem with the hostname changer is that 3480 does not generate the srvpublic.key file 0.7.4 is looking for. This is somewhat intentional as it, too, was extremely insecure. We’re now generating our own certificate authority and signing a certificate based on the CA.

        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 May 27, 2015, 3:55 PM Reply Quote 0
        • S
          SlimJim @Tom Elliott
          last edited by May 27, 2015, 3:55 PM

          @Tom-Elliott

          Tom,

          Thanks for the quick reply. What would you suggest to get this working, should I downgrade to a working svn or use the legacy client or generate my own keys?

          Thanks,

          James

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by May 27, 2015, 3:56 PM

            @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 May 27, 2015, 4:12 PM Reply Quote 0
            • T
              Tom Elliott
              last edited by May 27, 2015, 3:58 PM

              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 May 27, 2015, 4:12 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S
                  SlimJim
                  last edited by May 27, 2015, 4:17 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S
                    SlimJim @Wayne Workman
                    last edited by May 27, 2015, 5:02 PM

                    @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
                    • T
                      Tom Elliott
                      last edited by May 27, 2015, 5:08 PM

                      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 May 27, 2015, 5:16 PM Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Joe Schmitt May 27, 2015, 11:10 AM May 27, 2015, 5:09 PM

                        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 May 27, 2015, 5:12 PM Reply Quote 2
                        • S
                          SlimJim @Joe Schmitt
                          last edited by May 27, 2015, 5:12 PM

                          @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 May 27, 2015, 5:16 PM

                            @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 May 27, 2015, 5:19 PM

                              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 May 27, 2015, 5:21 PM Reply Quote 1
                              • S
                                SlimJim @Joe Schmitt
                                last edited by May 27, 2015, 5:21 PM

                                @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 May 27, 2015, 5:37 PM

                                  @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
                                  • T
                                    Tom Elliott
                                    last edited by May 27, 2015, 5:54 PM

                                    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 May 27, 2015, 5:57 PM Reply Quote 0
                                    • S
                                      SlimJim @Tom Elliott
                                      last edited by May 27, 2015, 5:57 PM

                                      @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 May 27, 2015, 9:05 PM

                                        @Jbob

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

                                        W 1 Reply Last reply May 27, 2015, 9:08 PM Reply Quote 0
                                        • W
                                          Wayne Workman @SlimJim
                                          last edited by May 27, 2015, 9:08 PM

                                          @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 May 27, 2015, 9:10 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            7/25
                                            Last post

                                          210

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project