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

    Fog client weirdness

    FOG Problems
    4
    24
    7126
    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.
    • Trevelyan
      Trevelyan last edited by

      So there I am, looking at why some of our rooms aren’t taking snapin tasks, and I look through the fog.log file to see this sometimes:

      [QUOTE]
      04/11/2014 13:07 FOG::SnapinClient Attempting to connect to fog server…
      04/11/2014 13:07 FOG::SnapinClient General Error Returned:
      04/11/2014 13:07 FOG::SnapinClient #!er:No Host Found

      04/11/2014 13:12 FOG::SnapinClient Attempting to connect to fog server…
      04/11/2014 13:12 FOG::SnapinClient General Error Returned:
      04/11/2014 13:12 FOG::SnapinClient #!er:No Host Found

      04/11/2014 13:18 FOG::SnapinClient Attempting to connect to fog server…
      04/11/2014 13:18 FOG::SnapinClient General Error Returned:
      04/11/2014 13:18 FOG::SnapinClient #!er:No Host Found

      And so on…[/QUOTE]

      It seems consistent across the rooms I am looking at today but I can’t figure out what it means. When I restart, the log looks like this (from the startup, I am guessing, to when it has finished):

      [CODE] 04/11/2014 13:19 FOG Service Engine Version: 3
      04/11/2014 13:19 Starting all sub processes
      04/11/2014 13:19 14 modules loaded
      04/11/2014 13:19 * Starting FOG.AutoLogOut
      04/11/2014 13:19 * Starting FOG.SnapinClient
      04/11/2014 13:19 * Starting FOG.DirCleaner
      04/11/2014 13:19 * Starting FOG.DisplayManager
      04/11/2014 13:19 * Starting FOG.GreenFog
      04/11/2014 13:19 * Starting FOG.GUIWatcher
      04/11/2014 13:19 * Starting FOG.HostNameChanger
      04/11/2014 13:19 FOG::GUIWatcher Starting GUI Watcher…
      04/11/2014 13:19 FOG::AutoLogOut Starting process…
      04/11/2014 13:19 FOG::DirCleaner Sleeping for 37 seconds.
      04/11/2014 13:19 * Starting FOG.HostRegister
      04/11/2014 13:19 FOG::ClientUpdater Starting client update process…
      04/11/2014 13:19 FOG::ClientUpdater Sleeping for 326 seconds.
      04/11/2014 13:19 * Starting FOG.MODDebug
      04/11/2014 13:19 FOG::GreenFog Sleeping for 48 seconds.
      04/11/2014 13:19 FOG::MODDebug Start Called
      04/11/2014 13:19 FOG::DisplayManager Starting display manager process…
      04/11/2014 13:19 FOG::MODDebug Sleeping for 100 Seconds
      04/11/2014 13:19 * Starting FOG.PrinterManager
      04/11/2014 13:19 * Starting FOG.SnapinClient
      04/11/2014 13:19 * Starting FOG.TaskReboot
      04/11/2014 13:19 FOG::PrinterManager Starting interprocess communication process…
      04/11/2014 13:19 FOG::HostnameChanger Starting hostname change process…
      04/11/2014 13:19 FOG::HostnameChanger Yielding to other subservices for 6 seconds.
      04/11/2014 13:19 * Starting FOG.UserCleanup
      04/11/2014 13:19 * Starting FOG.UserTracker
      04/11/2014 13:19 FOG::TaskReboot Taskreboot in lazy mode.
      04/11/2014 13:19 FOG::TaskReboot Starting Task Reboot…
      04/11/2014 13:19 FOG::UserTracker Starting user tracking process…
      04/11/2014 13:19 FOG::SnapinClient Starting snapin client process…
      04/11/2014 13:19 FOG::UserCleanup Sleeping for 17 seconds.
      04/11/2014 13:19 FOG::DisplayManager Attempting to connect to fog server…
      04/11/2014 13:19 FOG::SnapinClient Sleeping for 386 seconds.
      04/11/2014 13:19 FOG::HostRegister Attempting to connect to fog server…
      04/11/2014 13:19 FOG::UserTracker Attempting to connect to fog server…
      04/11/2014 13:19 FOG::TaskReboot Attempting to connect to fog server…
      04/11/2014 13:19 FOG::HostnameChanger Attempting to connect to fog server…
      04/11/2014 13:19 FOG::PrinterManager General Error Returned:
      04/11/2014 13:19 FOG::PrinterManager #!er:No Host Found
      04/11/2014 13:19 FOG::AutoLogOut Unknown error, module will exit.
      04/11/2014 13:19 FOG::TaskReboot #!er:No Host Found
      04/11/2014 13:19 FOG::TaskReboot No task found for client.
      04/11/2014 13:19 FOG::UserTracker Unknown error, module will exit.
      04/11/2014 13:19 FOG::DisplayManager Unknown error, module will exit.
      04/11/2014 13:19 FOG::HostnameChanger Module is active…
      04/11/2014 13:19 FOG::HostnameChanger AD mode requested, confirming settings.
      04/11/2014 13:19 FOG::HostnameChanger Hostname is up to date
      04/11/2014 13:19 FOG::HostnameChanger Attempting to join domain if not already a member…
      04/11/2014 13:19 FOG::HostnameChanger Domain Error! (‘SetupAlreadyJoined’ Code: 2691)
      04/11/2014 13:19 FOG::UserCleanup Starting user cleanup process…
      04/11/2014 13:19 FOG::UserCleanup Attempting to connect to fog server…
      04/11/2014 13:19 FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
      04/11/2014 13:20 FOG::DirCleaner Starting directory cleaning process…
      04/11/2014 13:20 FOG::DirCleaner Attempting to connect to fog server…
      04/11/2014 13:20 FOG::DirCleaner Module is disabled globally on the FOG Server.
      04/11/2014 13:20 FOG::GreenFog Starting green fog…
      04/11/2014 13:20 FOG::GreenFog Attempting to connect to fog server…
      04/11/2014 13:20 FOG::GreenFog Module is disabled globally on the FOG Server, exiting.
      04/11/2014 13:21 FOG::MODDebug Reading config settings…
      04/11/2014 13:21 FOG::MODDebug Reading of config settings passed.
      04/11/2014 13:21 FOG::MODDebug Starting Core processing…
      04/11/2014 13:21 FOG::MODDebug Operating System ID: 6
      04/11/2014 13:21 FOG::MODDebug Operating System Minor: 1
      04/11/2014 13:21 FOG::MODDebug MAC ID 0 00:50:56:C0:00:01
      04/11/2014 13:21 FOG::MODDebug MAC ID 1 00:50:56:C0:00:08
      04/11/2014 13:21 FOG::MODDebug MAC ID 2 54:BE:F7:37:B2:E1
      04/11/2014 13:21 FOG::MODDebug MAC POST String: 00:50:56:C0:00:01|00:50:56:C0:00:08|54:BE:F7:37:B2:E1
      04/11/2014 13:21 FOG::MODDebug A user is currently logged in
      04/11/2014 13:21 FOG::MODDebug Username: (my username)
      04/11/2014 13:21 FOG::MODDebug Hostname: (hostname)
      04/11/2014 13:21 FOG::MODDebug Attempting to open connect to: http://fog.cst.beds.ac.uk/fog/service/debug.php
      04/11/2014 13:21 FOG::MODDebug Server responded with: Hello FOG Client
      04/11/2014 13:21 FOG::MODDebug Module has finished work and will now exit.
      04/11/2014 13:25 FOG::ClientUpdater Attempting to connect to fog server…
      04/11/2014 13:25 FOG::ClientUpdater Module is active…
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : AutoLogOut.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : ClientUpdater.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : DirCleaner.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : DisplayManager.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : GreenFog.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : GUIWatcher.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : HostRegister.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : MODDebug.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : PrinterManager.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : SnapinClient.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : TaskReboot.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : UserCleanup.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : UserTracker.dll
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Checking Status : config.ini
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater Zero byte response returned
      04/11/2014 13:25 FOG::ClientUpdater 0 new modules found!
      04/11/2014 13:25 FOG::ClientUpdater Client update will be applied during next service startup.
      04/11/2014 13:25 FOG::ClientUpdater Client update process complete, exiting…
      04/11/2014 13:26 FOG::SnapinClient Attempting to connect to fog server…
      04/11/2014 13:26 FOG::SnapinClient General Error Returned:
      04/11/2014 13:26 FOG::SnapinClient #!er:No Host Found
      [/CODE]

      I don’t get what is wrong. Some additional notes:

      [LIST]
      []Other rooms work fine
      [
      ]Host can ping fog through DNS and IP
      []Hosts are all registered on FOG
      [
      ]Boot menu shows it is registered
      []Host is joined to AD (this is how I log onto the PCs)
      [
      ]Hosts have successfully had snapin tasks applied before
      [*]Out of ~500 PCs, these ~100 machines that don’t deploy their snapin all happen to have SSDs. The task I was trying to deploy to them was to extend their hard drive - manually, this same snapin works fine on the same PCs. And half of one of the rooms did seem to deploy fine. Just, bizarrely, about 100 haven’t and they all are in the SSD labs.
      [/LIST]
      I can well believe this isn’t something complicated as the issue but would really appreciate any pointers anyone can give.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Trevelyan
        Trevelyan last edited by

        Ah cool, there hasn’t been a client update in a long time, right? What’s the plan for it?

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

          You are correct, the client currently being distributed is set to start once a core windows service does. However, this is actually too soon on faster systems as not all programs are fully initialized yet. The delayed start is an acceptable solution, or you could link the service to start when a different windows services does. This issue should be resolved with the new client when it is released

          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.

          1 Reply Last reply Reply Quote 0
          • Trevelyan
            Trevelyan last edited by

            Works fine after doing delayed start.

            But this kind of tallies with this:

            [QUOTE][FONT=sans-serif][COLOR=#000000]One of the first things we try to do in mStart is to sleep for a fair amount of time if the process we are doing does not need to run right at service startup. [B]The idea behind this is that the Windows startup process can be very slow in the first place, so we don’t want the fog service to break the proverbial “Camel’s Back”.[/B][/COLOR][/FONT][/QUOTE]

            [url]http://www.fogproject.org/wiki/index.php/Creating_Custom_FOG_Service_Modules[/url]

            Im convinced its to do with the speed of services starting up, affected by the SSD in a system. If anyone disagrees, suggest an alternative 🙂

            1 Reply Last reply Reply Quote 0
            • Junkhacker
              Junkhacker Developer last edited by

              have you explicitly disabled the various power states? from the factory, we’ve had some computers set to disable onboard network cards to the extent that they don’t even provide link lights in the off state.
              we too have our computers set to not power down or use power saving modes. they just aren’t as reliable that way, in my experience. (although, we have a couple university owned wind turbines, that counteracts the un-ethical-ness, right?)

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              1 Reply Last reply Reply Quote 0
              • Trevelyan
                Trevelyan last edited by

                Un-ethically, we have everything set to not power down or use power saving modes currently. WOL might work but for the last year or so its been put on the backburner because getting it to work with systems we have limited control over was proving a hassle.

                1 Reply Last reply Reply Quote 0
                • Junkhacker
                  Junkhacker Developer last edited by

                  windows 7 doesn’t have the same issue. what power saving features do you have enabled on these computers? and does wol work? if the onboard network card is getting set to a low power mode, that could be related

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • Trevelyan
                    Trevelyan last edited by

                    Windows 7. But this sounds kind of logical…

                    1 Reply Last reply Reply Quote 0
                    • Junkhacker
                      Junkhacker Developer last edited by

                      what version of windows is installed on these machines? if it is windows 8, then it could actually be somewhat related to the SSD. windows 8, i am told, says network adapters are disabled unless it can detect a network attached. that means we can’t get the mac address for them. the current fog client only polls the hardware once on startup, and it requests all active network adapters. if the system is starting up and the fog service starts before the network adapter has initialized, that could possibly be causing the issue.

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • Trevelyan
                        Trevelyan last edited by

                        Yeah we know about it and have worked around it with no hassle - actually that has been a way to determine if someone has plugged a machine into the wrong port and we have actually started disabling the second network controller in bios often. I am pretty certain that the adapter isn’t the issue (if it was, it wouldn’t work in either of the cases)

                        But the key point is that with the same image, on essentially the same hardware, the fog service acts differently - seemingly down to whether or not it uses an SSD. On the SSD machine, the fog service gives the errors - but if you restart the service (stop and start), it works fine.

                        I just tried to set it to “Automatic (Delayed Start)” and - bizarrely - it is now working fine for those machines that I have done. Could it possibly be that some service is being relied on by FOG that hasn’t started at the point which it is needed? Its really all I can think of - and that could be down to my individual build ultimately. But it isn’t something we have ever seen as an issue before.

                        1 Reply Last reply Reply Quote 0
                        • Junkhacker
                          Junkhacker Developer last edited by

                          it looks to me like the vmware mac isn’t the issue then, since you say you’re aware of the related issues and you’ve never approved a pending mac. the issue seems to be that the wrong network adapter is registered with fog.

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 0
                          • Trevelyan
                            Trevelyan last edited by

                            On most of our PCs there are, yes - DQ77MK motherboards have an Intel AMT management port and we avoid using this. I’ll reply back here after I try out the delayed start works as I thought it might - but I don’t think having an SSD on the system should make any difference at all. But… it does seem to. Somehow.

                            1 Reply Last reply Reply Quote 0
                            • Junkhacker
                              Junkhacker Developer last edited by

                              yes, this will be part of fog 1.3.0
                              i have never noticed any difference in behavior between computers with HDDs and SSDs so long as they image properly. (i have heard of some SSDs not being recognized and being unable to be imaged, but that has been a very rare issue)
                              i also noticed that your hardware network card is coming up as “local area connection 2”
                              is there more then one physical network adapter in these machines?

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              1 Reply Last reply Reply Quote 0
                              • Trevelyan
                                Trevelyan last edited by

                                I’ll try and update to it - is it going to eventually be a part of the next FOG update then?

                                And what do you think would make this issue present on only some machines (which happen to all be machines with SSDs)? I never accepted any of the pending MAC addresses (as this did give an issue in 0.32 when I tried to accept one, once) and unless the machine boots from an SSD, it works fine.

                                Thanks!

                                1 Reply Last reply Reply Quote 0
                                • Junkhacker
                                  Junkhacker Developer last edited by

                                  and since it was installed on the image you deployed, the randomized mac address on the virtual network adapter is identical. multiple hosts sharing the same mac address results in the server saying it’s invalid and not delivering tasks. this has been corrected for in the SVN. if you’re willing to update to the latest dev version, this problem will almost certainly go away.
                                  (make a backup and be ready to revert back in case you have problems, the dev version is mostly stable but can have issues, it IS pre-release software)

                                  signature:
                                  Junkhacker
                                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                  1 Reply Last reply Reply Quote 0
                                  • Trevelyan
                                    Trevelyan last edited by

                                    FOG 1.2
                                    All our PCs have VMWare Workstation installed (hence the two additional MAC addresses).

                                    1 Reply Last reply Reply Quote 0
                                    • Junkhacker
                                      Junkhacker Developer last edited by

                                      what version of fog are you running?
                                      do you have vmware/virtualbox etc installed on these lab computers?

                                      signature:
                                      Junkhacker
                                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                      1 Reply Last reply Reply Quote 0
                                      • Trevelyan
                                        Trevelyan last edited by

                                        After trying some other PCs, I have a feeling that this might be to do with the speed at which the PCs using SSDs boot up. If anyone wants to correct me on that for sure, please do - but what I’ll do is reimage one HDD and one SSD machine to see if they are behaving the same way and then secondly turn the FOG service into a delayed start service first and then try and reimage some machines to see if that changes anything.

                                        1 Reply Last reply Reply Quote 0
                                        • Trevelyan
                                          Trevelyan last edited by

                                          Two log files here - the first is when I had restarted the FOG service (left side) and the second is after a restart (right side). It just makes no sense to me as to why errors are being returned like this. The only difference between hardware types in our rooms is the presence of an SSD in these labs that has never caused an issue before!

                                          [url=“/_imported_xf_attachments/1/1492_worksdoesnt1.png?:”]worksdoesnt1.png[/url][url=“/_imported_xf_attachments/1/1493_worksdoesnt2.png?:”]worksdoesnt2.png[/url]

                                          1 Reply Last reply Reply Quote 0
                                          • Trevelyan
                                            Trevelyan last edited by

                                            The weird thing is, is in this room of 21 PCs, 2 managed to apparently take a snapin after wiping the snapins, tasks and multicast sessions. No idea why though as their fog.log files are spammed with GUI notification/dispatch failed entries (stops after you login apparently)

                                            But, really bizarrely, manually restarting the FOG service on one of the PCs seemed to fix this issue. But after a restart, it persists. This just makes no sense at all!

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

                                            195
                                            Online

                                            10.4k
                                            Users

                                            16.4k
                                            Topics

                                            150.5k
                                            Posts

                                            Copyright © 2012-2023 FOG Project