help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem running cfrun


From: Pau Capdevila/Upcnet
Subject: Problem running cfrun
Date: Fri, 20 Feb 2004 11:58:36 +0100


Hi,

I'm having a problem trying to execute cfagent on demand with cfrun. I append the output of the commands and my cfservd.conf. Thanks in advance if anybody sees some errors and can reply. Seeing the config file you'll see that I'm starting but I've thoroughly read the docs and I've struggled hard with the configs. I've tried testing/unstable Debian packaged versions and 2.1.3 compiled from source.

address@hidden:/var/cfengine/inputs# /usr/local/sbin/cfrun
cfrun(0):         .......... [ Hailing linupc02.upc.es ] ..........
WARNING - You do not have a public key from host linupc02.upc.es = 147.83.198.108
          Do you want to accept one on trust? (yes/no)
                                                                                                                             
--> yes
cfrun:linupc02.upc.es: Trusting server identity and willing to accept key from linupc02.upc.es=147.83.198.108
 Host authentication failed. Did you forget the domain name or IP/DNS address registration (for ipv4 or ipv6)?
address@hidden:/var/cfengine/inputs# nslookup 147.83.198.108
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         147.83.2.3
Address:        147.83.2.3#53
                                                                                                                             
108.198.83.147.in-addr.arpa     name = linupc02.upc.es.

The reverse DNS lookup seems correct, isn't it?

#########################################################
#
# cfservd.conf for clients -- cfengine 2.1.3
#
# Pau Capdevila 20040219
#
#########################################################
                                                                                                                             
control:
                                                                                                                             
  domain = ( upc.es )
  AllowUsers = ( root )
  AllowConnectionsFrom = ( 147.83 )
  cfrunCommand = ( "/var/cfengine/bin/cfagent" )
  TrustKeysFrom = ( 147.83 )
  SkipVerify = ( 147.83 )
  LogAllConnections = ( true )
                                                                                                                             
 any::
                                                                                                                             
  IfElapsed = ( 1 )
  ExpireAfter = ( 15 )
  MaxConnections = ( 50 )
  MultipleConnections = ( true )
                                                                                                                             
#########################################################
                                                                                                                             
grant:
                                                                                                                             
   # Grant access to all hosts at example.org.
   # Files should be world readable
                                                                                                                             
   #/masterfiles/inputs   *.upc.es
                                                                                                                             
   # Make sure there is permission to execute by cfrun
                                                                                                                             
   /var/lib/cfengine2/bin/cfagent  *.upc.es
                                                                                                                             
########
#
# END cfservd.conf
#
########


reply via email to

[Prev in Thread] Current Thread [Next in Thread]