Forum: CFEngine Help
Subject: Error in client-server stream
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,24007,24007#msg-24007
Is anyone experiencing a similar problem?
I have a simple copy_from promise that routinely bombs on the same file with
this error on Linux clients:
-> Updated /usr/local/uvscan/avvscan.dat from source
/var/cfengine_master/master_files_rh5//usr/local/uvscan/avvscan.dat on xxxx
Error in client-server stream
!!! System reports error for recv: "Resource temporarily unavailable"
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './copyscan.cf' near line 27
Was not able to copy
/var/cfengine_master/master_files_rh5//usr/local/uvscan/avvscan.dat to
/usr/local/uvscan/avvscan.dat
I: Report relates to a promise with handle ""
I: Made in version 'not specified' of './copyscan.cf' near line 27
!! Transmission refused or failed statting
/var/cfengine_master/master_files_rh5//usr/local/uvscan/legal.txt
Got:
On the server:
cf3> Found a matching rule in access list
(/var/cfengine_master/master_files/usr/local/uvscan/avvscan.dat in
/var/cfengine_master)
cf3> Host yyyy granted access to
/var/cfengine_master/master_files_rh5//usr/local/uvscan/avvscan.dat
cf3> Couldn't send
cf3> !!! System error for send: "Broken pipe"
cf3> Send failed in GetFile
cf3> !!! System error for send: "Broken pipe"
cf3> Filename /var/cfengine_master/master_files_rh5//usr/local/uvscan/legal.txt
is resolved to /var/cfengine_master/master_files/usr/local/uvscan/legal.txt
cf3> Found a matching rule in access list
(/var/cfengine_master/master_files/usr/local/uvscan/legal.txt in
/var/cfengine_master)
cf3> Host yyyy granted access to
/var/cfengine_master/master_files_rh5//usr/local/uvscan/legal.txt
cf3> Couldn't send
cf3> !!! System error for send: "Broken pipe"
cf3> Couldn't send
cf3> !!! System error for send: "Broken pipe"
cf3> Couldn't recv
cf3> !!! System error for recv: "Connection reset by peer"
After multiple runs of cf-agent the file eventually does get copied. The only
difference between this file and numerous other copied files is the relatively
large file size (126MB).
bundle agent main
{
files:
any::
"/usr/local/uvscan"
copy_from => newer("/usr/local/uvscan"),
depth_search => recurse("1");
}
body copy_from newer(from)
{
servers => { "wilma.dcpds.cpms.osd.mil" };
source => "/var/cfengine_master/master_files_rh5/$(from)";
compare => "mtime";
copy_backup => "false";
preserve => "true";
stealth => "true";
trustkey => "false";
}
This problem has persisted since at least community 3.1.5 through 3.2.0, 3.2.1
and 3.2.3. I'm becoming a bit frustrated with the fact that my bug report from
10/11/2011 hasn't even been acknowledged yet (5+ weeks later).
The problem happens across RHEL 4, RHEL 5 and Oracle VM Server 2.2.2.
The same promise runs on HPUX 11.31 and the problem never has occurred on this
platform.
Any ideas? I really want to get this resolved.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine