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

Fog Service Not Starting Automatically

Scheduled Pinned Locked Moved Unsolved
Windows Problems
5
12
4.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.
  • J
    Joe Gill
    last edited by Joe Gill Oct 18, 2016, 1:24 PM Oct 18, 2016, 7:22 PM

    Server
    • FOG Version: RC8
    • OS: Ubuntu 14.04
    Client
    • Service Version: 0.11.5
    • OS: Win7
    Description

    Windows 7 FOG Service fails to start when set to automatic.

    Resolution
    Starting the service usually fixes this. But sometimes the service still fails to re-start. Re-installing the service ultimately will fix this issue.

    Any ideas why it sometimes fails to start even though it’s set to Automatic?

    Thanks!!

    Cheers,

    Joe Gill

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Oct 18, 2016, 8:19 PM

      Are you sysprepping?

      I’ve seen the service fail to start due to the reference-machine being improperly shutdown prior to capture, and from co-workers clicking the “Force close” button when shutting down, and from coworkers not doing a full-reboot to double-check that the FOG Client is indeed working correctly (via checking the log) prior to capture.

      Because restarting and reinstalling fixes it for you, I could almost bet that your problem is specific to your image, and simply deploying the image but not joining it to domain, reinstalling the FOG Client, and rebooting a few times - and checking the log to ensure the FOG Client is working - and then re-capturing would almost surely fix your issue.

      Any reason why you’re still using RC-8?

      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
      • J
        Joe Gill
        last edited by Oct 18, 2016, 8:46 PM

        Are you sysprepping?

        Yes

        It could be that the service was shut off prior to sysprep and that the script to activate it failed to complete. That is suspicious to say the least. The only odd thing is that I set the service to manual and set it to off prior to sysprep. Once it’s sysprepped the SetupComplete script is set to change it to Automatic and start the service. What’s funny is that the the service “Start Up Type” is set to “Automatic” and yet it’s still stopped. I haven’t played with any of the recovery options for the service. I may start setting that to restart on failure. We’ll see!

        Any reason why you’re still using RC-8?

        Everything has been running so smooth now that I’ve switched to FOG that I haven’t had any need to update. I will though here soon. I see that @Tom-Elliott updated the WOL on the latest version which will be handy as I noticed that wasn’t working as well in RC-8.

        Cheers,

        Joe

        W 2 Replies Last reply Oct 18, 2016, 9:43 PM Reply Quote 0
        • W
          Wayne Workman @Joe Gill
          last edited by Oct 18, 2016, 9:43 PM

          @Joe-Gill The recommendations for how to handle the FOG Client with sysprep have changed, check out the new steps here, I would recommend you trying them. https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_Sysprep

          And I’d also recommend moving to RC-14. It’s very stable, and fixes a ton of stuff. Infact I updated 16 servers today from RC-8 to RC-14 - that was just part of my morning, I was super-multitasking.

          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/

          J 1 Reply Last reply Oct 19, 2016, 1:42 PM Reply Quote 0
          • J
            Joe Gill @Wayne Workman
            last edited by Oct 19, 2016, 1:42 PM

            @Wayne-Workman

            That’s how I"m currently sysprepping. I think my problem is the lack of an else or else if statement in my SetupComplete file that isn’t letting the script finish due to other things I have in it. I’ve been having my SetupComplete file install my antivirus software. Generally this works. However, with Sophos, if our setup file is out of date it will not install. This can prove to be more work than what it’s worth.

            I’ll be updating to RC-14 today! I know it’s a simple thing to do. I just have to remember to do it. Ha!

            Thanks for the advice!

            Cheers,

            Joe

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman @Joe Gill
              last edited by Oct 19, 2016, 1:44 PM

              @Joe-Gill said in Fog Service Not Starting Automatically:

              Once it’s sysprepped the SetupComplete script is set to change it to Automatic and start the service.

              I was specifically referencing that. The new recommendation is to not start the client, but to reboot.

              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/

              J 1 Reply Last reply Oct 19, 2016, 1:47 PM Reply Quote 0
              • J
                Joe Gill @Wayne Workman
                last edited by Oct 19, 2016, 1:47 PM

                @Wayne-Workman

                I see. I’ll have to try that and see if it helps! Thanks for pointing that out!

                1 Reply Last reply Reply Quote 0
                • B
                  blkspade
                  last edited by Dec 5, 2016, 8:30 PM

                  This issue seems to have cropped up specifically with the 0.11.5 client, and I can confirm that it is also present on Windows 10 if sysprepped. Disabling the service prior to capturing and setting via script to auto very consistently causes the service not to start even when set back to automatic. There might be 1 out of 15 clients that have the service actually start after the scripted reboot.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Dec 5, 2016, 8:42 PM

                    @blkspade please upload one of the C:\Program Files (x86)\FOG\settings.json of a problematic host along with its fog.log file.

                    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 1
                    • J
                      Joe Gill
                      last edited by Mar 3, 2017, 3:39 PM

                      Well… I’m back to working on my FOG servers again now that I finally have some time to update things…

                      So I just updated to the latest and greatest version (Running Version 1.3.0-RC-14 SVN Revision: 5974). I’m still noticing that on several of my clients the FOG service is not automatically starting. This is even on fresh installs of the client. I check the FOG service in Services and it says it’s set to automatically start but that never happens. I end up having to go into services and manually start it the first time to get it to work. The version of the client I am installing is:

                      12/20/2016 12:54 PM Client-Info Client Version: 0.11.5
                      12/20/2016 12:54 PM Client-Info Client OS: Windows
                      12/20/2016 12:54 PM Client-Info Server Version: 1.3.0-RC-14

                      Like I said, once I manually start the client we are Golden… But… It will not automatically start for some reason. Everything else as far as settings is the same throughout my images.

                      I also notice that the service fails periodically and I have to manually re-start the service. I was really hoping that upgrading to the latest version would be the fix to this but it doesn’t seem to be the case.

                      Let me know if their are any log files you’d like me to upload and if so where I can find them.

                      Thanks!!

                      Cheers,

                      Joe

                      JunkhackerJ 1 Reply Last reply Mar 3, 2017, 4:12 PM Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer @Joe Gill
                        last edited by Mar 3, 2017, 4:12 PM

                        @Joe-Gill it’s been a while since you posted last. the “latest and greatest” version isn’t 1.3.0-RC-14 anymore. it’s 1.3.5-RC-10. is that what you installed, or did you really install an old release candidate?

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

                        J 1 Reply Last reply Mar 3, 2017, 4:16 PM Reply Quote 0
                        • J
                          Joe Gill @Junkhacker
                          last edited by Mar 3, 2017, 4:16 PM

                          @Junkhacker

                          I just checked on the server and it is…

                          Running Version 1.3.4
                          SVN Revision: 6066

                          I used SVN to update my server… What was posted was from one of the FOG clients FOG.log files.

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

                          141

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project