<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Thanks,<br>
there was an existing dir "one-im" in /tmp. I deleted the existing dir and it worked.<br>
New dir has been created with correct files.<br><br><br>
<br>
Le 9/30/10 5:47 PM, Javier Fontan a écrit :
<blockquote cite="mid:AANLkTinUmtLpzuiy1p+BMMQ=qx73YT9tS+WHgiWkKMhX@mail.gmail.com" type="cite">
  <pre>Hello,<br><br>On Mon, Sep 27, 2010 at 5:17 PM, Olivier Sallou <olivier.sallou@irisa.fr> wrote:<br></pre>
  <blockquote type="cite"><pre>I installed open nebula 1,4. I have a front end and a worker node.<br>I have an error message with "master cannot send script" to worker node:<br><br>Mon Sep 27 17:06:17 2010 [InM][I]: Monitoring host genomobyle (0)<br>Mon Sep 27 17:06:19 2010 [InM][E]: Error monitoring host 0 : MONITOR FAILURE<br>0 Can not send script to remote machine: genomobyle<br><br>As I had to customize user and scripts, I wonder WHERE the master try to<br>send scripts. Master is Ubuntu based with system install while worker is a<br>Red Hat system.<br>I checked that ssh and scp for the oneadmin user can be done without<br>password, this is ok. However I cannot find where the master tries to send<br>the scripts (I configured one with the ssh transport).<br><br>I cannot find in documentation the required directories on workder node.<br></pre></blockquote>
  <pre><br>Copy and execute code for im probes in one 1.4 is located here:<br><br>http://dev.opennebula.org/projects/opennebula/repository/revisions/one-1.4/entry/src/im_mad/im_ssh/one_im_ssh.rb#L60<br><br>That ssh connection creates the remote directory and writes the script<br>using "cat >" (script is sent in stdin).<br><br>By default remote scripts directory is /tmp/one-im. Check that is dir<br>and files do have correct permissions if it exists, or delete it, will<br>be created when monitoring the host.<br><br>Bye<br><br><br></pre>
</blockquote>
<br>
</div></body></html>