Forum: CFEngine Help
Subject: Re: client configuration not working
Author: sreejithpoothu
Link to topic: https://cfengine.com/forum/read.php?3,24809,24817#msg-24817

Also when running cf-runagent i got following error

# cf-runagent -H 10.1.1.200 -v
cf3> Cfengine - autonomous configuration engine - commence self-diagnostic 
prelude
cf3> ------------------------------------------------------------------------
cf3> Work directory is /var/cfengine
cf3> Making sure that locks are private...
cf3> Checking integrity of the state database
cf3> Checking integrity of the module directory
cf3> Checking integrity of the PKI directory
cf3> Looking for a source of entropy in /var/cfengine/randseed
cf3>  -> Loaded private key /var/cfengine/ppkeys/localhost.priv
cf3>  -> Loaded public key /var/cfengine/ppkeys/localhost.pub
cf3> Setting cfengine default port to 5308 = 5308
cf3> Reference time set to Tue Feb 14 05:09:58 2012
cf3> CFEngine Core 3.2.1
cf3> ------------------------------------------------------------------------
cf3> Host name is: cf-server
cf3> Operating System Type is linux
cf3> Operating System Release is 2.6.32-71.el6.i686
cf3> Architecture = i686
cf3> Using internal soft-class linux for host cf-server
cf3> The time is now Tue Feb 14 05:09:58 2012
cf3> ------------------------------------------------------------------------
cf3> # Extended system discovery is only available in version Nova and above
cf3> Additional hard class defined as: 32_bit
cf3> Additional hard class defined as: linux_2_6_32_71_el6_i686
cf3> Additional hard class defined as: linux_i686
cf3> Additional hard class defined as: linux_i686_2_6_32_71_el6_i686
cf3> GNU autoconf class from compile time: compiled_on_linux_gnu
cf3> Address given by nameserver: 10.1.1.199
cf3> Interface 1: lo
cf3> Interface 2: eth2
cf3> Trying to locate my IPv6 address
cf3> Found IPv6 address fe80::b01d:56ff:fe17:3a66
cf3> Looking for environment from cf-monitord...
cf3> Loading environment...
cf3> Environment data loaded
cf3> This appears to be a redhat (or redhat-based) system.
cf3> Looking for redhat linux info in "CentOS Linux release 6.0 (Final)"
cf3> ***********************************************************
cf3>  Loading persistent classes
cf3> ***********************************************************
cf3> ***********************************************************
cf3>  Loaded persistent memory
cf3> ***********************************************************
cf3>  -> Found a policy server (hub) on 10.1.1.199
cf3>  -> Policy is already validated
cf3>   > Parsing file /var/cfengine/inputs/promises.cf
cf3> Initiate variable convergence...
cf3>   > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf
cf3> Initiate variable convergence...
cf3> Initiate variable convergence...
cf3> # Knowledge map reporting feature is only available in version Nova and 
above
cf3>  -> Defined classes = { 10_1_1_199 32_bit Day14 February GMT_Hr23 Hr05 
Hr05_Q1 Lcycle_2 Min05_10 Min09 Night PK_MD5_074e110ad3fa3e7ea01bffc05074560d 
Q1 Tuesday Yr2012 any centos centos_6 centos_6_0 cf_server cfengine cfengine_3 
cfengine_3_2 cfengine_3_2_1 community_edition compiled_on_linux_gnu 
entropy_cfengine_in_low entropy_dns_in_low entropy_dns_out_low 
entropy_ftp_in_low entropy_ftp_out_low entropy_icmp_in_low entropy_icmp_out_low 
entropy_irc_in_low entropy_irc_out_low entropy_misc_in_low entropy_misc_out_low 
entropy_netbiosdgm_in_low entropy_netbiosdgm_out_low entropy_netbiosns_in_low 
entropy_netbiosns_out_low entropy_netbiosssn_in_low entropy_netbiosssn_out_low 
entropy_nfsd_in_low entropy_nfsd_out_low entropy_smtp_in_low 
entropy_smtp_out_low entropy_ssh_out_low entropy_tcpack_in_low 
entropy_tcpack_out_low entropy_tcpfin_in_low entropy_tcpfin_out_low 
entropy_tcpsyn_in_low entropy_tcpsyn_out_low entropy_udp_in_low 
entropy_udp_out_low entropy_www_in_low entropy_www_ou
 t_low entropy_wwws_in_low entropy_wwws_out_low fe80__b01d_56ff_fe17_3a66 i686 
ipv4_10 ipv4_10_1 ipv4_10_1_1 ipv4_10_1_1_199 linux linux_2_6_32_71_el6_i686 
linux_i686 linux_i686_2_6_32_71_el6_i686 
linux_i686_2_6_32_71_el6_i686__1_SMP_Fri_Nov_12_04_17_17_GMT_2010 localhost6 
localhost6_localdomain6 messages_low_normal net_iface_eth2 redhat 
rootprocs_high_normal runagent undefined_domain verbose_mode }
cf3>  -> Negated Classes = { }
cf3> Initiate variable convergence...
cf3>  -> Additional class defined: am_policy_hub
cf3> !! Unable to find a key for ip 10.1.1.200
cf3> ...........................................................................
cf3>  * Hailing 10.1.1.200 : 5308, with options "" (serial)
cf3> ...........................................................................
cf3> No existing connection to 10.1.1.200 is established...
cf3> Set cfengine port number to 5308 = 5308
cf3> Set connection timeout to 10
cf3>  -> Connect to 10.1.1.200 = 10.1.1.200 on port 5308
cf3>  !! Error connecting to server (timeout)
cf3>  !!! System error for connect: "Operation now in progress"
cf3>  !! Unable to connect to server 10.1.1.200
cf3>  !!! System reports error for connect: "Operation now in progress"
cf3>  !! No server is responding on this port
cf3> Unable to establish connection with 10.1.1.200
cf3>  -> No suitable server responded to hail



both server and client are listening to the port .Is this issue with key 
exchange ,please help

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

Reply via email to