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

    Hostname changer "Unable to get subsection" 1.3.0-RC-7

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    36
    7.9k
    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 Schmitt Senior Developer
      last edited by

      @arnaudrigole I’m not seeing the starting and stoping in that log file. Please upload the entire fog.log

      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.

      arnaudrigoleA 1 Reply Last reply Reply Quote 0
      • arnaudrigoleA
        arnaudrigole @Joe Schmitt
        last edited by

        @Joe-Schmitt
        Sorry, i think it was the same data in cycles.
        Here is an entire file :

         05/10/2016 17:13 Main Overriding exception handling
         05/10/2016 17:13 Main Bootstrapping Zazzles
         05/10/2016 17:13 Controller Initialize
         05/10/2016 17:13 Zazzles Creating main thread
         05/10/2016 17:13 Zazzles Service construction complete
         05/10/2016 17:13 Controller Start
        
         05/10/2016 17:13 Service Starting service
         05/10/2016 17:13 Bus Became bus server
         05/10/2016 17:13 Bus {
          "self": true,
          "channel": "Status",
          "data": "{\r\n  \"action\": \"load\"\r\n}"
        }
         05/10/2016 17:13 Bus Emmiting message on channel: Status
         05/10/2016 17:13 Service Invoking early JIT compilation on needed binaries
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:13 Client-Info Version: 0.11.5
         05/10/2016 17:13 Client-Info OS:      Windows
         05/10/2016 17:13 Middleware::Authentication Waiting for authentication timeout to pass
         05/10/2016 17:13 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
         05/10/2016 17:13 Data::RSA FOG Server CA cert found
         05/10/2016 17:13 Middleware::Authentication Cert OK
         05/10/2016 17:13 Middleware::Authentication ERROR: Could not get security token
         05/10/2016 17:13 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         05/10/2016 17:13 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
         05/10/2016 17:13 Middleware::Response Error multiple hosts returned for list of mac addresses
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:13 Client-Info Version: 0.11.5
         05/10/2016 17:13 Client-Info OS:      Windows
         05/10/2016 17:13 Middleware::Authentication Waiting for authentication timeout to pass
         05/10/2016 17:15 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
         05/10/2016 17:15 Data::RSA FOG Server CA cert found
         05/10/2016 17:15 Middleware::Authentication Cert OK
         05/10/2016 17:15 Middleware::Authentication ERROR: Could not get security token
         05/10/2016 17:15 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         05/10/2016 17:15 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
         05/10/2016 17:15 Middleware::Response Error multiple hosts returned for list of mac addresses
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:15 Client-Info Version: 0.11.5
         05/10/2016 17:15 Client-Info OS:      Windows
         05/10/2016 17:15 Middleware::Authentication Waiting for authentication timeout to pass
         05/10/2016 17:17 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
         05/10/2016 17:17 Data::RSA FOG Server CA cert found
         05/10/2016 17:17 Middleware::Authentication Cert OK
         05/10/2016 17:17 Middleware::Authentication ERROR: Could not get security token
         05/10/2016 17:17 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         05/10/2016 17:17 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
         05/10/2016 17:17 Middleware::Response Error multiple hosts returned for list of mac addresses
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:17 Client-Info Version: 0.11.5
         05/10/2016 17:17 Client-Info OS:      Windows
         05/10/2016 17:17 Middleware::Authentication Waiting for authentication timeout to pass
         05/10/2016 17:19 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
         05/10/2016 17:19 Data::RSA FOG Server CA cert found
         05/10/2016 17:19 Middleware::Authentication Cert OK
         05/10/2016 17:19 Middleware::Authentication ERROR: Could not get security token
         05/10/2016 17:19 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         05/10/2016 17:19 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
         05/10/2016 17:19 Middleware::Response Error multiple hosts returned for list of mac addresses
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:19 Client-Info Version: 0.11.5
         05/10/2016 17:19 Client-Info OS:      Windows
         05/10/2016 17:19 Middleware::Authentication Waiting for authentication timeout to pass
         05/10/2016 17:21 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
         05/10/2016 17:21 Data::RSA FOG Server CA cert found
         05/10/2016 17:21 Middleware::Authentication Cert OK
         05/10/2016 17:21 Middleware::Authentication ERROR: Could not get security token
         05/10/2016 17:21 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         05/10/2016 17:21 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
         05/10/2016 17:21 Middleware::Response Error multiple hosts returned for list of mac addresses
        
        
         05/10/2016 17:21 Bus Registering ParseBus in channel Power
         05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:3C:95:CE|00:A0:C6:00:00:14|B8:08:CF:3C:95:CA|28:F1:0E:2D:C4:6A|02:50:41:00:00:01||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
         05/10/2016 17:21 Middleware::Response ERROR: Could not parse data
         05/10/2016 17:21 Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
         05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
         05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
         05/10/2016 17:21 Service ERROR: Unable to get cycle data
         05/10/2016 17:21 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
         05/10/2016 17:21 Middleware::Response Success
         05/10/2016 17:21 Service Initializing modules
        
        ------------------------------------------------------------------------------
        ---------------------------------ClientUpdater--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        ----------------------------------TaskReboot----------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        --------------------------------HostnameChanger-------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        ---------------------------------SnapinClient---------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        --------------------------------PrinterManager--------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        --------------------------------PowerManagement-------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
        
        ------------------------------------------------------------------------------
        ----------------------------------UserTracker---------------------------------
        ------------------------------------------------------------------------------
         05/10/2016 17:21 Client-Info Client Version: 0.11.5
         05/10/2016 17:21 Client-Info Client OS:      Windows
         05/10/2016 17:21 Client-Info Server Version: 1.3.0-RC-11
         05/10/2016 17:21 Middleware::Response ERROR: Unable to get subsection
         05/10/2016 17:21 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
         05/10/2016 17:21 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
         05/10/2016 17:21 Middleware::Response Success
         05/10/2016 17:21 Service Sleeping for 116 seconds
        
        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @arnaudrigole
          last edited by

          @arnaudrigole said in Hostname changer "Unable to get subsection" 1.3.0-RC-7:

          05/10/2016 17:21 Middleware::Response Error multiple hosts returned for list of mac addresses

          This seems to be the 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! 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

          arnaudrigoleA 2 Replies Last reply Reply Quote 1
          • arnaudrigoleA
            arnaudrigole @Tom Elliott
            last edited by arnaudrigole

            @Tom-Elliott
            I don’t understand…
            This issue happens on all computers (100% new, unboxed, never ccnnected to our network) and after imaging with fog
            i have no host duplicate in fog gui

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

              @arnaudrigole It’s likely caused by a virtual network adapter (e.g. a TAP driver, virtualbox, vmware, …).

              From the log file, here’s the macs your machine has:

              • B8:08:CF:3C:95:CE
              • 00:A0:C6:00:00:14
              • B8:08:CF:3C:95:CA
              • 28:F1:0E:2D:C4:6A
              • 02:50:41:00:00:01
              • 00:00:00:00:00:00:00:E0

              I would search each one of them in the fog ui under your host list. At least one of them will return multiple hosts.

              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
              • arnaudrigoleA
                arnaudrigole @Tom Elliott
                last edited by arnaudrigole

                @Tom-Elliott

                This seems to be the cause.

                I encounter this issue on all our computer, freshly unboxed, never connected on our network and just imaged with fog… No duplicate entries in fog hosts :s

                Look at that error in GUI ! ?
                alt text
                alt text

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

                  @arnaudrigole The message is clear. There’s multiple host entries for the mac (or mac’s) in question. This can happen for any number of reasons. If you use a USB NIC, I’m guessing this is “shared” with multiple systems?

                  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

                  arnaudrigoleA 1 Reply Last reply Reply Quote 1
                  • arnaudrigoleA
                    arnaudrigole @Tom Elliott
                    last edited by

                    @Tom-Elliott
                    Im not using USB nic…
                    I have no duplicate entries in fog hosts, im 100% sure.
                    As i said, my test computers are dell laptops just unboxed! There is no duplicate possible

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

                      @arnaudrigole The message is clear, there is a Duplicate somewhere. We need you to search for it by searching for the MAC’s that @Joe-Schmitt gave you earlier.

                      You can even do a manual sql query if needed.

                      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 2
                      • arnaudrigoleA
                        arnaudrigole
                        last edited by

                        @Joe-Schmitt
                        Maybe the VPN network card

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

                          @arnaudrigole If you search for each mac (individually) that I listed previously in your FOG web ui as Tom and I have been suggesting then you would see those duplicates.

                          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.

                          arnaudrigoleA 1 Reply Last reply Reply Quote 1
                          • arnaudrigoleA
                            arnaudrigole @Joe Schmitt
                            last edited by

                            @Joe-Schmitt @Tom-Elliott
                            Excuse me, i haven’t refreshed that page to see your last messages!
                            The problem come from our VPN network card… but how can i bypass it ?

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

                              You need to find which mac address is currently associated to multiple hosts.

                              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

                              arnaudrigoleA 1 Reply Last reply Reply Quote 1
                              • arnaudrigoleA
                                arnaudrigole @Tom Elliott
                                last edited by arnaudrigole

                                @Tom-Elliott
                                Yes it’s the 02:50:41:00:00:01 : PANGP (vpn) adapter
                                So how can i configure fog to bypass that MAC and only read the ethernet / wifi MAC ?

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

                                  Now you need to delete that mac address entirely from the database.

                                  This can be done in mysql with:

                                  DELETE FROM hostMAC where hmMAC LIKE '02:50:41:00:00:01';

                                  Then add the MAC to be filtered:

                                  Something like:

                                  UPDATE globalSettings SET settingValue='02:50:41:00:00:01' WHERE settingKey='FOG_QUICKREG_PENDING_MAC_FILTER';

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

                                    The GUI can also be used to add “filtered MAC’s” this is simply a comma separated list (e.g. mac1,mac2,mac3,etc…)

                                    The GUI accessible portion to add the filtered mac is:
                                    FOG Configuration Page ->
                                    FOG Settings ->
                                    FOG Client - Host Register ->
                                    FOG_QUICKREG_PENDING_MAC_FILTER

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

                                    193

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project