<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 02/12/2013 14:36, Olivier Desport a
écrit :</div>
<blockquote cite="mid:529C8CD2.90503@ac-versailles.fr" type="cite">
<div class="moz-cite-prefix">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
</div>
Le 02/12/2013 14:27, Matthieu CERDA a écrit :<br>
</div>
<blockquote cite="mid:529C8AC6.2070302@normation.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 02/12/2013 13:28, Olivier
Desport a écrit :<br>
</div>
<blockquote cite="mid:529C7D07.5090508@ac-versailles.fr"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
OK, so the invocation looks good manually too. <br>
<blockquote cite="mid:529C73E5.2040200@normation.com"
type="cite"> <br>
Can you please send me the output of "grep <NODE IP
ADDRESS> /var/log/rudder/apache2/access.log", to be
executed on the Rudder server ? (replacing the node ip
address by the IP of the node unable to be registered) <br>
</blockquote>
The output of the grep is empty.<br>
</blockquote>
OK, and if you try with the Proxy IP ?<br>
</blockquote>
/usr/bin/curl --proxy 'http://proxy-ip:port' <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://172.31.136.121/uuid">http://172.31.136.121/uuid</a>
:<br>
<br>
it works (output : root)<br>
</blockquote>
Hi Olivier,<br>
<br>
OK, I do think it might be a proxy issue. Can you please run these
commands to test if curl obeys the "no proxy" parameter ?<br>
<br>
First, on the client:<br>
<br>
- /usr/bin/curl --proxy '' -o "/var/rudder/tmp/uuid.txt" <a
class="moz-txt-link-freetext" href="http://172.31.0.61/uuid">http://172.31.0.61/uuid</a><br>
- unset http_proxy<br>
- unset ftp_proxy<br>
- unset https_proxy<br>
- unset no_proxy<br>
- /usr/bin/curl --proxy '' -o "/var/rudder/tmp/uuid.txt" <a
class="moz-txt-link-freetext" href="http://172.31.0.61/uuid">http://172.31.0.61/uuid</a><br>
<br>
Then, on the server:<br>
<br>
- grep uuid /var/log/rudder/apache2/access.log | tail -n 20<br>
<br>
And please give me the output of the two curl commands and the
output of the last command (grep/tail) ?<br>
<br>
Thanks in advance,<br>
Regards,<br>
--<br>
Matthieu CERDA<br>
</body>
</html>