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

    join active directory using fog on ubuntu /linux

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    22
    6.6k
    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.
    • justeverythingJ
      justeverything @Joe Schmitt
      last edited by

      @Joe-Schmitt I also had to run a sudo apt-get autoremove because of some error codes related to different mono versions. Now it is installing mono version 4.2.1.

      mono --version output: Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)

      after rerunning the SmartInstaller.exe with mono I still have FOGService active (exited) 😞

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

        @justeverything active (exited) is fine, that’s just how the client wraps itself around the various linux service controllers. Whats; more important now is the log file.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        justeverythingJ 1 Reply Last reply Reply Quote 0
        • justeverythingJ
          justeverything @Joe Schmitt
          last edited by justeverything

          @Joe-Schmitt the installation logfile “SmartInstaller.log” says:

          3/7/2017 5:17 PM Process ERROR: Unable to run process
          3/7/2017 5:17 PM Process ERROR: ApplicationName='sysv-rc-conf', CommandLine='FOGService off', CurrentDirectory='', Native error= Cannot find the specified file
          3/7/2017 5:17 PM Process ERROR: Unable to run process
          3/7/2017 5:17 PM Process ERROR: ApplicationName='chkconfig', CommandLine='FOGService off', CurrentDirectory='', Native error= Cannot find the specified file
          3/7/2017 5:17 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ca.cert.der
          3/7/2017 5:17 PM Data::RSA Injecting root CA:
          

          the fog.log is here:

          3/7/2017 5:17 PM Main Overriding exception handling
          3/7/2017 5:17 PM Main Bootstrapping Zazzles
          3/7/2017 5:17 PM Controller Initialize
          3/7/2017 5:17 PM Zazzles Creating main thread
          3/7/2017 5:17 PM Zazzles Service construction complete
          3/7/2017 5:17 PM Controller Start
          
          3/7/2017 5:17 PM Service Starting service
          3/7/2017 5:17 PM Bus Became bus server
          3/7/2017 5:17 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"load\"\n}"
          }
          3/7/2017 5:17 PM Bus Emmiting message on channel: Status
          3/7/2017 5:17 PM Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Version: 0.11.9
          3/7/2017 5:17 PM Client-Info OS:      Linux
          3/7/2017 5:17 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:17 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:17 PM Data::RSA FOG Server CA cert found
          3/7/2017 5:17 PM Middleware::Authentication Cert OK
          3/7/2017 5:17 PM Middleware::Authentication ERROR: Could not get security token
          3/7/2017 5:17 PM Middleware::Authentication ERROR: Could not find file "/opt/fog-service/token.dat".
          3/7/2017 5:17 PM Middleware::Communication POST URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&authorize&newService
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM Middleware::Authentication Authenticated
          
          
          3/7/2017 5:17 PM Bus Registering ParseBus in channel Power
          3/7/2017 5:17 PM Middleware::Communication URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&configure&newService&json
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM Middleware::Communication URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&mac=44:37:E6:56:46:19&newService&json
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM Middleware::Communication URL: http://10.83.167.14/fog/service/getversion.php?clientver&newService&json
          3/7/2017 5:17 PM Middleware::Communication URL: http://10.83.167.14/fog/service/getversion.php?newService&json
          
          3/7/2017 5:17 PM Service Creating user agent cache
          3/7/2017 5:17 PM Middleware::Response Invalid time
          3/7/2017 5:17 PM Middleware::Response No Printers
          3/7/2017 5:17 PM Middleware::Response Module is disabled globally on the FOG server
          3/7/2017 5:17 PM Service Initializing modules
          
          ------------------------------------------------------------------------------
          ---------------------------------ClientUpdater--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          ----------------------------------TaskReboot----------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          --------------------------------HostnameChanger-------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM HostnameChanger Checking Hostname
          3/7/2017 5:17 PM HostnameChanger Removing host from domain
          3/7/2017 5:17 PM HostnameChanger ERROR: Required domain information is missing
          3/7/2017 5:17 PM HostnameChanger Renaming host to fog-desktop-173
          3/7/2017 5:17 PM HostnameChanger Brute forcing hostname change...
          3/7/2017 5:17 PM HostnameChanger --> Success /etc/hostname
          3/7/2017 5:17 PM HostnameChanger ERROR: --> Did not find /etc/HOSTNAME
          3/7/2017 5:17 PM HostnameChanger --> Success /etc/hosts
          3/7/2017 5:17 PM HostnameChanger ERROR: --> Did not find /etc/sysconfig/network
          3/7/2017 5:17 PM Power Creating shutdown command in 60 seconds
          3/7/2017 5:17 PM Bus {
           "self": true,
           "channel": "Power",
           "data": "{\n  \"action\": \"request\",\n  \"period\": 60,\n  \"options\": 2,\n  \"command\": \"-r +0 \\\"FOG needs to rename your computer\\\"\",\n  \"aggregatedDelayTime\": 0,\n  \"message\": \"\"\n}"
          }
          3/7/2017 5:17 PM Bus Emmiting message on channel: Power
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          ---------------------------------SnapinClient---------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM SnapinClient A power operation is pending, aborting module
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          --------------------------------PrinterManager--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response No Printers
          3/7/2017 5:17 PM PrinterManager Module is not compatible with Linux
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          --------------------------------PowerManagement-------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM PowerManagement Calculating tasks to unschedule
          3/7/2017 5:17 PM PowerManagement Calculating tasks to schedule
          ------------------------------------------------------------------------------
          
          
          ------------------------------------------------------------------------------
          ----------------------------------UserTracker---------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Client Version: 0.11.9
          3/7/2017 5:17 PM Client-Info Client OS:      Linux
          3/7/2017 5:17 PM Client-Info Server Version: 1.3.4
          3/7/2017 5:17 PM Middleware::Response Success
          3/7/2017 5:17 PM Middleware::Communication URL: http://10.83.167.14/fog/service/usertracking.report.php?action=login&user=foguser\ukpadmin&mac=44:37:E6:56:46:19&newService&json
          ------------------------------------------------------------------------------
          
          3/7/2017 5:17 PM Service Sleeping for 112 seconds
          3/7/2017 5:17 PM Controller Stop
          3/7/2017 5:17 PM Service Stop requested
          3/7/2017 5:17 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"unload\"\n}"
          }
          3/7/2017 5:17 PM Bus Emmiting message on channel: Status
          3/7/2017 5:17 PM Main Overriding exception handling
          3/7/2017 5:17 PM Main Bootstrapping Zazzles
          3/7/2017 5:17 PM Controller Initialize
          3/7/2017 5:17 PM Zazzles Creating main thread
          3/7/2017 5:17 PM Zazzles Service construction complete
          3/7/2017 5:17 PM Controller Start
          
          3/7/2017 5:17 PM Service Starting service
          3/7/2017 5:17 PM Bus Became bus server
          3/7/2017 5:17 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"load\"\n}"
          }
          3/7/2017 5:17 PM Bus Emmiting message on channel: Status
          3/7/2017 5:17 PM Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:17 PM Client-Info Version: 0.11.9
          3/7/2017 5:17 PM Client-Info OS:      Linux
          3/7/2017 5:17 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:17 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:18 PM Controller Stop
          3/7/2017 5:18 PM Service Stop requested
          3/7/2017 5:18 PM Middleware::Communication ERROR: Could not download file
          3/7/2017 5:18 PM Middleware::Communication ERROR: 
          3/7/2017 5:18 PM Middleware::Authentication ERROR: Could not authenticate
          3/7/2017 5:18 PM Middleware::Authentication ERROR: 
          3/7/2017 5:18 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"unload\"\n}"
          }
          3/7/2017 5:18 PM Bus Emmiting message on channel: Status
          3/7/2017 5:20 PM Main Overriding exception handling
          3/7/2017 5:20 PM Main Bootstrapping Zazzles
          3/7/2017 5:20 PM Controller Initialize
          3/7/2017 5:20 PM Zazzles Creating main thread
          3/7/2017 5:20 PM Zazzles Service construction complete
          3/7/2017 5:20 PM Controller Start
          
          3/7/2017 5:20 PM Service Starting service
          3/7/2017 5:20 PM Bus Became bus server
          3/7/2017 5:20 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"load\"\n}"
          }
          3/7/2017 5:20 PM Bus Emmiting message on channel: Status
          3/7/2017 5:20 PM Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:20 PM Client-Info Version: 0.11.9
          3/7/2017 5:20 PM Client-Info OS:      Linux
          3/7/2017 5:20 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:20 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:20 PM Data::RSA FOG Server CA cert found
          3/7/2017 5:20 PM Middleware::Authentication Cert OK
          3/7/2017 5:20 PM Middleware::Authentication ERROR: Could not get security token
          3/7/2017 5:20 PM Middleware::Authentication ERROR: Data unprotection failed.
          3/7/2017 5:20 PM Middleware::Communication POST URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&authorize&newService
          3/7/2017 5:20 PM Middleware::Response Invalid security token
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:20 PM Client-Info Version: 0.11.9
          3/7/2017 5:20 PM Client-Info OS:      Linux
          3/7/2017 5:20 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:22 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:22 PM Data::RSA FOG Server CA cert found
          3/7/2017 5:22 PM Middleware::Authentication Cert OK
          3/7/2017 5:22 PM Middleware::Authentication ERROR: Could not get security token
          3/7/2017 5:22 PM Middleware::Authentication ERROR: Data unprotection failed.
          3/7/2017 5:22 PM Middleware::Communication POST URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&authorize&newService
          3/7/2017 5:22 PM Middleware::Response Invalid security token
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:22 PM Client-Info Version: 0.11.9
          3/7/2017 5:22 PM Client-Info OS:      Linux
          3/7/2017 5:22 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:22 PM Controller Stop
          3/7/2017 5:22 PM Service Stop requested
          3/7/2017 5:22 PM Middleware::Authentication ERROR: Could not authenticate
          3/7/2017 5:22 PM Middleware::Authentication ERROR: 
          3/7/2017 5:22 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"unload\"\n}"
          }
          3/7/2017 5:22 PM Bus Emmiting message on channel: Status
          3/7/2017 5:23 PM Main Overriding exception handling
          3/7/2017 5:23 PM Main Bootstrapping Zazzles
          3/7/2017 5:23 PM Controller Initialize
          3/7/2017 5:23 PM Zazzles Creating main thread
          3/7/2017 5:23 PM Zazzles Service construction complete
          3/7/2017 5:23 PM Controller Start
          
          3/7/2017 5:23 PM Service Starting service
          3/7/2017 5:23 PM Bus Became bus server
          3/7/2017 5:23 PM Bus {
           "self": true,
           "channel": "Status",
           "data": "{\n  \"action\": \"load\"\n}"
          }
          3/7/2017 5:23 PM Bus Emmiting message on channel: Status
          3/7/2017 5:23 PM Service Invoking early JIT compilation on needed binaries
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:23 PM Client-Info Version: 0.11.9
          3/7/2017 5:23 PM Client-Info OS:      Linux
          3/7/2017 5:23 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:23 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:24 PM Middleware::Communication ERROR: Could not download file
          3/7/2017 5:24 PM Middleware::Communication ERROR: The request timed out
          3/7/2017 5:24 PM Middleware::Authentication ERROR: Could not authenticate
          3/7/2017 5:24 PM Middleware::Authentication ERROR: Could not find file "/opt/fog-service/tmp/public.cer".
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:24 PM Client-Info Version: 0.11.9
          3/7/2017 5:24 PM Client-Info OS:      Linux
          3/7/2017 5:24 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:25 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:25 PM Data::RSA FOG Server CA cert found
          3/7/2017 5:25 PM Middleware::Authentication Cert OK
          3/7/2017 5:25 PM Middleware::Authentication ERROR: Could not get security token
          3/7/2017 5:25 PM Middleware::Authentication ERROR: Data unprotection failed.
          3/7/2017 5:25 PM Middleware::Communication POST URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&authorize&newService
          3/7/2017 5:25 PM Middleware::Response Invalid security token
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:25 PM Client-Info Version: 0.11.9
          3/7/2017 5:25 PM Client-Info OS:      Linux
          3/7/2017 5:25 PM Middleware::Authentication Waiting for authentication timeout to pass
          3/7/2017 5:27 PM Middleware::Communication Download: http://10.83.167.14/fog/management/other/ssl/srvpublic.crt
          3/7/2017 5:27 PM Data::RSA FOG Server CA cert found
          3/7/2017 5:27 PM Middleware::Authentication Cert OK
          3/7/2017 5:27 PM Middleware::Authentication ERROR: Could not get security token
          3/7/2017 5:27 PM Middleware::Authentication ERROR: Data unprotection failed.
          3/7/2017 5:27 PM Middleware::Communication POST URL: http://10.83.167.14/fog/management/index.php?sub=requestClientInfo&authorize&newService
          3/7/2017 5:27 PM Middleware::Response Invalid security token
          
          ------------------------------------------------------------------------------
          --------------------------------Authentication--------------------------------
          ------------------------------------------------------------------------------
          3/7/2017 5:27 PM Client-Info Version: 0.11.9
          3/7/2017 5:27 PM Client-Info OS:      Linux
          3/7/2017 5:27 PM Middleware::Authentication Waiting for authentication timeout to pass
          
          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by Joe Schmitt

            @justeverything thats good. That means certificate pinning worked. Simply go to the host in the web portal and hit “Reset Encryption Data” and it should work fine now.

            It would seem your issue was with recent builds of mono.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            justeverythingJ 2 Replies Last reply Reply Quote 0
            • justeverythingJ
              justeverything @Joe Schmitt
              last edited by

              @Joe-Schmitt I will try it. If it works now you are my new personal god! 🙂

              I will also post my solution to joining ubuntu to the active directory with the snapin / bash file / keytab if it works all properly in the next days. I hope this will help other users until there is a solution directly via fog for linux.

              1 Reply Last reply Reply Quote 0
              • justeverythingJ
                justeverything @Joe Schmitt
                last edited by

                @Joe-Schmitt snapins now work perfectly! thanks a lot!

                Now i just have to do some settings on my custom snapin - but I will do this tomorrow, its already late here in germany. Thanks again for your help, I really appreciate it!

                1 Reply Last reply Reply Quote 0
                • justeverythingJ
                  justeverything
                  last edited by justeverything

                  well, I have to ask another question - My Snapin does not work correctly. If I start it manually on the host pc, everything works fine. but If i run it with the fog client, it does not work. the snapin history of the client says:

                  joindomain	2017-03-15 10:22:44	Complete	30 seconds	0
                  

                  so no error code. that’s fine I guess. I read in your wiki, that the script is run by the user root or SYSTEM and that there may be some issues with the security, but I really can’t find out where or what the issues could be.

                  here are my snapin settings:
                  Name joindomain
                  Type Snapin Pack
                  Pack Template - please select an option -
                  Pack File /bin/bash
                  Pack Arguments “[FOG_SNAPIN_PATH]/joindomain.sh”
                  Reboot after install checked
                  Snapin enabled checked
                  Replicate? checked
                  Timeout after 600 seconds
                  Snapin Command /bin/bash “[FOG_SNAPIN_PATH]/joindomain.sh”

                  the fog client log says the following -
                  so also everything seems to be fine. what else can I consider?

                  ------------------------------------------------------------------------------
                  ---------------------------------SnapinClient---------------------------------
                  ------------------------------------------------------------------------------
                   3/15/2017 11:22 AM Client-Info Client Version: 0.11.9
                   3/15/2017 11:22 AM Client-Info Client OS:      Linux
                   3/15/2017 11:22 AM Client-Info Server Version: 1.3.4
                   3/15/2017 11:22 AM Middleware::Response Success
                   3/15/2017 11:22 AM SnapinClient Snapin Found:
                   3/15/2017 11:22 AM SnapinClient     ID: 25
                   3/15/2017 11:22 AM SnapinClient     Name: joindomain
                   3/15/2017 11:22 AM SnapinClient     Created: 2017-03-15 10:22:42
                   3/15/2017 11:22 AM SnapinClient     Action: reboot
                   3/15/2017 11:22 AM SnapinClient     Pack: True
                   3/15/2017 11:22 AM SnapinClient     Hide: False
                   3/15/2017 11:22 AM SnapinClient     Server: 
                   3/15/2017 11:22 AM SnapinClient     TimeOut: 600
                   3/15/2017 11:22 AM SnapinClient     SnapinPack File: /bin/bash
                   3/15/2017 11:22 AM SnapinClient     SnapinPack Args: "[FOG_SNAPIN_PATH]/joindomain.sh"
                   3/15/2017 11:22 AM SnapinClient     File: joindomain.zip
                   3/15/2017 11:22 AM Middleware::Communication Download: http://10.83.167.14/fog/service/snapins.file.php?mac=44:37:E6:56:46:19&taskid=25
                   3/15/2017 11:22 AM SnapinClient /opt/fog-service/tmp/joindomain.zip
                   3/15/2017 11:22 AM SnapinClient Processing SnapinPack joindomain.zip
                   3/15/2017 11:22 AM SnapinClient Extracting SnapinPack
                   3/15/2017 11:22 AM SnapinClient Processing SnapinPack settings
                   3/15/2017 11:22 AM SnapinClient New SnapinPack File: /bin/bash
                   3/15/2017 11:22 AM SnapinClient New SnapinPack Args: "/opt/fog-service/tmp/joindomain/joindomain.sh"
                   3/15/2017 11:22 AM Bus {
                    "self": true,
                    "channel": "Notification",
                    "data": "{\n  \"title\": \"Installing joindomain\",\n  \"message\": \"Please do not shutdown until this is completed\"\n}"
                  }
                   3/15/2017 11:22 AM Bus Emmiting message on channel: Notification
                   3/15/2017 11:22 AM SnapinClient Starting snapin...
                   3/15/2017 11:23 AM SnapinClient Snapin finished
                   3/15/2017 11:23 AM SnapinClient Return Code: 0
                   3/15/2017 11:23 AM Bus {
                    "self": true,
                    "channel": "Notification",
                    "data": "{\n  \"title\": \"joindomain installed\",\n  \"message\": \"Installation has finished and is now ready for use\"\n}"
                  }
                   3/15/2017 11:23 AM Bus Emmiting message on channel: Notification
                   3/15/2017 11:23 AM Middleware::Communication URL: http://10.83.167.14/fog/service/snapins.checkin.php?taskid=25&exitcode=0&mac=44:37:E6:56:46:19&newService&json
                   3/15/2017 11:23 AM Power Creating shutdown command in 60 seconds
                   3/15/2017 11:23 AM Bus {
                    "self": true,
                    "channel": "Power",
                    "data": "{\n  \"action\": \"request\",\n  \"period\": 60,\n  \"options\": 2,\n  \"command\": \"-r +0 \\\"Snapin requested restart\\\"\",\n  \"aggregatedDelayTime\": 0,\n  \"message\": \"This computer needs to reboot to apply new software.\"\n}"
                  }
                   3/15/2017 11:23 AM Bus Emmiting message on channel: Power
                  ------------------------------------------------------------------------------
                  
                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Joe Schmitt

                    @justeverything at this point it’s a matter of debugging the script. Personally I’d have it use a log file somewhere (keep in mind it runs as root, so you can place it anywhere outside of the client tmp dir). Start with basic stuff like logging on script start, just to make sure it’s actually getting run.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    justeverythingJ 1 Reply Last reply Reply Quote 0
                    • justeverythingJ
                      justeverything @Joe Schmitt
                      last edited by

                      @Joe-Schmitt thank you 🙂 I finally found a little mistake that crashed everything, so now it runs perfectly. this can be marked as solved. thanks again for all your help! 🙂

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jhumpf @justeverything
                        last edited by

                        @justeverything Do you have the working version of this?

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post

                        166

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project