I've found that sometimes (randomly), cfagent freezes in remote file copy and doesn't finish copying it. Debugging both server and client with -d2 option shows the following:
CLIENT: cfengine:: Update of image /etc/cfengine/update.conf from master /export/cfengine/config/inputs/update.conf on 10.227.255.100 CopyReg(/export/cfengine/config/inputs/update.conf,/etc/cfengine/update.conf) This is a remote copy from server: 10.227.255.100 Transaction Send[t 51][Packed text] Attempting to send 59 bytes SendSocketStream, sent 59 RecvSocketStream(2048) ... frozen until ctrl+c ... SERVER: CfGetFile(/export/cfengine/config/inputs/update.conf on sd=5), size=2510 Now reading from disk... Read completed.. Restatting /export/cfengine/config/inputs/update.conf Sending data on socket (2048) Attempting to send 2048 bytes SendSocketStream, sent 2048 Sending complete... Now reading from disk... Read completed.. Sending data on socket (462) Attempting to send 462 bytes SendSocketStream, sent 462 Sending complete... Now reading from disk... Read completed.. Done with GetFile() RecvSocketStream(8) ... data empty or timeout ... It seems to be the same problem that http://lists.gnu.org/archive/html/bug-cfengine/2003-02/msg00043.html Any suggestion? _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine