<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi</p>
<p><br>
</p>
<p>Seems like either NFD is not running or NFD got killed somehow or client.conf cannot find NFD sock hence the error:</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">ERROR: error while connecting to the forwarder (No such file or directory).</span><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">I am guessing it is the second case since pingall experiment worked.
 Was the ndnping command the first one you ran after mini-NDN command line came up?</span></p>
<div><br>
</div>
1) ndnping will not work if you don't have ndnpingserver running on a node (mininet>a ndnpingserver /ndn/edu/a &, <span style="font-size: 12pt;">don't forget the & to run it in background other wise you can no longer use the command line and would have to press
 control C to exit). Then you can ping it from other nodes as long as there is route to that (which NLSR should take care of</span><span style="font-size: 12pt;">).</span>
<div>
<div><br>
</div>
<div>2) NFD gets killed if you press Control-C on mininet command line (For example if you ran: mininet> a ndnpingserver /ndn/edu/a and then pressed Control-C, NFD on node a would get killed).</div>
<div><br>
</div>
<div>3) Radius and angle are to do with the hyperbolic (geometric) routing (--hr option). Normally mini-NDN uses link state routing and those options are<br>
<br>
4) Instead of --pingall use --experiment=pingall</div>
<div><br>
</div>
<div>Thank you for notifying us, we will try to update the documentation soon.</div>
<div><br>
</div>
<div>Ashlesh<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Teng Liang <philoliang2011@gmail.com><br>
<b>Sent:</b> Thursday, November 12, 2015 7:16 PM<br>
<b>To:</b> Vince Lehman (vslehman)<br>
<b>Cc:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] [mini-ndn] Failed to read configuration file</font>
<div> </div>
</div>
<div>
<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" id="LPlnk265074">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" title="https://github.com/named-data/mini-ndn/blob/master/docs/GUI.md
Ctrl+Click or tap to follow the link">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-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-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-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-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" title="mailto:philoliang2011@gmail.com
Ctrl+Click or tap to follow the link">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>
</div>
</div>
</div>
</div>
</div>
</body>
</html>