• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. physk
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    physk

    @physk

    0
    Reputation
    205
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    physk Unfollow Follow

    Latest posts made by physk

    • RE: Fog Client Ignoring --webroot=

      @Sebastian-Roth I’d like to point out that i was using sudo mono smartinstaller.exe --uninstall between running the next install. (Which should stop the service) I don’t know if that would make a difference?

      I have also found a little niggle with the deploy system. I will be making a new thread in a couple mins

      posted in Linux Problems
      P
      physk
    • RE: Fog Client Ignoring --webroot=

      @sebastian-roth I’m aware you don’t have to use the --webroot= but i was having the same issue without, That’s why i tried it to see if it would make a difference.

      According to my Client page on the WebUI it is 0.11.12. and I downloaded to my client machine directly from there.

      After a reboot it seems to be working. No idea why 😉

      “If it doesn’t work. Turn it off and on again.”

      18/10/2017 07:02 Service Starting service
       18/10/2017 07:02 Bus Became bus server
       18/10/2017 07:02 Bus Emmiting message on channel: Status
       18/10/2017 07:02 Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:02 Client-Info Version: 0.11.12
       18/10/2017 07:02 Client-Info OS:      Linux
       18/10/2017 07:02 Middleware::Authentication Waiting for authentication timeout to pass
       18/10/2017 07:02 Middleware::Communication Download: http://10.10.75.23/fog/management/other/ssl/srvpublic.crt
       18/10/2017 07:02 Middleware::Communication ERROR: Could not download file
       18/10/2017 07:02 Middleware::Communication ERROR: Error: ConnectFailure (Network is unreachable)
       18/10/2017 07:02 Middleware::Authentication ERROR: Could not authenticate
       18/10/2017 07:02 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/tmp/public.cer".
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:02 Client-Info Version: 0.11.12
       18/10/2017 07:02 Client-Info OS:      Linux
       18/10/2017 07:02 Middleware::Authentication Waiting for authentication timeout to pass
       18/10/2017 07:03 Controller Stop
       18/10/2017 07:03 Service Stop requested
       18/10/2017 07:03 Middleware::Authentication ERROR: Could not authenticate
       18/10/2017 07:03 Middleware::Authentication ERROR: 
       18/10/2017 07:03 Bus Emmiting message on channel: Status
       18/10/2017 07:05 Main Overriding exception handling
       18/10/2017 07:05 Main Bootstrapping Zazzles
       18/10/2017 07:05 Controller Initialize
       18/10/2017 07:05 Controller Start
      
       18/10/2017 07:05 Service Starting service
       18/10/2017 07:05 Bus Became bus server
       18/10/2017 07:05 Bus Emmiting message on channel: Status
       18/10/2017 07:05 Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:05 Client-Info Version: 0.11.12
       18/10/2017 07:05 Client-Info OS:      Linux
       18/10/2017 07:05 Middleware::Authentication Waiting for authentication timeout to pass
       18/10/2017 07:05 Middleware::Communication Download: http://10.10.75.23/fog/management/other/ssl/srvpublic.crt
       18/10/2017 07:05 Data::RSA FOG Server CA cert found
       18/10/2017 07:05 Middleware::Authentication Cert OK
       18/10/2017 07:05 Middleware::Authentication ERROR: Could not get security token
       18/10/2017 07:05 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/token.dat".
       18/10/2017 07:05 Middleware::Communication POST URL: http://10.10.75.23/fog/management/index.php?sub=requestClientInfo&authorize&newService
       18/10/2017 07:05 Middleware::Response Success
       18/10/2017 07:05 Middleware::Authentication Authenticated
      
      
       18/10/2017 07:05 Middleware::Communication URL: http://10.10.75.23/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       18/10/2017 07:05 Middleware::Response Success
       18/10/2017 07:05 Middleware::Communication URL: http://10.10.75.23/fog/management/index.php?sub=requestClientInfo&mac=00:50:56:A6:8A:FB&newService&json
       18/10/2017 07:05 Middleware::Response Success
       18/10/2017 07:05 Middleware::Communication URL: http://10.10.75.23/fog/service/getversion.php?clientver&newService&json
       18/10/2017 07:05 Middleware::Communication URL: http://10.10.75.23/fog/service/getversion.php?newService&json
      
       18/10/2017 07:05 Service Creating user agent cache
       18/10/2017 07:05 Middleware::Response Invalid time
       18/10/2017 07:05 Middleware::Response No Printers
       18/10/2017 07:05 Middleware::Response Module is disabled globally on the FOG server
       18/10/2017 07:06 Service Initializing modules
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response Success
       18/10/2017 07:06 HostnameChanger Checking Hostname
       18/10/2017 07:06 HostnameChanger Hostname is correct
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response No snapins
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response No Printers
       18/10/2017 07:06 PrinterManager Module is not compatible with Linux
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response Success
       18/10/2017 07:06 PowerManagement Calculating tasks to unschedule
       18/10/2017 07:06 PowerManagement Calculating tasks to schedule
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       18/10/2017 07:06 Client-Info Client Version: 0.11.12
       18/10/2017 07:06 Client-Info Client OS:      Linux
       18/10/2017 07:06 Client-Info Server Version: 1.4.4
       18/10/2017 07:06 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      posted in Linux Problems
      P
      physk
    • Fog Client Ignoring --webroot=

      Server
      OS: Ubuntu Server 17.04
      FOG Version: 1.4.4

      Client
      OS: Ubuntu Server 16.04

      chris@UBUSVR1604TPL:~$ sudo mono smartinstaller.exe --server=10.10.75.23 --webroot=/fog
      [Pass]
      Installing files........................................................[Pass]
      Saving Configuration....................................................[Pass]
      Applying Configuration..................................................[Pass]
      Pinning FOG Project.....................................................[Pass]
      Pinning Server..........................................................[Pass]
      
      chris@UBUSVR1604TPL:~$ sudo systemctl start FOGService
      chris@UBUSVR1604TPL:~$ cat /opt/fog-service/fog.log 
       18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/management/index.php?sub=requestClientInfo&configure&newService&json
       18/10/2017 05:50 Middleware::Response ERROR: Could not parse data
       18/10/2017 05:50 Middleware::Response ERROR: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
       18/10/2017 05:50 Service ERROR: Unable to get config data
       18/10/2017 05:50 Service ERROR: Object reference not set to an instance of an object
       18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/management/index.php?sub=requestClientInfo&mac=00:50:56:A6:8A:FB&newService&json
       18/10/2017 05:50 Middleware::Response ERROR: Could not parse data
       18/10/2017 05:50 Middleware::Response ERROR: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
       18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/service/getversion.php?clientver&newService&json
       18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/service/getversion.php?newService&json
       18/10/2017 05:50 Service ERROR: Unable to get cycle data
       18/10/2017 05:50 Service ERROR: Object reference not set to an instance of an object
       18/10/2017 05:50 Middleware::Response Success
      
      **snipped**
      chris@UBUSVR1604TPL:~$
      

      As you can see the installer successfully installs the certificate. but the client ignores the --webroot= when running the client, and therefore can’t do anything because it can’t access the webui without the missing /fog

      I have also tried --webroot="/fog" Same issue.

      Contents of /opt/fog-service/settings.json:

      chris@UBUSVR1604TPL:/opt/fog-service$ cat settings.json 
      {
        "HTTPS": "0",
        "Tray": "0",
        "Server": "10.10.75.23",
        "WebRoot": "/fog",
        "Version": "0.11.12",
        "Company": "FOG",
        "RootLog": "0"
      }
      

      Any Advice would be much appreciated

      posted in Linux Problems
      P
      physk