Fog Clients Unable to get subsection



  • Hi, I have recently upgraded my Fog server to 1.5.0-RC-10 (SVN 6080), but I am getting the error on clients machines:
    Middleware::Response ERROR: unable to get subsection
    Middleware::Response ERROR: Object reference not set to an instance of an object.

    Any idea? Do i need to update it again?
    Many thanks0_1512156400097_image_fog.png


  • Developer

    @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.



  • @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


  • Developer

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




  • Developer

    @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.



  • @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:~$
    

  • Developer

    @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.


  • Moderator

    @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 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
    

  • Developer

    @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.



  • 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.


  • Moderator

    @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.


Log in to reply
 

452
Online

39.4k
Users

11.1k
Topics

105.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.