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

    Win 10 New Client - Service Crashing after Imaging

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    10
    4.0k
    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.
    • MRCURM
      MRCUR Testers
      last edited by

      Hi all,

      Working with the new client (0.9.11) on Win 10 (Enterprise version 1511). I’m seeing an issue where after imaging is completed, sysprep is done, etc., the client service seems to crash and does not recover until the computer is restarted. This only happens intermittently, and nothing seems completely obvious to me in the client log file (excerpts below where a critical error is thrown). Once this happens, if I manually start the service again or restart the computer, it works fine and renames/joins AD.

      Any thoughts?

      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       2/9/2016 2:26 PM Client-Info Version: 0.9.11
       2/9/2016 2:26 PM HostnameChanger Running...
       2/9/2016 2:26 PM Middleware::Communication URL: http://fog-test.domain.com/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=A0:A8:CD:35:BA:E2|A0:A8:CD:35:BA:E3|C4:34:6B:07:09:AE|A0:A8:CD:35:BA:E6|&newService=1
       2/9/2016 2:26 PM Middleware::Communication Response: Success
       2/9/2016 2:26 PM Middleware::Communication URL: http://fog-test.domain.com/fog/service/hostname.php?moduleid=hostnamechanger&mac=A0:A8:CD:35:BA:E2|A0:A8:CD:35:BA:E3|C4:34:6B:07:09:AE|A0:A8:CD:35:BA:E6|&newService=1
       2/9/2016 2:26 PM Middleware::Communication Response: Success
       2/9/2016 2:26 PM HostnameChanger Checking Hostname
       2/9/2016 2:26 PM HostnameChanger Renaming host to ADM-640-TEST2
       2/9/2016 2:26 PM HostnameChanger Unregistering computer
       2/9/2016 2:26 PM HostnameChanger Removing host from active directory
       2/9/2016 2:26 PM HostnameChanger The machine is not currently joined to a domain, code =  2692
       2/9/2016 2:26 PM HostnameChanger Updating registry
       2/9/2016 2:26 PM RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerNameComputerName
       2/9/2016 2:26 PM RegistryHandler ERROR: Cannot create a stable subkey under a volatile parent key.
      
       2/9/2016 2:26 PM Service ERROR: Critical error 
      ------------------------------------------------------------------------------
      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        Informing @jbob about this.

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          Based on the information here, is it possible the image was joined to the domain, but the hostname was changed, making it believe that the HOST as named is not joined to the domain?

          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

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

            This is very concerning. There are safegaurds in place to prevent faulty modules from crashing the service. I’ll take a look at this as soon as I get a chance.

            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.

            MRCURM 1 Reply Last reply Reply Quote 1
            • MRCURM
              MRCUR Testers @Tom Elliott
              last edited by

              @Tom-Elliott The image this is coming from was not joined to AD (it’s in audit mode with sysprep being run immediately before capture). I did wonder if perhaps something was going on because the name of the machine was not changing from the image but was being asked to join the domain, but I’ve had success and failures with both scenarios.

              1 Reply Last reply Reply Quote 0
              • MRCURM
                MRCUR Testers @Joe Schmitt
                last edited by

                @Jbob Looking through the system event log, it actually looks like the service is failing to start in the first place. After the computer imaged, it appears the name was updated successfully by the FOG service and the computer restarted. After that, the service failed to start.

                There are two event entries, one is event 7009 - A timeout was reached (30000 milliseconds) while waiting for the FOGService to connect. And then immediately after, event 7000 - The FOGService failed to start - the service did not respond to the start or control request in a timely fashion.

                1 Reply Last reply Reply Quote 0
                • T
                  Tom S Developer
                  last edited by

                  Quick question:
                  Does the service run fine after reboot and then from then on out? Meaning does this only happen directly after imaging and syspreping?

                  MRCURM 1 Reply Last reply Reply Quote 0
                  • MRCURM
                    MRCUR Testers @Tom S
                    last edited by

                    @Tom-S It seems to only happen immediately after imaging and sysprep is complete. I have noticed that the same model laptop with an SSD doesn’t exhibit this issue, which makes me think this is a service start timeout issue being hit that doesn’t occur on a sufficiently fast computer.

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

                      @MRCUR Is the FOG Client service enabled in the image? With my images where i work, I have the FOG Client service disabled entirely to prevent the system changing/joining domain during the setupcomplete script running. Yes, SSD is faster, so what you state makes sense, though I don’t know if it’s a good thing either to have the client running as a service. For me, the disabling was required because my images are more or less independent of hardware. My setupcomplete script installs the systems drivers, and before it is finished, it enables the FOG Client service and restarts.

                      This is specific to my school district as we are still using FOG 1.2.0 (Legacy client), but I imagine a similar issue may occur with the new clients.

                      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

                      MRCURM 1 Reply Last reply Reply Quote 0
                      • MRCURM
                        MRCUR Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott It is enabled, yes. We don’t do hardware independent images (ugh), so we haven’t run into any issues where the client interrupts sysprep. After talking to @Jbob a bit, I have a better understanding of what’s happening and a workaround to correct it.

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

                        245

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project