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

    fog client on ubuntu 18.04

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    12
    792
    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
      jc35
      last edited by

      Ok, thanks for your answer.

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

        @jc35 Got around to hopefully get this fixed. Before officially releasing it we need more testing. Please download https://github.com/FOGProject/fog-client/releases/download/0.11.19/SmartInstaller_Linux_stop_hang_fixed.exe and test on your Ubuntu 18.04 install. I have tested on pre-20.04 myself and therefore don’t have a clue if this updated fog-client will run in Ubuntu 18.04 using .Net 4.5.2 now. Please give it a try and let us know.

        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
          jc35 @Sebastian Roth
          last edited by Sebastian Roth

          @Sebastian-Roth Hi,
          I install SmartInstaller_Linux_stop_hang_fixed.exe
          mono /opt/SmartInstaller_Linux_stop_hang_fixed.exe --server="fogserver" --webroot="/fog" -s -t 0

           06/04/2020 11:01:04 Main Overriding exception handling
           06/04/2020 11:01:05 Main Bootstrapping Zazzles
           06/04/2020 11:01:05 Controller Initialize
           06/04/2020 11:01:05 Controller Start
          
           06/04/2020 11:01:05 Service Starting service
           06/04/2020 11:01:05 Bus Became bus server
           06/04/2020 11:01:05 Bus Emmiting message on channel: Status
           06/04/2020 11:01:05 Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           06/04/2020 11:01:05 Client-Info Version: 0.11.19
           06/04/2020 11:01:05 Client-Info OS:      Linux
           06/04/2020 11:01:05 Middleware::Authentication Waiting for authentication timeout to pass
           06/04/2020 11:01:05 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
           06/04/2020 11:01:05 Data::RSA FOG Server CA cert found
           06/04/2020 11:01:05 Middleware::Authentication Cert OK
           06/04/2020 11:01:05 Middleware::Authentication No token found at /opt/fog-service/token.dat, this is expected if the client has not authenticated before
           06/04/2020 11:01:05 Middleware::Authentication ERROR: Could not get security token
           06/04/2020 11:01:05 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/token.dat".
           06/04/2020 11:01:05 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
           06/04/2020 11:01:05 Middleware::Response Invalid security token
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
           06/04/2020 11:01:05 Client-Info Version: 0.11.19
           06/04/2020 11:01:05 Client-Info OS:      Linux
           06/04/2020 11:01:05 Middleware::Authentication Waiting for authentication timeout to pass
          
          J 1 Reply Last reply Reply Quote 0
          • J
            jc35 @jc35
            last edited by

            @jc35 The next of log:

            I06/04/2020 11:09:05 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
             06/04/2020 11:09:05 Middleware::Response Success
             06/04/2020 11:09:05 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=18:03:73:3F:B4:FF&newService&json
             06/04/2020 11:09:06 Middleware::Authentication Waiting for authentication timeout to pass
             06/04/2020 11:11:05 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
             06/04/2020 11:11:05 Data::RSA FOG Server CA cert found
             06/04/2020 11:11:05 Middleware::Authentication Cert OK
             06/04/2020 11:11:05 Middleware::Authentication No token found at /opt/fog-service/token.dat, this is expected if the client has not authenticated before
             06/04/2020 11:11:05 Middleware::Authentication ERROR: Could not get security token
             06/04/2020 11:11:05 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/token.dat".
             06/04/2020 11:11:05 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
             06/04/2020 11:11:05 Middleware::Response Invalid security token
             06/04/2020 11:11:05 Middleware::Response Success
             06/04/2020 11:11:05 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
             06/04/2020 11:11:05 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
            
             06/04/2020 11:11:06 Service Creating user agent cache
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:11:06 Service Initializing modules
            
            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------PowerManagement-------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            ----------------------------------UserTracker---------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:11:06 Client-Info Client Version: 0.11.19
             06/04/2020 11:11:06 Client-Info Client OS:      Linux
             06/04/2020 11:11:06 Client-Info Server Version: 1.5.8
             06/04/2020 11:11:06 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:11:06 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:11:06 Service Sleeping for 940 seconds
             06/04/2020 11:26:46 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
             06/04/2020 11:26:46 Middleware::Response Success
             06/04/2020 11:26:46 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=18:03:73:3F:B4:FF&newService&json
             06/04/2020 11:26:47 Middleware::Authentication Waiting for authentication timeout to pass
             06/04/2020 11:26:47 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
             06/04/2020 11:26:47 Data::RSA FOG Server CA cert found
             06/04/2020 11:26:47 Middleware::Authentication Cert OK
             06/04/2020 11:26:47 Middleware::Authentication No token found at /opt/fog-service/token.dat, this is expected if the client has not authenticated before
             06/04/2020 11:26:47 Middleware::Authentication ERROR: Could not get security token
             06/04/2020 11:26:47 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/token.dat".
             06/04/2020 11:26:47 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
             06/04/2020 11:26:47 Middleware::Response Invalid security token
             06/04/2020 11:26:47 Middleware::Response Success
             06/04/2020 11:26:47 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
             06/04/2020 11:26:47 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
            
             06/04/2020 11:26:48 Service Creating user agent cache
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            ---------------------------------ClientUpdater--------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response Success
            ------------------------------------------------------------------------------
            
            
            ------------------------------------------------------------------------------
            ----------------------------------TaskReboot----------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------HostnameChanger-------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------PrinterManager--------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            --------------------------------PowerManagement-------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
            
            ------------------------------------------------------------------------------
            ----------------------------------UserTracker---------------------------------
            ------------------------------------------------------------------------------
             06/04/2020 11:26:48 Client-Info Client Version: 0.11.19
             06/04/2020 11:26:48 Client-Info Client OS:      Linux
             06/04/2020 11:26:48 Client-Info Server Version: 1.5.8
             06/04/2020 11:26:48 Middleware::Response ERROR: Unable to get subsection
             06/04/2020 11:26:48 Middleware::Response ERROR: Object reference not set to an instance of an object
             06/04/2020 11:26:48 Service Sleeping for 972 secondsnsert Code Here
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @jc35 said in fog client on ubuntu 18.04:

              Middleware::Response Invalid security token

              Do a “Reset Encryption Data” for this host in the FOG web GUI!

              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

              J 1 Reply Last reply Reply Quote 0
              • J
                jc35 @Sebastian Roth
                last edited by

                @Sebastian-Roth I try on 2 machines and it works.

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

                  @jc35 So shutdown is not hanging anymore and fog-client functions as expected? Did you also test scheduling a power task to shutdown or reboot the machines?

                  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
                    jc35 @jc35
                    last edited by

                    @jc35 Hi,
                    Yesterday I have the same problem on a machine, when a powerdown.
                    I retry this. The client can’t contact the server because the vpn is down.
                    Client updater works on Linux ?

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

                      @jc35 said:

                      Client updater works on Linux ?

                      Really good question. I have not tried this myself I think. Not sure if it does. Will need to check.

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

                        @jc35 Found some time to look into the client updater on Linux and seems like there are a few issues with that unfortunately. I was able to find and fix the first one but it still needs more work.

                        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
                        • [[undefined-on, S Sebastian Roth, ]]
                        • 1 / 1
                        • First post
                          Last post

                        158

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project