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

FOG Client Service Not Starting Automatically

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
16
3.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.
  • A
    Avaryan
    last edited by Avaryan Mar 27, 2017, 11:30 AM Mar 27, 2017, 4:13 PM

    I’ve just observed the same issue with client 0.11.2 on Windows 10 (no issues on Windows 7). The only difference is I don’t have the client installed on the image. Using the msi file and installing post deployment. Reason: cause we’re still on a old version and I don’t want to reupload the image when we update FOG.

    Anyway… From my SetupComplete.cmd file I launch a SetupComplete.ps1 file. After installing the client from here I just created a scheduled task to start the service (Start-Service -Name FOGService) at startup.

    W 1 Reply Last reply Mar 28, 2017, 1:19 AM Reply Quote 1
    • W
      Wayne Workman @Avaryan
      last edited by Wayne Workman Mar 27, 2017, 7:20 PM Mar 28, 2017, 1:19 AM

      @Avaryan said in FOG Client Service Not Starting Automatically:

      Reason: cause we’re still on a old version and I don’t want to reupload the image when we update FOG.

      You can have an old version of the client in your image - this is perfectly fine. You absolutely do not need to re-capture an image just because there’s a newer client out. The client reliably updates itself after image deployment when it sees the server has a new version. The new version will then do everything you have set for it; naming, domain joining, snapins, printers.

      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/

      A 1 Reply Last reply Mar 28, 2017, 12:38 PM Reply Quote 1
      • A
        Avaryan @Wayne Workman
        last edited by Mar 28, 2017, 12:38 PM

        @Wayne-Workman said in FOG Client Service Not Starting Automatically:

        @Avaryan said in FOG Client Service Not Starting Automatically:

        The client reliably updates itself after image deployment when it sees the server has a new version. The new version will then do everything you have set for it; naming, domain joining, snapins, printers.

        Ok, good. I had always wondered about that.

        J 1 Reply Last reply Mar 28, 2017, 4:50 PM Reply Quote 0
        • J
          Joe Gill @Avaryan
          last edited by Mar 28, 2017, 4:50 PM

          @Wayne-Workman

          Here is a log file from a client that is having the updating issue… It appears that it’s not authenticating with the server. I tried resetting encryption and that failed to resolve this. I left this one un-resolved. So if their is a fix you’d like to try or have me try, I certainly can. Short of the following resolution…

          I had another one that had this same error on it. My only resolution is to do a re-install on the client and restart the service. Than everything is fine…

          Thanks as usual! 🙂

          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           3/24/2017 10:02 AM Client-Info Version: 0.11.9
           3/24/2017 10:02 AM Client-Info OS:      Windows
           3/24/2017 10:02 AM Middleware::Authentication Waiting for authentication timeout to pass
           3/24/2017 10:04 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
           3/24/2017 10:04 AM Middleware::Authentication ERROR: Could not authenticate
           3/24/2017 10:04 AM Middleware::Authentication ERROR: Value cannot be null.
          Parameter name: authority
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           3/24/2017 10:04 AM Client-Info Version: 0.11.9
           3/24/2017 10:04 AM Client-Info OS:      Windows
           3/24/2017 10:04 AM Middleware::Authentication Waiting for authentication timeout to pass
           3/24/2017 10:06 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
           3/24/2017 10:06 AM Middleware::Authentication ERROR: Could not authenticate
           3/24/2017 10:06 AM Middleware::Authentication ERROR: Value cannot be null.
          Parameter name: authority
          
          
           3/24/2017 10:06 AM Bus Registering ParseBus in channel Power
           3/24/2017 10:06 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&configure&newService&json
           3/24/2017 10:06 AM Middleware::Response Success
           3/24/2017 10:06 AM Middleware::Communication URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&mac=B0:83:FE:A8:9D:28||00:00:00:00:00:00:00:E0&newService&json
           3/24/2017 10:06 AM Middleware::Authentication Waiting for authentication timeout to pass
           3/24/2017 10:08 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
           3/24/2017 10:08 AM Middleware::Authentication ERROR: Could not authenticate
           3/24/2017 10:08 AM Middleware::Authentication ERROR: Value cannot be null.
          Parameter name: authority
           3/24/2017 10:08 AM Middleware::Response Success
           3/24/2017 10:08 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?clientver&newService&json
           3/24/2017 10:08 AM Middleware::Communication URL: http://172.16.1.17/fog/service/getversion.php?newService&json
          
           3/24/2017 10:08 AM Service Creating user agent cache
           3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection
           3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
           3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection
           3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
           3/24/2017 10:08 AM Middleware::Response ERROR: Unable to get subsection
           3/24/2017 10:08 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
           3/24/2017 10:08 AM Log Unhandled exception caught
           3/24/2017 10:08 AM Log     Terminating: True
           3/24/2017 10:08 AM Log     Hash code: 13539942
           3/28/2017 10:41 AM Main Overriding exception handling
           3/28/2017 10:41 AM Main Bootstrapping Zazzles
           3/28/2017 10:41 AM Controller Initialize
           3/28/2017 10:41 AM Zazzles Creating main thread
           3/28/2017 10:41 AM Zazzles Service construction complete
           3/28/2017 10:41 AM Controller Start
          
           3/28/2017 10:41 AM Service Starting service
           3/28/2017 10:41 AM Bus Became bus server
           3/28/2017 10:41 AM Bus {
            "self": true,
            "channel": "Status",
            "data": "{\r\n  \"action\": \"load\"\r\n}"
          }
           3/28/2017 10:41 AM Bus Emmiting message on channel: Status
           3/28/2017 10:41 AM Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           3/28/2017 10:41 AM Client-Info Version: 0.11.11
           3/28/2017 10:41 AM Client-Info OS:      Windows
           3/28/2017 10:41 AM Middleware::Authentication Waiting for authentication timeout to pass
           3/28/2017 10:41 AM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
           3/28/2017 10:41 AM Middleware::Authentication ERROR: Could not authenticate
           3/28/2017 10:41 AM Middleware::Authentication ERROR: Value cannot be null.
          Parameter name: authority
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           3/28/2017 10:41 AM Client-Info Version: 0.11.11
           3/28/2017 10:41 AM Client-Info OS:      Windows
           3/28/2017 10:41 AM Middleware::Authentication Waiting for authentication timeout to pass
          
          1 Reply Last reply Reply Quote 0
          • J
            Joe Gill
            last edited by Mar 28, 2017, 5:08 PM

            @Wayne-Workman

            I have several with this error… The service is running but not responding.

            Thanks!

            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PowerManagement-------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ----------------------------------UserTracker---------------------------------
            ------------------------------------------------------------------------------
             3/28/2017 10:50 AM Client-Info Client Version: 0.11.11
             3/28/2017 10:50 AM Client-Info Client OS:      Windows
             3/28/2017 10:50 AM Client-Info Server Version: 1.3.5
             3/28/2017 10:50 AM Middleware::Response ERROR: Unable to get subsection
             3/28/2017 10:50 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
             3/28/2017 10:50 AM Service Sleeping for 139 seconds
            
            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Mar 28, 2017, 5:18 PM

              @Joe-Gill the second one is caused by a bad security token (a reset encryption would fix it). Your first one is somehow unpinned, that is, something removed the servers certificate from the machines keystore. The only way to fix that is a complete reinstallation followed by a reset encryption.

              @Tom-Elliott there appears to be some scenario where the server’s copy of the security token is becoming out of sync with the client evident by the numerous users having to reset encryption.

              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.

              J W 2 Replies Last reply Mar 28, 2017, 6:18 PM Reply Quote 2
              • J
                Joe Gill @Joe Schmitt
                last edited by Mar 28, 2017, 6:18 PM

                @Joe-Schmitt

                Thanks! I"ll try the re-sync and I"m sure that will fix it. I had a few more I had to re-install with the second error.

                J 1 Reply Last reply Mar 28, 2017, 6:38 PM Reply Quote 0
                • J
                  Joe Gill @Joe Gill
                  last edited by Mar 28, 2017, 6:38 PM

                  I did have two hosts that after I ran the uninstaller it failed to remove everything. The uninstaller finished but when I ran the installer it failed. I had to go into the registry and delete every entry that had anything to do with FOG. Than re-install worked.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman @Joe Schmitt
                    last edited by Mar 28, 2017, 11:12 PM

                    @Joe-Schmitt Do you think the server issue could be time related? I mean, how could it become out of sync? Either the server’s security token is exactly as it was when set, or it’s not. And if it’s the same - it must be a time issue. If it’s not the same, then why is the server changing it? @Tom-Elliott We need your help with figuring it out.

                    How could we test this? Under what circumstances does the problem happen? How to replicate? How to troubleshoot the root cause?

                    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/

                    T 1 Reply Last reply Mar 29, 2017, 12:01 AM Reply Quote 0
                    • T
                      Tom Elliott @Wayne Workman
                      last edited by Mar 29, 2017, 12:01 AM

                      @Wayne-Workman I suspect this problem happens during “reinstall”.

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

                      148

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project