I'm in the process of bringing Cfengine up on a number of diverse hosts. It's working fine on most of them, but it's not working on our two YellowDog Linux (PPC) machines. When I try to run cfagent on the client ("students"), I get this:
# cfagent -v [...snip...] cfengine:: Strong authentication of server=lewis connection confirmed cfengine:: /var/cfengine/inputs/cfagent.conf wasn't at destination (copying) cfengine:: Copying from lewis: It hangs at this point until I C-c it, which gives me: cfengine:: Received signal 2 (SIGINT) while doing [pre-lock-state] cfengine:: Logical start time Thu Feb 23 08:06:08 2006 cfengine:: This sub-task started really at Thu Feb 23 08:06:08 2006 Starting the server ("lewis") with -d2 gives me the following output: [...snip...] cfservd: Host students.nebrwesleyan.edu granted access to /var/cfengine/inputs/cfagent.conf Clocks were off by 0 StatFile(/var/cfengine/inputs/cfagent.conf) OK: type=0 mode=644 lmode=0 uid=0 gid=0 size=5162 atime=1140703206 mtime=1140646941 Transaction Send[t 68][Packed text] Attempting to send 76 bytes SendSocketStream, sent 76 Transaction Send[t 3][Packed text] Attempting to send 11 bytes SendSocketStream, sent 11 RecvSocketStream(8) (Concatenated 8 from stream) Transaction Receive [t 9][] RecvSocketStream(9) (Concatenated 9 from stream) Received: [GET 2048 ] on socket 5 AccessControl() cfservd: Couldn't stat filename from host students.nebrwesleyan.edu cfservd: lstatcfservd: Host authorization/authentication failed or access denied Transaction Send[t 114][Packed text] Attempting to send 122 bytes SendSocketStream, sent 122 cfservd: From (host=students.nebrwesleyan.edu,user=root,ip=::ffff:10.12.1.6) RecvSocketStream(8) Transmission empty or timed out... Transaction Receive [][] RecvSocketStream(0) cfservd terminating NULL transmission! Terminating thread... ***Closing socket 5 from ::ffff:10.12.1.6 Note that there are two spaces between "stat filename" and "from host", suggesting to me that some variable is not getting expanded. Here's the update.conf I've used on all of the computers I'm putting Cfengine on; it's worked on the other seven without a problem: control: actionsequence = ( copy ) domain = ( nebrwesleyan.edu ) workdir = ( /var/cfengine ) policyhost = ( lewis ) master_cfinput = ( /var/cfengine/inputs ) copy: $(master_cfinput) dest=$(workdir)/inputs r=inf mode=700 type=binary server=$(policyhost) trustkey=true exclude=*.lst exclude=*~ exclude=#* processes: new_cfservd:: "cfservd" restart "/var/cfengine/bin/cfservd" new_cfenvd:: "cfenvd" restart "/var/cfengine/bin/cfenvd" Here's my cfservd.conf; "students," the client, is 10.12.1.6: control: domain = ( nebrwesleyan.edu ) AllowConnectionsFrom = ( 10.1 10.9 10.8.3.2 10.12.1.6 ) AllowMultipleConnectionsFrom = ( 10.1 10.9 10.8.3.2 10.12.1.6 ) TrustKeysFrom = ( 10.1 10.9 10.8.3.2 10.12.1.6 ) any:: IfElapsed = ( 1 ) ExpireAfter = ( 15 ) MaxConnections = ( 50 ) MultipleConnections = ( true ) cfrunCommand = ( "/usr/local/sbin/cfrun" ) admit: /var/cfengine/inputs 10.1 10.9 10.8.3.2 10.12.1.6 /var/cfengine/master 10.1 10.9 10.8.3.2 10.12.1.6 Does anyone have any ideas on what might be happening here? I've thrown every diagnostic I can think of at this problem, and haven't gotten anywhere. Thanks for your help! Chris St. Pierre _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine