<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 28/11/2012 10:12, Le Haies Cyrille wrote:
    <blockquote
      cite="mid:29C8D3D8A0B2E2429F63416026DAF95B57F9CCA5@daru2.domaine.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I install rudder-server-rc1 on centos 6.3
          and rudder-agent-rc1 on other server with centos 6.3.<o:p></o:p></p>
        <p class="MsoNormal">Inventory are OK, i accept the new node on
          web interface of ridder-server, but when i run
          <o:p></o:p></p>
        <p class="MsoNormal">/var/rudder/cfengine-community/bin/cf-agent
          –KI on the node the result is :<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">R:
          @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2012-11-28
          09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Start
          execution<o:p></o:p></p>
        <p class="MsoNormal">Challenge response from server
          192.168.6.8/192.168.6.8 was incorrect!<o:p></o:p></p>
        <p class="MsoNormal">I: Report relates to a promise with handle
          ""<o:p></o:p></p>
        <p class="MsoNormal">I: Made in version 'not specified' of
          '/var/rudder/cfengine-community/inputs/common/1.0/update.cf'
          near line 88<o:p></o:p></p>
        <p class="MsoNormal">!! Authentication dialogue with 192.168.6.8
          failed<o:p></o:p></p>
        <p class="MsoNormal">Unable to establish connection with
          192.168.6.8<o:p></o:p></p>
        <p class="MsoNormal">-> No suitable server responded to hail<o:p></o:p></p>
        <p class="MsoNormal">Promise (version not specified) belongs to
          bundle 'update' in file
          '/var/rudder/cfengine-community/inputs/common/1.0/update.cf'
          near line 88<o:p></o:p></p>
        <p class="MsoNormal">Challenge response from server
          192.168.6.8/192.168.6.8 was incorrect!<o:p></o:p></p>
        <p class="MsoNormal">I: Report relates to a promise with handle
          ""<o:p></o:p></p>
        <p class="MsoNormal">I: Made in version 'not specified' of
          '/var/rudder/cfengine-community/inputs/common/1.0/update.cf'
          near line 100<o:p></o:p></p>
        <p class="MsoNormal">!! Authentication dialogue with 192.168.6.8
          failed<o:p></o:p></p>
        <p class="MsoNormal">Unable to establish connection with
          192.168.6.8<o:p></o:p></p>
        <p class="MsoNormal">-> No suitable server responded to hail<o:p></o:p></p>
        <p class="MsoNormal">Promise (version not specified) belongs to
          bundle 'update' in file
          '/var/rudder/cfengine-community/inputs/common/1.0/update.cf'
          near line 100<o:p></o:p></p>
        <p class="MsoNormal">R:
          @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2012-11-28
          09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Cannot
          update node's policy (CFEngine promises)<o:p></o:p></p>
        <p class="MsoNormal">R:
          @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2012-11-28
          09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Cannot
          update dependencies<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">What happened ???<o:p></o:p></p>
        <p class="MsoNormal">Thanks for your help,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">cyrille</p>
      </div>
    </blockquote>
    <br>
    Hello Cyrille<br>
    <br>
    There are several points you can check to see what is going on :<br>
    - On rudder-server-rc1, do you have the CFEngine server running ?
    You can check with this command : ps efx | grep cf-serverd <br>
    I guess so, since the server is answering, but it's worth checking.<br>
    Also, you can have more details on why the CFENgine server is
    refusing to communicate with the agent by running the server in
    verbose mode :<br>
    /var/rudder/cfengine-community/bin/cf-serverd -v --no-fork<br>
    And then running on the agent
    /var/rudder/cfengine-community/bin/cf-agent –KI <br>
    <br>
    - Rudder relies on the Nodes' declared hostnames to identify them,
    so it is required that each nodes' hostname can be resolved to its
    IP address from the Rudder Server<br>
    You can check this by trying to ping rudder-agent-rc1 from the
    rudder server. If it doesn't resolve, or to a wrong IP address, an
    easy workaround is to add an entry in the /etc/hosts for your agent<br>
    <br>
    - Do you have SELinux running on your system ?<br>
    <br>
    These are the most common issues. If it doesn't help, could you
    please send the verbose output of the CFEngine server when the agent
    is contacting it ?<br>
    <br>
    Thank you,<br>
    Nicolas<br>
  </body>
</html>