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

    Join domain after image task - issues

    Scheduled Pinned Locked Moved
    FOG Problems
    7
    13
    5.5k
    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.
    • B
      belac
      last edited by Joe Schmitt

      Hello,

      I am hoping you guys can help me resolve some intermittant issues. It took me quite some time getting sysprep configured the way i want. The end goal is to be able to push an image to a system and when the process is finished it would be at the login screen and the user would login with their domain credentials and away they could go.

      Currently when i create a task and the image download completes sysprep runs. the system will autologin under the local admin account then reboot after a couple minutes then autologin to the admin account again then reboot. If all goes well it then boots to the login screen. This has worked on two machines.

      I just started deployment on another desktop and the image downloads and it auto logs in to the admin account then nothing. It did rename the computer properly but didnt join domain. At the end of the fog log is “error code: 2” Here is a snippet for the fog.log. There is another error “error: 2692” which i believe just means that thesystem is not joined to the domain. [url]https://msdn.microsoft.com/en-us/library/windows/desktop/aa370674(v=vs.85).aspx[/url] Are there logs anywhere else i could pull to get more details about why its not completing the join domain process?

      i saw another post that menitoned AD path not being correct. I know it is since it has worked on anther system.

      Any ideas what the problem is?

      Fog Ver: 1.2

      ------------begin paste ---------------

       2/19/2015 1:06 PM FOG::HostnameChanger Attempting to connect to fog server...
       2/19/2015 1:06 PM FOG::HostnameChanger Module is active...
       2/19/2015 1:06 PM FOG::HostnameChanger AD mode requested, confirming settings.
       2/19/2015 1:06 PM FOG::HostnameChanger Hostnames are different - LOCALAD-H05D2B3 - A237-12977
       2/19/2015 1:06 PM FOG::HostnameChanger Attempting to unregister from domain...
       2/19/2015 1:06 PM FOG::HostnameChanger Domain Error! ('Unknown Error' Code: 2692) 
       2/19/2015 1:06 PM FOG::HostnameChanger Using default fog method.
       2/19/2015 1:06 PM FOG::HostnameChanger Computer is about to restart.
       2/19/2015 1:06 PM FOG::GUIWatcher Message found, attempting to notify GUI!
       2/19/2015 1:06 PM FOG::UserCleanup Starting user cleanup process...
       2/19/2015 1:06 PM FOG::UserCleanup Attempting to connect to fog server...
       2/19/2015 1:06 PM FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
       2/19/2015 1:06 PM FOG::GUIWatcher Dispatch OK!
       2/19/2015 1:09 PM FOG Service Engine Version: 3
       2/19/2015 1:09 PM Starting all sub processes
       2/19/2015 1:09 PM 12 modules loaded
       2/19/2015 1:09 PM  * Starting FOG.AutoLogOut
       2/19/2015 1:09 PM  * Starting FOG.SnapinClient
       2/19/2015 1:09 PM  * Starting FOG.DirCleaner
       2/19/2015 1:09 PM  * Starting FOG.GUIWatcher
       2/19/2015 1:09 PM  * Starting FOG.HostNameChanger
       2/19/2015 1:09 PM FOG::GUIWatcher Starting GUI Watcher...
       2/19/2015 1:09 PM FOG::AutoLogOut Starting process...
       2/19/2015 1:09 PM FOG::DirCleaner Sleeping for 52 seconds.
       2/19/2015 1:09 PM  * Starting FOG.HostRegister
       2/19/2015 1:09 PM FOG::ClientUpdater Starting client update process...
       2/19/2015 1:09 PM FOG::ClientUpdater Sleeping for 386 seconds.
       2/19/2015 1:09 PM  * Starting FOG.MODDebug
       2/19/2015 1:09 PM  * Starting FOG.PrinterManager
       2/19/2015 1:09 PM FOG::MODDebug Start Called
       2/19/2015 1:09 PM FOG::MODDebug Sleeping for 100 Seconds
       2/19/2015 1:09 PM  * Starting FOG.SnapinClient
       2/19/2015 1:09 PM FOG::HostnameChanger Starting hostname change process...
       2/19/2015 1:09 PM FOG::HostnameChanger Yielding to other subservices for 7 seconds.
       2/19/2015 1:09 PM FOG::HostRegister Starting host registration process...
       2/19/2015 1:09 PM  * Starting FOG.TaskReboot
       2/19/2015 1:09 PM FOG::PrinterManager Starting interprocess communication process...
       2/19/2015 1:09 PM  * Starting FOG.UserCleanup
       2/19/2015 1:09 PM FOG::TaskReboot Taskreboot in lazy mode.
       2/19/2015 1:09 PM FOG::TaskReboot Starting Task Reboot...
       2/19/2015 1:09 PM FOG::PrinterManager  interprocess comm startup: OK
       2/19/2015 1:09 PM  * Starting FOG.UserTracker
       2/19/2015 1:09 PM FOG::SnapinClient Starting snapin client process...
       2/19/2015 1:09 PM FOG::UserCleanup Sleeping for 10 seconds.
       2/19/2015 1:09 PM FOG::UserTracker Starting user tracking process...
       2/19/2015 1:09 PM FOG::HostRegister Exiting because only 1 mac address was found.
       2/19/2015 1:09 PM FOG::PrinterManager Attempting to connect to fog server...
       2/19/2015 1:09 PM FOG::SnapinClient Sleeping for 477 seconds.
       2/19/2015 1:09 PM FOG::UserTracker Attempting to connect to fog server...
       2/19/2015 1:09 PM FOG::PrinterManager Module is active...
       2/19/2015 1:09 PM FOG::PrinterManager Starting printer manager...
       2/19/2015 1:09 PM FOG::PrinterManager Yielding to other services for 21 seconds.
       2/19/2015 1:09 PM FOG::AutoLogOut Module is active...
       2/19/2015 1:09 PM FOG::UserTracker Module is active...
       2/19/2015 1:09 PM FOG::AutoLogOut Timeout value is Zero, disabling module.
       2/19/2015 1:09 PM FOG::AutoLogOut c:\program files\fog\images\alo-bg.jpg
       2/19/2015 1:09 PM FOG::AutoLogOut    at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
         at FOG.AutoLogOut.doWork()
       2/19/2015 1:09 PM FOG::HostnameChanger Attempting to connect to fog server...
       2/19/2015 1:09 PM FOG::HostnameChanger Module is active...
       2/19/2015 1:09 PM FOG::HostnameChanger AD mode requested, confirming settings.
       2/19/2015 1:09 PM FOG::HostnameChanger Hostname is up to date
       2/19/2015 1:09 PM FOG::HostnameChanger Attempting to join domain if not already a member....
       2/19/2015 1:09 PM FOG::HostnameChanger Domain Error! ('Unknown Error' Code: 2)
      

      ~ Edited log formatting
      ----------- end paste ------------------

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

        Its a problem with your AD settings in FOG.

        A quick search of that error code reveals:
        [url]http://fogproject.org/forum/threads/join-domain-unknown-error-code-2.11827/[/url]

        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
        • B
          belac
          last edited by

          If that were the case then it would not have worked on two other computers, correct?

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

            you can see if things are correct.

            Remember, the AD settings you setup is on a Per Host basis, not a global thing.

            So although the AD User/domain/pass/ou may be correct for the Global aspect, of which I guess your other 2 systems that worked fine is correct, verify if they are correct for this one host giving you 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! 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
            • B
              belac
              last edited by

              when i check the box in the menu (main>host>choose host>active directory) to “join domain after image task” it populates the global settings which are in ‘fog settings’ so I don’t understand where the disconnect is. the machines are all the exact same model, same domain being joined, and same location (at my desk) at the moment.

              Is there a way to re-run the join domain task without pushing the image again (and so i dont have to walk around later to join them to domain)?

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                the clients will check the hostname/domain on startup on every reboot. to reattempt, reboot.

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                  restart the system, or restart the “FOG Service” service.

                  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
                  • B
                    belac
                    last edited by

                    i was able to resolve the issue. for some reason it did not like the “Computers” container in AD. I had to make a separate OU and it is now working consistently.

                    Thanks for all the help.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bigfr0g
                      last edited by

                      Quote Belac

                      “Is there a way to re-run the join domain task without pushing the image again (and so i dont have to walk around later to join them to domain)?”

                      What about this? Is there a function for that?

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @bigfr0g
                        last edited by

                        @bigfr0g said:

                        Quote Belac

                        “Is there a way to re-run the join domain task without pushing the image again (and so i dont have to walk around later to join them to domain)?”

                        What about this? Is there a function for that?

                        If you rename or change the domain name, the client make the job without reimage the computer.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bigfr0g @ch3i
                          last edited by

                          @ch3i said:

                          @bigfr0g said:

                          Quote Belac

                          “Is there a way to re-run the join domain task without pushing the image again (and so i dont have to walk around later to join them to domain)?”

                          What about this? Is there a function for that?

                          If you rename or change the domain name, the client make the job without reimage the computer.

                          Thats not working for me 😞

                          I renamed the Domainname in the Host Configuration and in the FOG Configuration, then changed it back to the correct Name and nothing happens when I reboot.

                          The Computer is not in the Domain…

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

                            @bigfr0g FOG version? Old client or new client? Have you checked your service settings for that 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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

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

                              @Wayne-Workman Based on the messages from the log, I’d say this is the old client, if it’s any help.

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

                              155

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project