<html><head></head><body bgcolor="#FFFFFF"><div>What account is the remote node running as? Are you sure that user has the appropriate permissions?<br><br><br></div><div><br>On 4 Jun 2012, at 21:50, Erisa Dervishi <<a href="mailto:erisa85d@gmail.com">erisa85d@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hello,<div><br></div><div>I am using Tsung, which is a load generator tool written in Erlang to do some performance evaluations.</div><div>When i start Tsung, a local erlang node is started, which afterwards starts a slave monitoring node in the remote machine where I am performing the tests.</div>
<div><br></div><div>I can see that the slave remote node is started properly, and the Tsung Erlang code that servers for monitoring, is load correctly.</div><div>However when this remote node tries to open an existing file in the remote Suse Linux server, i get the following error:</div>
<div><br></div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><div> =INFO REPORT==== 4-Jun-2012::11:12:53 ===</div><div><b> 127     ts_os_mon_erlang:(5:<7176.63.0>) trying to open file: "/proc/net/dev"</b></div>
<div><b> 128 ** at node os_mon@dcr1a **</b></div><div><b> 129 </b></div><div><b> 130 =INFO REPORT==== 4-Jun-2012::11:12:53 ===</b></div><div><b> 131     ts_os_mon_erlang:(5:<7176.63.0>) file: "/proc/net/dev" not succeeded to open for reason: enoent     </b></div>
</span><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><b> 132 ** at node os_mon@dcr1a **</b></span></div><div><br></div><div>I thought it was a file permission problem, however when I try the following test, it succeeds:</div>
<div><br></div><div> erisa$ <b>ssh dcr1a erl</b></div><div><div>Eshell V5.9  (abort with ^G)</div><div>1> <b>file:open("/proc/net/dev",read).</b>         </div><div>{ok,<0.33.0>}</div><div>2></div></div>
<div><br></div><div>Any idea would be very appreciated!</div><div><br></div><div>Thanks,</div><div>Erisa</div><div><br></div><div> </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>