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

    Fog Clients Unable to get subsection

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    13
    2.2k
    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.
    • Wayne WorkmanW
      Wayne Workman @gabbas
      last edited by Wayne Workman

      @gabbas Reset the encryption for that host, should fix it. This is done in Host Management.

      You can also do this en-mass via Group Management too.

      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
      • G
        gabbas
        last edited by

        Thanks Wayne, I have already reset the encryption on a group of hosts, although I cant see the option to reset encryption on the individual hosts menu.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @gabbas We need to see more of the log file. Those we see in the screenshot are just subsequent errors. Best if you can post right from the start when the client comes up on reboot.

          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
          • G
            gabbas
            last edited by

            Please see the log file attached. Just a question, how can I update/ install which could take me to the previous versions GUI and options…TBH this new look in this version, i dont quite like it…

             01/12/2017 19:09 Main Overriding exception handling
             01/12/2017 19:09 Main Bootstrapping Zazzles
             01/12/2017 19:09 Controller Initialize
             01/12/2017 19:09 Controller Start
            
             01/12/2017 19:09 Service Starting service
             01/12/2017 19:10 Bus Became bus server
             01/12/2017 19:10 Bus Emmiting message on channel: Status
             01/12/2017 19:10 Service Invoking early JIT compilation on needed binaries
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:10 Client-Info Version: 0.11.12
             01/12/2017 19:10 Client-Info OS:      Windows
             01/12/2017 19:10 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:10 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:10 Data::RSA FOG Server CA cert found
             01/12/2017 19:10 Middleware::Authentication Cert OK
             01/12/2017 19:10 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:10 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:10 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:10 Middleware::Response Invalid host
             01/12/2017 19:10 Middleware::Communication URL: http://172.20.22.169/fog/service/register.php?hostname=LSST-15KC5Y1&mac=B8:CA:3A:82:68:63||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:10 Client-Info Version: 0.11.12
             01/12/2017 19:10 Client-Info OS:      Windows
             01/12/2017 19:10 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:12 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:12 Data::RSA FOG Server CA cert found
             01/12/2017 19:12 Middleware::Authentication Cert OK
             01/12/2017 19:12 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:12 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:12 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:12 Middleware::Response Invalid host
             01/12/2017 19:12 Middleware::Communication URL: http://172.20.22.169/fog/service/register.php?hostname=LSST-15KC5Y1&mac=B8:CA:3A:82:68:63||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:12 Client-Info Version: 0.11.12
             01/12/2017 19:12 Client-Info OS:      Windows
             01/12/2017 19:12 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:14 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:14 Data::RSA FOG Server CA cert found
             01/12/2017 19:14 Middleware::Authentication Cert OK
             01/12/2017 19:14 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:14 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:14 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:14 Middleware::Response Private key not readable
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:14 Client-Info Version: 0.11.12
             01/12/2017 19:14 Client-Info OS:      Windows
             01/12/2017 19:14 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:16 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:16 Data::RSA FOG Server CA cert found
             01/12/2017 19:16 Middleware::Authentication Cert OK
             01/12/2017 19:16 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:16 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:16 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:16 Middleware::Response Private key not readable
            
            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:16 Client-Info Version: 0.11.12
             01/12/2017 19:16 Client-Info OS:      Windows
             01/12/2017 19:16 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:18 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:18 Data::RSA FOG Server CA cert found
             01/12/2017 19:18 Middleware::Authentication Cert OK
             01/12/2017 19:18 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:18 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:18 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:18 Middleware::Response Private key not readable
            
            
             01/12/2017 19:18 Middleware::Communication URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&configure&newService&json
             01/12/2017 19:18 Middleware::Response Success
             01/12/2017 19:18 Middleware::Communication URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&mac=B8:CA:3A:82:68:63||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
             01/12/2017 19:18 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:20 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:20 Data::RSA FOG Server CA cert found
             01/12/2017 19:20 Middleware::Authentication Cert OK
             01/12/2017 19:20 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:20 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:20 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:20 Middleware::Response Private key not readable
             01/12/2017 19:20 Middleware::Response Success
             01/12/2017 19:20 Middleware::Communication URL: http://172.20.22.169/fog/service/getversion.php?clientver&newService&json
             01/12/2017 19:20 Middleware::Communication URL: http://172.20.22.169/fog/service/getversion.php?newService&json
            
             01/12/2017 19:20 Service Creating user agent cache
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:20 Service Initializing modules
            
            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PowerManagement-------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ----------------------------------UserTracker---------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:20 Client-Info Client Version: 0.11.12
             01/12/2017 19:20 Client-Info Client OS:      Windows
             01/12/2017 19:20 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:20 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:20 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:20 Service Sleeping for 111 seconds
             01/12/2017 19:22 Middleware::Communication URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&configure&newService&json
             01/12/2017 19:22 Middleware::Response Success
             01/12/2017 19:22 Middleware::Communication URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&mac=B8:CA:3A:82:68:63||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
             01/12/2017 19:22 Middleware::Authentication Waiting for authentication timeout to pass
             01/12/2017 19:22 Middleware::Communication Download: http://172.20.22.169/fog/management/other/ssl/srvpublic.crt
             01/12/2017 19:22 Data::RSA FOG Server CA cert found
             01/12/2017 19:22 Middleware::Authentication Cert OK
             01/12/2017 19:22 Middleware::Authentication ERROR: Could not get security token
             01/12/2017 19:22 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
             01/12/2017 19:22 Middleware::Communication POST URL: http://172.20.22.169/fog/management/index.php?sub=requestClientInfo&authorize&newService
             01/12/2017 19:22 Middleware::Response Private key not readable
             01/12/2017 19:22 Middleware::Response Success
             01/12/2017 19:22 Middleware::Communication URL: http://172.20.22.169/fog/service/getversion.php?clientver&newService&json
             01/12/2017 19:22 Middleware::Communication URL: http://172.20.22.169/fog/service/getversion.php?newService&json
            
             01/12/2017 19:22 Service Creating user agent cache
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            --------------------------------PowerManagement-------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
            
            ------------------------------------------------------------------------------
            ----------------------------------UserTracker---------------------------------
            ------------------------------------------------------------------------------
             01/12/2017 19:22 Client-Info Client Version: 0.11.12
             01/12/2017 19:22 Client-Info Client OS:      Windows
             01/12/2017 19:22 Client-Info Server Version: 1.5.0-RC-10
             01/12/2017 19:22 Middleware::Response ERROR: Unable to get subsection
             01/12/2017 19:22 Middleware::Response ERROR: Object reference not set to an instance of an object.
             01/12/2017 19:22 Service Sleeping for 121 seconds
            
            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @gabbas
              last edited by Wayne Workman

              @gabbas change is always alittle uncomfortable. But its for the best. Older versions have bugs and will never be corrected or supported (except in newer versions with the new gui).

              Is this a pending host? Can you look up this host by mac address?

              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
              • S
                Sebastian Roth Moderator
                last edited by

                @gabbas said in Fog Clients Unable to get subsection:

                ... Response Private key not readable

                From my point of view this is the key message in the log. Check permissions on that file on your fog server via ls -al /opt/fog/snapins/ssl/.srvprivate.key… and post here.

                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

                G 1 Reply Last reply Reply Quote 1
                • G
                  gabbas @Sebastian Roth
                  last edited by

                  @sebastian-roth said in Fog Clients Unable to get subsection:

                  ls -al /opt/fog/snapins/ssl/.srvprivate.key

                  Please see the outcome of your suggestion:

                  local_admin@fog:~$ ls -al /opt/fog/snapins/ssl/.srvprivate.key
                  -rwxrwxrwx 1 fog www-data 3247 Dec  1 20:44 /opt/fog/snapins/ssl/.srvprivate.key
                  local_admin@fog:~$
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth

                    @gabbas Looks ok I reckon. Then take a look at the storage node configuration in the web interface. Please post a picture where we can see option “SSL Path”. Make sure there is no hidden space character at the end of that field…

                    But this still seems kind of strange. Possibly I still miss something here. In other places in the log I see Middleware::Response Invalid host which doesn’t make sense to me yet.

                    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

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gabbas @Sebastian Roth
                      last edited by

                      @sebastian-roth 0_1512419658859_fog1.png

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @gabbas Is your server CentOS based? If so please run sudo getenforce and post output here.

                        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

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          gabbas @Sebastian Roth
                          last edited by

                          @sebastian-roth, I have uninstalled the client and re-install and it seems like its working fine. I am using Ubuntu server. Many thanks for your assistance. Something really strange happened but I’m glad it started working again.
                          Many thanks

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @gabbas Ok, thanks for letting us know. I talked to the fog-client main developer about this and we both were kind of puzzled by this. I’ll mark this solved then. Please open a new thread and post fresh new logs if you have an issue again.

                            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

                            167

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project