Forum: CFEngine Help
Subject: Re: How to solve the issue of unreachable host ?
Author: parmarpritesh
Link to topic: https://cfengine.com/forum/read.php?3,24990,25009#msg-25009

i have replaced the host name and ipaddress with (*).

==========================================
cf-served_on_hub.log
==========================================
nova> Cfengine - autonomous configuration engine - commence self-diagnostic 
prelude
nova> ------------------------------------------------------------------------
nova> Work directory is /var/cfengine
nova> Making sure that locks are private...
nova> Checking integrity of the state database
nova> Checking integrity of the module directory
nova> Checking integrity of the PKI directory
nova> Looking for a source of entropy in /var/cfengine/randseed
nova> -> Loaded private key /var/cfengine/ppkeys/localhost.priv
nova> -> Loaded public key /var/cfengine/ppkeys/localhost.pub
nova> Setting cfengine default port to 5308 = 5308
nova> Reference time set to Thu Feb 23 23:38:00 2012
nova> -> Reading license expiry from /var/cfengine/inputs/license.dat
nova> -> Matched IP xxx.xx.xxx.xx to key 
SHA=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
nova> -> Look for server xxx.xx.xxx.xx's key file
nova> -> Verified license file 
SHA=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - this is a policy 
server (abc development hub)
nova> XX Nothing promised here  (1197/1440 minutes elapsed)
nova> -> Found 50 CFE Nova licenses, expiring on 28 July 2014 for abc 
development hub
nova> -> This is CFE Nova
nova> CFEngine Core 3.2.4
nova> ------------------------------------------------------------------------
nova> Host name is: localhost
nova> Operating System Type is linux
nova> Operating System Release is 2.6.18-194.32.1.el5
nova> Architecture = x86_64
nova> Using internal soft-class linux for host localhost
nova> The time is now Thu Feb 23 23:38:00 2012
nova> ------------------------------------------------------------------------
nova> Additional hard class defined as: 64_bit
nova> Additional hard class defined as: linux_2_6_18_194_32_1_el5
nova> Additional hard class defined as: linux_x86_64
nova> Additional hard class defined as: linux_x86_64_2_6_18_194_32_1_el5
nova> GNU autoconf class from compile time: compiled_on_linux_gnu
nova> Address given by nameserver: 127.0.0.1
nova> Interface 1: lo
nova> Interface 2: eth0
nova> Trying to locate my IPv6 address
nova> Looking for environment from cf-monitord...
nova> Loading environment...
nova> Environment data loaded
nova> This appears to be a redhat (or redhat-based) system.
nova> Looking for redhat linux info in "Red Hat Enterprise Linux Server release 
5.5 (Tikanga)"
nova> -> Recording default document root /var/www/html
nova> ***********************************************************
nova> Loading persistent classes
nova> ***********************************************************
nova> Persistent class loadavg_high_ldt for 0 more minutes
nova> Adding persistent class loadavg_high_ldt to heap
nova> ***********************************************************
nova> Loaded persistent memory
nova> ***********************************************************
nova> -> Assuming document root for a knowledge base in /var/www/html
nova> -> Found a policy server (hub) on xxx.xx.xxx.xx
nova> -> Policy is already validated
nova> > Parsing file /var/cfengine/inputs/promises.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> ?> defining additional global class commercial_customer
nova> > Parsing file /var/cfengine/inputs/CFE_cfengine.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/CFE_hub_specific.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/CFE_knowledge.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/update.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/file_change.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> > Parsing file /var/cfengine/inputs/environment_none/promises.cf
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> -> Defined classes = { xxx_xx_xxx_xx 64_bit Day23 Evening February 
GMT_Hr5 Hr23 Hr23_Q3 Lcycle_2 Min35_40 Min38 
PK_SHA_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Q3 Thursday Yr2012 am_hub_master 
am_policy_hub any cfengine cfengine_3 cfengine_3_2 cfengine_3_2_4 
commercial_customer compiled_on_linux_gnu diskfree_high_normal 
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_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_out
 _low entropy_wwws_in_low entropy_wwws_out_low ipv4_*** ipv4_***_** 
ipv4_***_**_** ipv4_***_**_***_** linux linux_2_6_18_194_32_1_el5 linux_x86_64 
linux_x86_64_2_6_18_194_32_1_el5 
linux_x86_64_2_6_18_194_32_1_el5__1_SMP_Mon_Dec_20_10_52_42_EST_2010 
loadavg_high_ldt localdomain localhost localhost_localdomain 
mem_cached_high_normal mem_free_high_normal mem_freeswap_high_normal 
mem_swap_high_normal mem_total_high_normal messages_high_normal net_iface_eth0 
nova_edition otherprocs_high_normal redhat redhat_5 redhat_5_5 redhat_s 
redhat_s_5 redhat_s_5_5 rootprocs_high_normal server xxxxxxxxxxxx verbose_mode 
x86_64 }
nova> -> Negated Classes = { }
nova> Initiate variable convergence...
nova> -> Checking common class promises...
nova> -> Checking common class promises...
nova> -> 50 paid licenses have been purchased (this is a promise by you)
nova> 
nova> *****************************************************************
nova> BUNDLE environments
nova> *****************************************************************
nova> 
nova> -> Bundle "environments" promise kept at Thu Feb 23 23:38:01 2012
nova> 
nova> =========================================================
nova> classes in bundle environments (0)
nova> =========================================================
nova> 
nova> 
nova> =========================================================
nova> vars in bundle environments (0)
nova> =========================================================
nova> 
nova> Skipping whole promise, as context is environment_development
nova> Skipping whole promise, as context is environment_testing
nova> Skipping whole promise, as context is environment_production
nova> 
nova> *****************************************************************
nova> BUNDLE def
nova> *****************************************************************
nova> 
nova> -> Bundle "def" promise kept at Thu Feb 23 23:38:01 2012
nova> 
nova> =========================================================
nova> vars in bundle def (0)
nova> =========================================================
nova> 
nova> 
nova> =========================================================
nova> classes in bundle def (0)
nova> =========================================================
nova> 
nova> 
nova> *****************************************************************
nova> BUNDLE access_rules
nova> *****************************************************************
nova> 
nova> -> Bundle "access_rules" promise kept at Thu Feb 23 23:38:01 2012
nova> ***********************************************************
nova> Server control promises..
nova> ***********************************************************
nova> SET denybadclocks = 0
nova> SET Allowing connections from ...
nova> SET Allowing multiple connections from ...
nova> SET Trust keys from ...
nova> SET Skip verify connections from ...
nova> SET Allowing users ...
nova> SET maxconnections = 100
nova> 
nova> *****************************************************************
nova> BUNDLE environments
nova> *****************************************************************
nova> 
nova> -> Bundle "environments" promise kept at Thu Feb 23 23:38:01 2012
nova> 
nova> *****************************************************************
nova> BUNDLE def
nova> *****************************************************************
nova> 
nova> -> Bundle "def" promise kept at Thu Feb 23 23:38:01 2012
nova> 
nova> *****************************************************************
nova> BUNDLE access_rules
nova> *****************************************************************
nova> 
nova> -> Bundle "access_rules" promise kept at Thu Feb 23 23:38:01 2012
nova> 
nova> =========================================================
nova> access in bundle access_rules (0)
nova> =========================================================
nova> 
nova> 
nova> =========================================================
nova> roles in bundle access_rules (0)
nova> =========================================================
nova> 
nova> Summarize control promises
nova> Granted access to paths :
nova> Path: /var/cfengine/masterfiles (encrypt=0)
nova> Admit: ***.**.***.**/16 root=
nova> Admit: .*example.com root=
nova> Path: /var/cfengine/master_software_updates (encrypt=0)
nova> Admit: ***.**.***.**/16 root=
nova> Admit: .*example.com root=
nova> Denied access to paths :
nova> Path: /var/cfengine/masterfiles
nova> Path: /var/cfengine/master_software_updates
nova> -> Host IPs allowed connection access :
nova> .... IP: 127.0.0.1
nova> .... IP: ::1
nova> .... IP: ***.**.***.**/16
nova> Host IPs denied connection access :
nova> Host IPs allowed multiple connection access :
nova> .... IP: 127.0.0.1
nova> .... IP: ::1
nova> .... IP: ***.**.***.**/16
nova> Host IPs from whom we shall accept public keys on trust :
nova> .... IP: 127.0.0.1
nova> .... IP: ::1
nova> .... IP: ***.**.***.**/16
nova> Users from whom we accept connections :
nova> .... USERS: root
nova> Host IPs from NAT which we don't verify :
nova> .... IP: .*example.com
nova> .... IP: 127.0.0.1
nova> .... IP: ::1
nova> .... IP: ***.**.***.**/16
nova> Dynamical Host IPs (e.g. DHCP) whose bindings could vary over time :
nova> Could not bind server address
nova> !!! System error for bind: "Address already in use"
nova> Couldn't open bind an open socket

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

Reply via email to