Imaging fails - DAgent reports "Client record updated, connection closed, session terminated."
search cancel

Imaging fails - DAgent reports "Client record updated, connection closed, session terminated."

book

Article ID: 176916

calendar_today

Updated On:

Products

Ghost Solution Suite

Issue/Introduction

When attempting to image a new system, or reimage an existing system, WinPE launches, DAgent launches, but the system doesn't reimage.  DAgent simply reports "Client record updated, connection closed, session terminated" and then reboots.

 

The Engine logs will show what appears to be normal communication, but the client log files, if you capture them for the DAgent, show something like this:

[04/27/2009 14:18:9.328 1636 1] InputThread.cpp:121 - IPCException
 Thrown from SocketIPC.cpp:289 -message = CSocketIPC::Read Socket Error
 SystemError Value = 0x00002736
 An operation was attempted on something that is not a socket.
[04/27/2009 14:18:9.328 1636 1] InputThread.cpp:158 - Socket exception cannot be recovered, GetLastError() returned 0x00002736
[04/27/2009 14:18:9.218 1624 1] OutputThread.cpp:61 Sending outbound message on IPC
[04/27/2009 14:18:9.343 1624 2] OutputThread.cpp:62 Network Data OUT:
Request=CloseSession


[04/27/2009 14:18:9.359 1624 2] OutputThread.cpp:77 - IPC Exception
  SocketIPC.cpp:251 - CSocketIPC::Read/Select Socket Error
 value=0, GetLastError() = 0x00002736
 An operation was attempted on something that is not a socket.

Cause

There may be several causes for this, but at least one cause is that the system is actually "known" by the Deployment Console, and has been instructed to do something other than image.  For instance, in one case, the system had accidentally been booted to Windows, had run AClient in Windows, and had reported into the DS.  They had created a new virtual computer for this computer, but since the virtual didn't have the primary lookup key populated when the system reported in, it created a new client record, rather than using the "virtual" they had created.  Thus, in WinPE, DAgent was told "I know who you are, and you have no work to do - reboot to production" and on the screen, the message in the problem description is what is seen immediately prior to a reboot.

Resolution

Ensure that the computer you are attempting to image does not have 2 records in the console, essentially.  Again, the problem was that what we THOUGHT we were telling the computer to do was different, in fact, from what DS thought we were telling it, because DS had a fully legitimate record, and we were watching a non-matching Virtual record instead.  See the "Cause" section for more information.

Applies To
DS 6.x using WinPE