• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. marted
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 99
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: FOG Client cannot communicate with the server (token.data missing)

      @Sebastian-Roth said in FOG Client cannot communicate with the server (token.data missing):

      Do you actually use FOG with secure HTTPS (installer run with option --force-https)??

      Yes, we use FOG with https. It works fine for capturing image and deploying it.

      There is no button to reset in the host on the Web UI. The client has never communicated with the server and I don’t see the button reset

      posted in Windows Problems
      M
      marted
    • RE: FOG Client cannot communicate with the server (token.data missing)

      @Sebastian-Roth said in FOG Client cannot communicate with the server (token.data missing):

      What exactly did you do?? From what you posted last the log has not changed, still Response Invalid MAC address format…

      Before was just that , now after the message for invalid MAC it says responds successfully…

      posted in Windows Problems
      M
      marted
    • RE: FOG Client cannot communicate with the server (token.data missing)

      I changed the value 0 to 1 in settings.json and started again the fog services

      posted in Windows Problems
      M
      marted
    • RE: FOG Client cannot communicate with the server (token.data missing)

      I did it, now the log changed but still not working.

      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:34 Client-Info Client Version: 0.11.16
       2019-12-12 12:34 Client-Info Client OS:      Windows
       2019-12-12 12:34 Client-Info Server Version: 1.5.7
       2019-12-12 12:34 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:34 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
       2019-12-12 12:34 Service Sleeping for 131 seconds
       2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       2019-12-12 12:36 Middleware::Response Success
       2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json
       2019-12-12 12:36 Middleware::Authentication Waiting for authentication timeout to pass
       2019-12-12 12:36 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
       2019-12-12 12:36 Data::RSA FOG Server CA cert found
       2019-12-12 12:36 Middleware::Authentication Cert OK
       2019-12-12 12:36 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       2019-12-12 12:36 Middleware::Authentication ERROR: Could not get security token
       2019-12-12 12:36 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
       2019-12-12 12:36 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
       2019-12-12 12:36 Middleware::Response Invalid MAC address format
       2019-12-12 12:36 Middleware::Response Success
       2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json
       2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json
      
       2019-12-12 12:36 Service Creating user agent cache
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       2019-12-12 12:36 Client-Info Client Version: 0.11.16
       2019-12-12 12:36 Client-Info Client OS:      Windows
       2019-12-12 12:36 Client-Info Server Version: 1.5.7
       2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection
       2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
       2019-12-12 12:36 Service Sleeping for 135 seconds
      
      posted in Windows Problems
      M
      marted
    • FOG Client cannot communicate with the server (token.data missing)

      Little problem we found when we installed the fog client in windows (version 1.5.7 and client 0.11.16). It says token.data missing, and the log of apache2 shows some problems with the mac address format description in the hosts description on the server. The test host we test was kept with fog quick registration and fog added the mac address. We tried with other host which we registered manually on the server but we have the same error. I red a lot here but still cannot find a solution. I tried also to send few times the package MSI but it doesn’t work. On the server says Checked in but nothing happen.

      Appache2 log :

      foglabunix@foglabunix:/var/log/apache2$ cat error.log
      [Thu Dec 12 00:09:57.289277 2019] [mpm_prefork:notice] [pid 1168] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
      [Thu Dec 12 00:09:57.289294 2019] [core:notice] [pid 1168] AH00094: Command line: '/usr/sbin/apache2'
      [Thu Dec 12 08:51:13.786212 2019] [proxy_fcgi:error] [pid 3195] [client 192.168.148.192:44500] AH01071: Got error 'PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/fog/lib/fog/fogpage.class.php on line 773\n', referer: https://192.168.149.43//fog/management/index.php?node=task&sub=activesnapins
      [Thu Dec 12 08:51:21.116018 2019] [proxy_fcgi:error] [pid 3190] [client 192.168.148.192:44534] AH01071: Got error 'PHP message: PHP Warning:  Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
      [Thu Dec 12 08:58:21.686781 2019] [proxy_fcgi:error] [pid 3279] [client 192.168.148.192:44632] AH01071: Got error 'PHP message: PHP Warning:  Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
      [Thu Dec 12 09:08:46.927498 2019] [proxy_fcgi:error] [pid 3191] [client 192.168.148.192:44804] AH01071: Got error 'PHP message: PHP Warning:  Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
      

      fog log (c:\fog):

      2019-12-12 09:06 Main Overriding exception handling
      
       2019-12-12 09:06 Main Bootstrapping Zazzles
      
       2019-12-12 09:06 Controller Initialize
      
       2019-12-12 09:06 Controller Start
      
      
      
       2019-12-12 09:06 Service Starting service
      
       2019-12-12 09:06 Bus Became bus server
      
       2019-12-12 09:06 Bus Emmiting message on channel: Status
      
       2019-12-12 09:06 Service Invoking early JIT compilation on needed binaries
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------Authentication--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:06 Client-Info Version: 0.11.16
      
       2019-12-12 09:06 Client-Info OS:      Windows
      
       2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:06 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:06 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:06 Middleware::Authentication Cert OK
      
       2019-12-12 09:06 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:06 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:06 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:06 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:06 Middleware::Response Invalid MAC address format
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------Authentication--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:06 Client-Info Version: 0.11.16
      
       2019-12-12 09:06 Client-Info OS:      Windows
      
       2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:08 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:08 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:08 Middleware::Authentication Cert OK
      
       2019-12-12 09:08 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:08 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:08 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:08 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:08 Middleware::Response Invalid MAC address format
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------Authentication--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:08 Client-Info Version: 0.11.16
      
       2019-12-12 09:08 Client-Info OS:      Windows
      
       2019-12-12 09:08 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:10 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:10 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:10 Middleware::Authentication Cert OK
      
       2019-12-12 09:10 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:10 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:10 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:10 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:10 Middleware::Response Invalid MAC address format
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------Authentication--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:10 Client-Info Version: 0.11.16
      
       2019-12-12 09:10 Client-Info OS:      Windows
      
       2019-12-12 09:10 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:12 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:12 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:12 Middleware::Authentication Cert OK
      
       2019-12-12 09:12 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:12 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:12 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:12 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:12 Middleware::Response Invalid MAC address format
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------Authentication--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:12 Client-Info Version: 0.11.16
      
       2019-12-12 09:12 Client-Info OS:      Windows
      
       2019-12-12 09:12 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:14 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:14 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:14 Middleware::Authentication Cert OK
      
       2019-12-12 09:14 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:14 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:14 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:14 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:14 Middleware::Response Invalid MAC address format
      
      
      
      
      
       2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json
      
       2019-12-12 09:14 Middleware::Response Success
      
       2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json
      
       2019-12-12 09:14 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:16 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:16 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:16 Middleware::Authentication Cert OK
      
       2019-12-12 09:16 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:16 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:16 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:16 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:16 Middleware::Response Invalid MAC address format
      
       2019-12-12 09:16 Middleware::Response Success
      
       2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json
      
       2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json
      
      
      
       2019-12-12 09:16 Service Creating user agent cache
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:16 Service Initializing modules
      
      
      
      ------------------------------------------------------------------------------
      
      ---------------------------------ClientUpdater--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response Success
      
      ------------------------------------------------------------------------------
      
      
      
      
      
      ------------------------------------------------------------------------------
      
      ----------------------------------TaskReboot----------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------HostnameChanger-------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      ---------------------------------SnapinClient---------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------PrinterManager--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------PowerManagement-------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      ----------------------------------UserTracker---------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:16 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:16 Client-Info Client OS:      Windows
      
       2019-12-12 09:16 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:16 Service Sleeping for 123 seconds
      
       2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json
      
       2019-12-12 09:18 Middleware::Response Success
      
       2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json
      
       2019-12-12 09:18 Middleware::Authentication Waiting for authentication timeout to pass
      
       2019-12-12 09:18 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt
      
       2019-12-12 09:18 Data::RSA FOG Server CA cert found
      
       2019-12-12 09:18 Middleware::Authentication Cert OK
      
       2019-12-12 09:18 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
      
       2019-12-12 09:18 Middleware::Authentication ERROR: Could not get security token
      
       2019-12-12 09:18 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
      
       2019-12-12 09:18 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService
      
       2019-12-12 09:18 Middleware::Response Invalid MAC address format
      
       2019-12-12 09:18 Middleware::Response Success
      
       2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json
      
       2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json
      
      
      
       2019-12-12 09:18 Service Creating user agent cache
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      ---------------------------------ClientUpdater--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response Success
      
      ------------------------------------------------------------------------------
      
      
      
      
      
      ------------------------------------------------------------------------------
      
      ----------------------------------TaskReboot----------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------HostnameChanger-------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      ---------------------------------SnapinClient---------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------PrinterManager--------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      --------------------------------PowerManagement-------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
      
      
      ------------------------------------------------------------------------------
      
      ----------------------------------UserTracker---------------------------------
      
      ------------------------------------------------------------------------------
      
       2019-12-12 09:18 Client-Info Client Version: 0.11.16
      
       2019-12-12 09:18 Client-Info Client OS:      Windows
      
       2019-12-12 09:18 Client-Info Server Version: 1.5.7
      
       2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection
      
       2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
      
       2019-12-12 09:18 Service Sleeping for 141 seconds
      
      
      posted in Windows Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Sebastian-Roth thank you. Meanwhile I switched to http and continuing with my tests. It works fine like always on http. I have an impression that iPXE doesn’t get the correct certificate or doesn’t compile it at all.
      How can I checked that?

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Sebastian-Roth reinstalled complitly FOG like http (I deleted everything , left only /images and users). Works fine
      It boots well in http. reinstall again only with -S , again the same problem.
      output from https://192.168.149.43/fog/service/ipxe/boot.php in web broser . I even changed the permissions of the boot.php file on the server but no effect

      #!ipxe
      set fog-ip 192.168.149.43
      set fog-webroot fog
      set boot-url https://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture https://192.168.149.43/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=memtest.bin iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.reginput
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://192.168.149.43/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.149.43:/images/ storageip=192.168.149.43 loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://192.168.149.43/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.149.43:/images/ storageip=192.168.149.43 loglevel=4 mode=autoreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.deployimage
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://192.168.149.43/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.149.43:/images/ storageip=192.168.149.43 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :bootme
      chain -ar https://192.168.149.43/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      
      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Sebastian-Roth no errors . Do I have to copy the new files compiled manually to /tftpboot ?

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Sebastian-Roth I reinstalled With the options you suggested -S -K -C and web aces fro my home worked fine but this morning when I tried to boot a computer in my lab it gives permission denied error. I checked the error on the website of iPXE it says problem with the certificate. I reinstalled the server two times once only with -S only (same error) and second time with -S -C - K I thought maybe iPXE was not compiled well , but still same error. Before l’installation I fixed the .fogsetings with the real IP 192.168…
      the permissions are correct for iPXE in var/www
      Any suggestions? Thanks!
      e63cab9c-e318-4422-aebd-e89489e0a1fd.jpeg

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Sebastian-Roth thanks for the complete explanation about reverse VPN. Maybe me with my poor English, I’m not capable to explain you in details like I want the network configuration in the university (unfortunately we speak french here in Quebec, Canada better than English:) ), but I truly understand what you wrote and I appreciate the time you spent for that.
      Everything works fine now, I was capable to generate a second certificate with 132.208 and I installed in my access computer. Thanks again.

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott we have a restrict proxy installed in our university. To access 132.208 network to the university I need to use private VPN configured and managed by the university. Once I activated the VPN with a private password now I have access to my 132.208 NAT. without VPN nobody from the network cannot access it. All I show you is with a VPN to the university ON. The point is to use 132.208 with VPN on and ssl not to use a computer in the lab 192.168

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott if I get a 3rd party certificate which I can do, how can I replace the fog certificate?

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott it doesn’t work
      it passed only with the IP NAT 132.208
      screenshot_5.png
      screenshot_6.png

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott I run the installation only with -S and root like @Sebastian-Roth Sebastian offered. The installation passed with no problems. Monday morning will try the boot and will post it here

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott said in 2019...a step by step activating ssl and complying iPXE with it:

      @marted TO get rid of the “not secure” you see, you need to download the ca.cert from the FOG Server.
      https://foglabunix/fog/management/other/ca.cert.der
      And put that in your machine’s trust root authority.
      As to making iPXE obtain from https, you should be able to do this by reinstalling fog (assuming you didn’t reinstall when building the ipxe binaries)?

      Tom I have a little bit different configuration from the standard. My FOG server is in private network 192. and I have a NAT IP 132. 1:1 only for my server for accessing it from internet. Even with certificate installed it says that the certificate is only for 192.168 and name foglabunix and not for my address 132.208, which is normal. How can i pass to the certificate my second IP 132.208?
      Is there a way to add it in fogconfig file in the variable ipaddress both with the private IP or there is other way?
      By the way in MAC OS when I installed the certificate, even with 132.208 it accepted it and I have a SSL connection with no error.
      screenshot_4.png

      posted in FOG Problems
      M
      marted
    • RE: GRUB2 solution for dual boot image ( Windows/ Ubuntu)

      @Sebastian-Roth it works now 🙂 when I rebuild an image with clean windows and Ubuntu without touching windows partitions just I made a partition for Ubuntu.
      Just now I need to figer out how to delete the windows boot manager and keep only grub2 , but the image was deployed to the other machine without ANY problems!!!

      posted in Linux Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott got this. Thanks

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott said in 2019...a step by step activating ssl and complying iPXE with it:

      As to making iPXE obtain from https, you should be able to do this by reinstalling fog (assuming you didn’t reinstall when building the ipxe binaries)?

      The iPXE was recompiled at the end of the new installation with success. Do I have to start again the installation?

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott said in 2019...a step by step activating ssl and complying iPXE with it:

      TO get rid of the “not secure” you see, you need to download the ca.cert from the FOG Server.
      https://foglabunix/fog/management/other/ca.cert.der
      And put that in your machine’s trust root authority.

      Could you tell me where to put exactly the certificate on my server root ?

      posted in FOG Problems
      M
      marted
    • RE: 2019...a step by step activating ssl and complying iPXE with it

      @Tom-Elliott Now it works 🙂
      it finished compiling the iPXE and after this I’ve booted a computer and everything was OK, iPXE boot. when it boots a computer It says that it boot http iPXE but I think this is not the right information right?
      the web access is still non secure even with https. Is there any way to fix that?

      posted in FOG Problems
      M
      marted
    • 1 / 1