Odd one: one image not changing hostname or joining after imaging



  • Been using fog for 3 years now to manage 1,500 PC at a large high school. My server is on .31. All of my images work just fine except one. For some reason this group will not change hostname or join domain unless I log on as local admin and restart the fog service . All of my other XP and Win7 images work to complete these tasks flawlessly. I tried editing the registry to create a dependency for TCP/IP and DHCP service to start before the fog service starts but that did not help. This is an XP image. Any other ideas on what might be causing this and a possible solution? Sometimes the fog log will say something to the effect of no mac address found so that’s how I got the idea to try the dependency delay for fog service start. Maybe I need a different dependency? Any suggestions on that as well based on the mac error?



  • Little late to the party, but I am also seeing this type of issue on our main Windows XP image. After sysprep is done, fog services will not fire. Fog.log shows the following:

    [CODE]
    8/8/2012 9:40 AM FOG::GreenFog Starting green fog…
    8/8/2012 9:40 AM FOG::GreenFog Attempting to connect to fog server…
    8/8/2012 9:41 AM N/A Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
    8/8/2012 9:41 AM FOG::SnapinClient Sleeping for 497 seconds.
    8/8/2012 9:41 AM N/A Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
    8/8/2012 9:41 AM N/A Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
    8/8/2012 9:41 AM FOG::AutoLogOut Unable to continue, MAC is null!
    8/8/2012 9:41 AM FOG::UserTracker Unable to determine MAC address, exiting…
    8/8/2012 9:41 AM FOG::TaskReboot Attempting to connect to fog server…
    8/8/2012 9:41 AM N/A Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
    8/8/2012 9:41 AM FOG::HostnameChanger Host name was not found in the database.
    [/CODE]

    A temporary solution I have is to tell sysprep to run the net stop “Fog Service” and net start “Fog Service” commands on first login after the imaging is done, but this still fails when trying to join the domain. So my current solution would be to add a batch script that runs any time the computer logs in to restart the service.


  • Developer

    Good work tracking the problem down.

    Zero MAC Addresses found is a problem. If you have further problems i would modify the hostnamechanger source code, add some debug lines to the log the machines network card information.

    For what ever reason, it sounds like there is a delay in the initialization of the network card; thus no MAC Address information.

    Obviously it would be best to fix this correctly, but i see no issue with a delay on the FOG service.

    I’ll add a note to look at this code in the future. I will add some checks to make sure we got a MAC Address.



  • OK I think I have this solved. I found an item in the system event viewer where the AutoDesk Content Service was hanging on startup so I thought that could be interfering with the Fog Service (although Fog was shown starting as normal) I changed the AutoDesk service to manual startup and it seems to have solved the problem. I will know for sure after I multicast the whole lab.



  • These are wired HP dc5850 desktops. Hostname and AD are enabled. I tried uninstall/reinstall FOG client. Firewall is off. Only clue is the intermittent fog log error saying 0 Mac addresses found. The only thing different on this image from my other 5850 image is it has AutoCAD 2012 on it. I searched online and found a few other people that ran across this(although no mention of AutoCAD being involved). The only solution I found was to delay the fog service startup. That is how I got the idea to create a dependency to delay the fog service start. I am starting to think it may have something to do with the AutoCAD network license manager, but there is no service for that. Once I log on and stop/start fog service manually the 2 reboots that change the hostname and join domain processes complete without a glitch.

    [quote=“chad-bisd, post: 5372, member: 18”]Are these desktops or laptops?
    Are they wired or wireless?
    Did you heck the FOG client settings to make sure you have enabled the hostnamechanger module?
    Have you tried reinstalling the FOG client and setting it up again?
    Is the Windows XP Firewall enabled on this image?
    Do the windows event logs show any clues?[/quote]


  • Developer

    Seems harsh, but your other post of “Please please please, single partition re-sizable for Win 7 images” got my attention.

    This post here shows at least 2minutes of thought. I’m sorry if you think this is harsh.

    Maybe i should post a template so people know how to correctly ask for help?


  • Moderator

    Are these desktops or laptops?
    Are they wired or wireless?
    Did you heck the FOG client settings to make sure you have enabled the hostnamechanger module?
    Have you tried reinstalling the FOG client and setting it up again?
    Is the Windows XP Firewall enabled on this image?
    Do the windows event logs show any clues?



  • Why do you have to be so harsh? What is so hard to understand about the problem I presented? I tried to get the problem I am having across, and what I had already tried to solve it, as briefly as possible without writing some APA compliant master’s thesis. I read it again, yeah its semi-choppy but understandable. I have been staring at a computer monitor since 7 a.m. Give a brutha a break!

    [quote=“Blackout, post: 5364, member: 1”]Are you sure you don’t go to high school? Please rewrite your post into something i can read.

    [URL=‘http://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CFoQFjAA&url=http%3A%2F%2Fwww.catb.org%2F~esr%2Ffaqs%2Fsmart-questions.html&ei=ttkZUIyzC6yhiAe024DgBQ&usg=AFQjCNF_XWUawqib3JOVDmNBqQhgG9SKmw’]http://www.catb.org/~esr/faqs/smart-questions.html[/URL][/quote]


  • Developer


Log in to reply
 

468
Online

39.4k
Users

11.1k
Topics

105.3k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.