<div dir="ltr">Hi Vince,<div><br></div><div>Thanks for your help.</div><div><br></div><div>I tried again, following your instructions. As a result, there were no errors in log file, but ndnping didn't work. The results were either </div><div><br></div><div><div>mininet> a ndnping b</div><div>PING /<a href="http://1.0.0.2" target="_blank">1.0.0.2</a></div><div>timeout from /<a href="http://1.0.0.2" target="_blank">1.0.0.2</a>: seq=17432959044867093349</div><div>timeout from /<a href="http://1.0.0.2" target="_blank">1.0.0.2</a>: seq=17432959044867093350</div><div>timeout from /<a href="http://1.0.0.2" target="_blank">1.0.0.2</a>: seq=17432959044867093351</div></div><div><br></div><div>or</div><div><br></div><div><div>mininet> a ndnping b</div><div>ERROR: error while receiving data from socket (End of file)</div><div>PING /<a href="http://1.0.0.2" target="_blank">1.0.0.2</a></div><div>ERROR: error while connecting to the forwarder (No such file or directory)</div></div><div><br></div><div>The pingall experiment worked well. </div><div><br></div><div>For the topologies, docs/CONFIG.md doesn't explain parameters <i>radius</i> or <i>angle</i> for nodes. In INSALL.md, the verification command doesn't work, as there is no --pingall option for minindn.</div><div><br></div><div>Teng</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 1:09 PM, Vince Lehman (vslehman) <span dir="ltr"><<a href="mailto:vslehman@memphis.edu" target="_blank">vslehman@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Teng,
<div><br>
</div>
<div>Can you first confirm that the file ‘/tmp/a/a.conf’ exists? If so, make sure there are no instances of NFD currently running, remove the folders for each node in the /tmp directory, and then try starting Mini-NDN again.</div>
<div><br>
</div>
<div><span class="">
<blockquote type="cite">
<div dir="ltr">
<div style="font-size:12.8px">Another question is how are topologies files generated, manually or by some scripts from minindn? What's the format?</div>
</div>
</blockquote>
<div><br>
</div></span>
The topologies can be written by hand or by using the GUI. The format is described in docs/CONFIG.md (<a href="https://github.com/named-data/mini-ndn/blob/master/docs/CONFIG.md" target="_blank">https://github.com/named-data/mini-ndn/blob/master/docs/CONFIG.md</a>),
 and the GUI is explained in docs/GUI.md (<a href="https://github.com/named-data/mini-ndn/blob/master/docs/GUI.md" target="_blank">https://github.com/named-data/mini-ndn/blob/master/docs/GUI.md</a>).<br>
<div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;direction:ltr">
<br>
--</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;direction:ltr">
Vince Lehman</div>
</div>
</div>
</div>
<br>
<div>
<blockquote type="cite"><div><div class="h5">
<div>On Nov 9, 2015, at 1:55 PM, Teng Liang <<a href="mailto:philoliang2011@gmail.com" target="_blank">philoliang2011@gmail.com</a>> wrote:</div>
<br>
</div></div><div><div><div class="h5">
<div dir="ltr"><span style="font-size:12.8px">Hi folks,</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I failed to run the latest version of mini-ndn (on Linux) with the following errors. </div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">First, mini-ndn tried to copy the nfd configuration file from '/usr/local/etc/ndn/', but failed.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">> cp: cannot stat `/usr/local/etc/ndn/nfd.conf.sample': No such file or directory<br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">My configuration files were in '/etc/ndn/'; I tried to copy them to '/usr/local/etc/ndn/' and ran minindn again. Here are the error messages from a.log:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div>1446853834.224102 FATAL: [NFD] Failed to read configuration file: /tmp/a/a.conf [from ../core/config-file.cpp:94 in void nfd::ConfigFile::parse(const string&, bool)]</div>
<div>1446853889.262472 FATAL: [NFD] Failed to read configuration file: /tmp/a/a.conf [from ../core/config-file.cpp:94 in void nfd::ConfigFile::parse(const string&, bool)]</div>
<div>1446932899.171233 FATAL: [NFD] Socket file at /run/a.sock belongs to another NFD process [from ../daemon/face/unix-stream-channel.cpp:83 in void nfd::UnixStreamChannel::listen(const FaceCreatedCallback&, const ConnectFailedCallback&, int)]</div>
<div>1447003753.226606 FATAL: [NFD] Socket file at /run/a.sock belongs to another NFD process [from ../daemon/face/unix-stream-channel.cpp:83 in void nfd::UnixStreamChannel::listen(const FaceCreatedCallback&, const ConnectFailedCallback&, int)]</div>
<div>1447003833.855714 FATAL: [NFD] Socket file at /run/a.sock belongs to another NFD process [from ../daemon/face/unix-stream-channel.cpp:83 in void nfd::UnixStreamChannel::listen(const FaceCreatedCallback&, const ConnectFailedCallback&, int)]</div>
<div>1447005216.105377 FATAL: [NFD] Socket file at /run/a.sock belongs to another NFD process [from ../daemon/face/unix-stream-channel.cpp:83 in void nfd::UnixStreamChannel::listen(const FaceCreatedCallback&, const ConnectFailedCallback&, int)]</div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Another question is how are topologies files generated, manually or by some scripts from minindn? What's the format?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thanks,</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Teng</div>
</div></div></div>
_______________________________________________<br>
Mini-NDN mailing list<br>
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br></div></div>