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

    "Unable to get subsection" error with RC-4

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    34
    7.7k
    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.
    • JoeGJ
      JoeG @Joe Schmitt
      last edited by

      @Joe-Schmitt Thanks Joe. I definitely did not intentionally regenerate CA cert during install. Any tips for transferring the old keys or resolving the client error with the new keys?

      FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

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

        @Tom-Elliott I will say that this issue appears generally after reverting from a newer versionI believe. I’ve had to do the group reset encryption.

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

          @Hanz this is unrelated now. The root CA keys are now incorrect.

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

            @JoeG The best I can tell you, for now.

            If you simply built a brand new server, and still have the old server available, you can do the “fixing” rather easily. If this is the case, you need to copy the ssl folder from the old in the new server’s ssl location (default is typically /opt/fog/snapins/ssl). Then you would need to rerun the FOG Installer on the new server. This will remake the public key so it matches the key pairing information from the original server, thus allowing your clients to operate.

            If the above is NOT the case, and this happened to occur on the SAME server you’ve always had, it’s not going to be a fun time. The quickest way to ensure things are good immediately, and for the future would be to rebuild the “master” image removing the FOG Client, and reinstalling it. Then you would capture that image and deploy it to the hosts that require it.

            I hope this helps lead you in the right direction.

            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

            JoeGJ 1 Reply Last reply Reply Quote 0
            • JoeGJ
              JoeG @Tom Elliott
              last edited by

              @Tom-Elliott said in "Unable to get subsection" error with RC-4:

              If you simply built a brand new server, and still have the old server available, you can do the “fixing” rather easily. If this is the case, you need to copy the ssl folder from the old in the new server’s ssl location (default is typically /opt/fog/snapins/ssl). Then you would need to rerun the FOG Installer on the new server. This will remake the public key so it matches the key pairing information from the original server, thus allowing your clients to operate.

              Thanks, Tom. I have dev and prod FOG servers and luckily this error has been on my dev server. My prod server is still RC-3, I will try copying that server’s ssl directory to the dev RC-4 server.

              FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

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

                @JoeG after copying over that directory you will also need to issue an SSL regen command from the fog installer. @Tom-Elliott or @Wayne-Workman can tell you how.

                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.

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

                  @Joe-Schmitt We wouldn’t. The public keys are automatically generated every 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
                  • J
                    Joe Schmitt Senior Developer
                    last edited by

                    My mistake. @JoeG what you are doing right now is cloning the identity of your prod server to your dev server. When a client installs it locks itself to a single server identity. By cloning it to multiple servers, the client will accept commands from either one.

                    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
                    • JoeGJ
                      JoeG @JoeG
                      last edited by JoeG

                      I was able to copy opt/fog/snapins/ssl/ from prod to dev server and the CA errors resolved. I get the “snapin hash does not exist error” now, but in the past recreating the snapins has resolved this for me. I will do that again and post another update. Latest logs are below in case you all have other insights. Thanks!

                      Joe

                      UPDATE: Recreating snapins resolved the hash error. @Wayne-Workman mark it solved! Thank you all for your help!

                      ------------------------------------------------------------------------------
                      --------------------------------Authentication--------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:38 PM Client-Info Version: 0.11.4
                       8/1/2016 2:38 PM Client-Info OS:      Windows
                       8/1/2016 2:38 PM Middleware::Authentication Waiting for authentication timeout to pass
                       8/1/2016 2:38 PM Middleware::Communication Download: http://172.16.23.1/fog/management/other/ssl/srvpublic.crt
                       8/1/2016 2:38 PM Data::RSA FOG Server CA cert found
                       8/1/2016 2:38 PM Middleware::Authentication Cert OK
                       8/1/2016 2:38 PM Middleware::Communication POST URL: http://172.16.23.1/fog/management/index.php?sub=requestClientInfo&authorize&newService
                       8/1/2016 2:38 PM Middleware::Response Success
                       8/1/2016 2:38 PM Middleware::Authentication Authenticated
                      
                      
                       8/1/2016 2:38 PM Bus Registering ParseBus in channel Power
                       8/1/2016 2:38 PM Middleware::Communication URL: http://172.16.23.1/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:39:02:5C|B8:08:CF:39:02:58|28:F1:0E:22:D0:9A||00:00:00:00:00:00:00:E0&newService&json
                       8/1/2016 2:39 PM Middleware::Response Success
                       8/1/2016 2:39 PM Middleware::Communication URL: http://172.16.23.1/fog/service/getversion.php?clientver&newService&json
                       8/1/2016 2:39 PM Middleware::Communication URL: http://172.16.23.1/fog/service/getversion.php?newService&json
                      
                       8/1/2016 2:39 PM Service Creating user agent cache
                       8/1/2016 2:39 PM Middleware::Response Invalid time
                       8/1/2016 2:39 PM Middleware::Response No Printers
                       8/1/2016 2:39 PM Middleware::Response Module is disabled globally on the FOG server
                       8/1/2016 2:39 PM Service Initializing modules
                      
                      ------------------------------------------------------------------------------
                      ---------------------------------ClientUpdater--------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response Success
                      ------------------------------------------------------------------------------
                      
                      
                      ------------------------------------------------------------------------------
                      ----------------------------------TaskReboot----------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response Success
                      ------------------------------------------------------------------------------
                      
                      
                      ------------------------------------------------------------------------------
                      --------------------------------HostnameChanger-------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response Success
                       8/1/2016 2:39 PM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                      ------------------------------------------------------------------------------
                      
                      
                      ------------------------------------------------------------------------------
                      ---------------------------------SnapinClient---------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response Success
                       8/1/2016 2:39 PM SnapinClient Snapin Found:
                       8/1/2016 2:39 PM SnapinClient     ID: -1
                       8/1/2016 2:39 PM SnapinClient     Name: 
                       8/1/2016 2:39 PM SnapinClient     Created: -1
                       8/1/2016 2:39 PM SnapinClient     Action: 
                       8/1/2016 2:39 PM SnapinClient     Pack: False
                       8/1/2016 2:39 PM SnapinClient     Hide: False
                       8/1/2016 2:39 PM SnapinClient     Server: 
                       8/1/2016 2:39 PM SnapinClient     TimeOut: -1
                       8/1/2016 2:39 PM SnapinClient     RunWith: 
                       8/1/2016 2:39 PM SnapinClient     RunWithArgs: 
                       8/1/2016 2:39 PM SnapinClient     Args: 
                       8/1/2016 2:39 PM SnapinClient     File: 
                       8/1/2016 2:39 PM SnapinClient ERROR: Snapin hash does not exist
                      ------------------------------------------------------------------------------
                      
                      
                      ------------------------------------------------------------------------------
                      --------------------------------PrinterManager--------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response No Printers
                       8/1/2016 2:39 PM PrinterManager Getting installed printers
                      ------------------------------------------------------------------------------
                      
                      
                      ------------------------------------------------------------------------------
                      --------------------------------PowerManagement-------------------------------
                      ------------------------------------------------------------------------------
                       8/1/2016 2:39 PM Client-Info Client Version: 0.11.4
                       8/1/2016 2:39 PM Client-Info Client OS:      Windows
                       8/1/2016 2:39 PM Client-Info Server Version: 1.3.0-RC-5
                       8/1/2016 2:39 PM Middleware::Response Success
                       8/1/2016 2:39 PM PowerManagement Calculating tasks to unschedule
                       8/1/2016 2:39 PM PowerManagement Calculating tasks to schedule
                      ------------------------------------------------------------------------------
                      
                      

                      FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

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

                        For future readers, the steps in the wiki for moving the ssl stuff for a “new” server would also work for making “another” server have matching certs. Here is the link:
                        https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Maintain_Control_Of_Hosts_When_Building_New_Server

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

                        163

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project