Forum: Cfengine Help
Subject: hostname or DNS problem
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18052,18052#msg-18052

Strange cf-runagent issue.
Client

# hostname -f
unxxhd01.example.com
# cf-runagent -H sterlz01.example.com
BAD: key could not be accepted on trust
 !! Authentication dialogue with sterlz01.example.com failed
Unable to establish connection with sterlz01.example.com


Now the cf-serverd output from sterlz01

cf3 Accepting connection from "::ffff:10.129.148.10"
cf3 New connection...(from ::ffff:10.129.148.10/5)
cf3 Spawning new thread...
cf3 Received:  on socket 5
cf3 Allowing 10.129.148.10 to connect without (re)checking ID
cf3 Non-verified Host ID is localhost.example.com (Using skipverify)
cf3 Non-verified User ID seems to be root (Using skipverify)
cf3  -> No new promises found
cf3  -> Waiting at incoming select...
cf3 Unable to lookup hostname (localhost.example.com) or cfengine service: node 
name or service name not known
cf3 Received:  on socket 5
cf3 No previous key found, and unable to accept this one on trust
cf3 Auth dialogue error
cf3 From (host=localhost.example.com,user=root,ip=::ffff:10.129.148.10)


Why does the server report the host as localhost.example.com and not 
unxxhd01.example.com?  It don't think it is DNS because DNS lookups are correct.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to