<div dir="ltr"><div>I tried running 'NFD' in one terminal (using sudo nfd-start) and meanwhile checked for the nfd-status in another terminal(using sudo nfd-status), and I saw the following messages in the terminal where NFD was running:<br><br>1466016269.157386 INFO: [UnixStreamTransport] [id=0,local=unix:///run/nfd.sock,remote=fd://28] Creating transport<br>1466016269.157470 INFO: [FaceTable] Added face id=261 remote=fd://28 local=unix:///run/nfd.sock<br>1466016269.202716 INFO: [Transport] [id=261,local=unix:///run/nfd.sock,remote=fd://28] setState UP -> FAILED<br>1466016269.202831 INFO: [Transport] [id=261,local=unix:///run/nfd.sock,remote=fd://28] setState FAILED -> CLOSED<br>1466016269.207058 INFO: [FaceTable] Removed face id=261 remote=fd://28 local=unix:///run/nfd.sock<br><br><br></div>Jeeva<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 June 2016 at 17:41, Rajendran Jeeva <span dir="ltr"><<a href="mailto:rajendrj@tcd.ie" target="_blank">rajendrj@tcd.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Thanks Ashlesh!<br><br></div>When I tried pingAll experiment today all the pings were getting timed out (no content entries in the text file; only timeout entries)<span class=""><br><br>rajendrj@Jeeva:~$ grep -c content /tmp/*/ping-data/*.txt<br></span>/tmp/a/ping-data/b.txt:0<span class=""><br>/tmp/a/ping-data/c.txt:0<br>/tmp/a/ping-data/d.txt:0<br>/tmp/b/ping-data/a.txt:0<br>/tmp/b/ping-data/c.txt:0<br>/tmp/b/ping-data/d.txt:0<br>/tmp/c/ping-data/a.txt:0<br></span>/tmp/c/ping-data/b.txt:0<br>/tmp/c/ping-data/d.txt:0<br>/tmp/d/ping-data/a.txt:0<br>/tmp/d/ping-data/b.txt:0<br>/tmp/d/ping-data/c.txt:0<br>rajendrj@Jeeva:~$ grep -c timeout /tmp/*/ping-data/*.txt<br>/tmp/a/ping-data/b.txt:10<br>/tmp/a/ping-data/c.txt:10<br>/tmp/a/ping-data/d.txt:10<br>/tmp/b/ping-data/a.txt:10<br>/tmp/b/ping-data/c.txt:10<br>/tmp/b/ping-data/d.txt:10<br>/tmp/c/ping-data/a.txt:10<br>/tmp/c/ping-data/b.txt:10<br>/tmp/c/ping-data/d.txt:10<br>/tmp/d/ping-data/a.txt:10<br>/tmp/d/ping-data/b.txt:10<br>/tmp/d/ping-data/c.txt:10<br><br></div>I was running the command from only one terminal (no other terminals are open). NFD and NLSR status are getting displayed for all the nodes<br><br></div>I also tried manually 'ndnping' from the node 'a' to the prefix '/ndn/edu/b' , but it got timed out as well<br><br></div>Is there a way to track the reason behind these timeouts ?<br><br></div>Please advise<br><br></div>thanks,<br></div>Jeeva<br><div><div><div><div><div><div><br></div></div></div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 14 June 2016 at 21:08, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@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>

<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>It is not expected, I think you have timeouts in those, search:</p>
<p><span style="color:rgb(33,33,33);font-size:15px">grep -c timeout /tmp/*/ping-data/*.txt</span><br>
</p>
<p><span style="color:rgb(33,33,33);font-size:15px"><br>
</span></p>
<p><span style="color:rgb(33,33,33);font-size:15px">ndnping is timing out for some reason - either NFD went down during the experiment in another terminal</span></p>
<p><span style="color:rgb(33,33,33);font-size:15px">(you can keep checking ps aux | grep "sudo nfd") or ndnpingserver went down on any of the node.</span></p>
<p><span style="color:rgb(33,33,33);font-size:15px"><br>
</span></p>
<p><span style="color:rgb(33,33,33);font-size:15px">Ashlesh</span></p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Rajendran Jeeva <<a href="mailto:rajendrj@tcd.ie" target="_blank">rajendrj@tcd.ie</a>><br>
<b>Sent:</b> Tuesday, June 14, 2016 2:48:39 PM<div><div><br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] NLSR has not converged - Issue while running minindn</div></div></font>
<div> </div>
</div><div><div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi Ashlesh,<br>
<br>
</div>
Thank you for sorting out the problem. <br>
<br>
</div>
I am using Ubuntu 14.04 LTS.<br>
<br>
</div>
<div>Yeah. 'nfd-status' was not working even outside the mini-ndn folder  (seems like nfd-start and stop were working, I even got 'NFD already running' message when i triggered nfd-start multiple times)<br>
</div>
<div><br>
</div>
When i tried checking out the above patch in NFD folder there was 'fatal: reference not in tree' issue. So, i removed '--depth 1' part from git clone of NFD in install.sh of mini-ndn and reinstalled it<br>
<br>
</div>
I checked out the above patch as well and ran waf configuration and installation <br>
<br>
</div>
Then i executed both 'nfd-status' and pingall experiment and both got executed successfully with the convergence time of 120 instead of 60. Thank you so much for the help.<br>
<br>
</div>
<div>I just have one more query. When I executed the command 'sudo minindn --experiment=pingall --ctime 120 --nPings=50' and checked ping-data , it showed count for only few files . Is this expected ?<br>
<br>
rajendrj@Jeeva:~$ grep -c content /tmp/*/ping-data/*.txt<br>
/tmp/a/ping-data/b.txt:243<br>
/tmp/a/ping-data/c.txt:0<br>
/tmp/a/ping-data/d.txt:0<br>
/tmp/b/ping-data/a.txt:0<br>
/tmp/b/ping-data/c.txt:0<br>
/tmp/b/ping-data/d.txt:0<br>
/tmp/c/ping-data/a.txt:0<br>
/tmp/c/ping-data/b.txt:242<br>
/tmp/c/ping-data/d.txt:0<br>
/tmp/d/ping-data/a.txt:0<br>
/tmp/d/ping-data/b.txt:241<br>
/tmp/d/ping-data/c.txt:0<br>
<br>
</div>
<div>Please advise.<br>
<br>
</div>
<div>Thanks,<br>
</div>
<div>~Jeeva<br>
</div>
<div><br>
</div>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 14 June 2016 at 19:42, Ashlesh Gawande (agawande) <span dir="ltr">
<<a href="mailto:agawande@memphis.edu" target="_blank">agawande@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>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi</p>
<p><br>
</p>
<p>Some new information may have come to light, if nfd-status is not working outside Mini-NDN can you try the following patch:</p>
<p><a href="https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0" title="https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0
Ctrl+Click or tap to follow the link" target="_blank">https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0</a><br>
</p>
<p><br>
</p>
<p>To do so go to your NFD folder and do</p>
<p>git checkout <span style="font-size:12pt">ace83ac9384da037a36695888e829d7337ce36b0</span></p>
<p>./waf distclean</p>
<p>./waf configure --without-websocket</p>
<p>./waf</p>
<p>sudo ./waf install</p>
<p><br>
</p>
<p>Then try to run Mini-NDN experiment again.</p>
<p><br>
</p>
<p>And is your OS, Ubuntu 14.04?</p>
<p><br>
</p>
<p>Thanks</p>
<p>Ashlesh</p>
<p><span style="font-size:12pt"></span></p>
<div><br>
</div>
<p></p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf of Ashlesh Gawande (agawande)
 <<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>><br>
<b>Sent:</b> Tuesday, June 14, 2016 11:29:50 AM<br>
<b>To:</b> Rajendran Jeeva
<div>
<div><br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] NLSR has not converged - Issue while running minindn</div>
</div>
</font>
<div> </div>
</div>
<div>
<div>
<div>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Can you check whether nfd-status works outside of mini-ndn?</p>
<p>Just do nfd-start and then do nfd-status.</p>
<p><br>
</p>
<p>Convergence depends on nfd-status as mini-ndn checks whether prefixes and routers have been installed.</p>
<p><br>
</p>
<p>> a nfd does not work because we use the a.conf file, if you do" a nfd -f a.conf &" it should work.</p>
<p>But the problem seems to be that nfd-status is not working (even outside of mini-ndn).</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Rajendran Jeeva <<a href="mailto:rajendrj@tcd.ie" target="_blank">rajendrj@tcd.ie</a>><br>
<b>Sent:</b> Tuesday, June 14, 2016 9:32:55 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] NLSR has not converged - Issue while running minindn</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi Ashlesh,<br>
<br>
</div>
Thanks for the response.<br>
<br>
</div>
I tried running the command 'a nfd-status -b' for node 'a' and for other nodes as well. It is not displaying anything .
<br>
<br>
</div>
1. NFD status:<br>
<br>
<span style="color:rgb(255,0,0)">mininet> a nfd-status -b<br>
mininet><br>
<br>
</span><br>
NLSR status is displaying as follow<br>
<br>
</div>
2. NLSR status:<br>
<br>
mininet> a nlsrc status<br>
NLSR Status<br>
LSDB:<br>
  OriginRouter: /ndn/edu/%C1.Router/cs/a<br>
<br>
    Coordinate LSA:<br>
      info=LsaInfo(OriginRouter: /ndn/edu/%C1.Router/cs/a, SequenceNumber: 90, ExpirationPeriod: 3591936 milliseconds)<br>
      angle=0<br>
      radius=0<br>
<br>
    Name LSA:<br>
      info=LsaInfo(OriginRouter: /ndn/edu/%C1.Router/cs/a, SequenceNumber: 90, ExpirationPeriod: 3591932 milliseconds)<br>
      name=/ndn/edu/a<br>
<br>
  OriginRouter: /ndn/edu/%C1.Router/cs/b<br>
<br>
</div>
3. I just tried running 'nfd' command for a node and it displayed 'Failed to read configuration file: /usr/local/etc/ndn/nfd.conf'<br>
<br>
mininet> a nfd<br>
1465913606.293515 FATAL: [NFD] <span style="color:rgb(255,0,0)">Failed to read configuration file: /usr/local/etc/ndn/nfd.conf [from ../core/config-file.cpp:94 in void nfd::ConfigFile::parse</span>(const string&, bool)]<br>
mininet><br>
<br>
</div>
I ensured again that NFD is installed when mini-ndn is installed and the configuration is run.
<br>
<div>
<div><br>
</div>
<div>Not sure whether the convergence is not happening because the conf file is missing.<br>
<br>
</div>
<div>Any help would be appreciated<br>
<br>
</div>
<div>Thanks in advance<br>
<br>
</div>
<div>~Jeeva<br>
</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 June 2016 at 16:56, Ashlesh Gawande (agawande) <span dir="ltr">
<<a href="mailto:agawande@memphis.edu" target="_blank">agawande@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>
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Try to run just:</p>
<p>sudo minindn</p>
<p><br>
</p>
<p>And when the command line comes up, wait for some time and check the FIB of each node:</p>
<p><br>
</p>
<p>a nfd-status -b</p>
<p>b nfd-status -b</p>
<p>c nfd-status -b</p>
<p>d nfd-status -b</p>
<p><br>
</p>
<p>They should all have each other prefixes (i.e. /ndn/edu/<node>) and routers (/ndn/edu/<span>%C1.Router/<node></span>).</p>
<p>If not you will get the error you got - NLSR could not converge (only if an experiment was run).</p>
<p><br>
</p>
<p>If they do have each other's prefixes then you can try to increase the convergence time:</p>
<p>sudo minindn --experiment=pingall --ctime 100</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucla.edu</a>> on behalf of Rajendran Jeeva <<a href="mailto:rajendrj@tcd.ie" target="_blank">rajendrj@tcd.ie</a>><br>
<b>Sent:</b> Sunday, June 12, 2016 10:33:05 AM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] NLSR has not converged - Issue while running minindn</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hi All,<br>
<br>
</div>
I have installed mini-ndn as follows:<br>
<br>
</div>
1. Cloned 'mini-ndn' from github<br>
</div>
2. $ cd mini-ndn<br>
</div>
3. Installed it using the command <br>
<pre><code>sudo ./install.sh -mrfti<br></code></pre>
<pre><code>4. When the above command got executed , NFD, NLSR, ndn, and <br>mininet got installed in the 'mini-ndn' directory(not in the home directory<br></code></pre>
<pre><code>as I ran install.sh from inside mini-ndn directory )<br></code></pre>
<pre><code>5. Once the installation is completed I tried running the --Pingall experiment with<br></code></pre>
<pre><code>default topology<br></code></pre>
<pre><code>6. There was an error stating 'mininet.topo module not found'(Rectified this<br></code></pre>
<pre><code>problem by installing 'mininet' in the home directory)<br></code></pre>
<pre><code>7. When I ran the minindn command again, I got the following output<br><br></code><code>rajendrj@Jeeva:~$ sudo minindn --experiment=pingall<br>No results folder specified; experiment results will remain in the working directory<br>Parse of /usr/local/etc/mini-ndn/default-topology.conf done.<br>*** Creating network<br>*** Adding controller<br>*** Adding hosts:<br>a b c d <br>*** Adding switches:<br><br>*** Adding links:<br>(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d) <br>*** Configuring hosts<br>a b c d <br>Setup time: 8<br>*** Starting controller<br>c0 <br>*** Starting 0 switches<br><br>Loading experiment: pingall<br>Using 1.000000 traffic<br><b>Waiting 60 seconds for convergence...</b><br>...done<br><span style="color:rgb(204,0,0)"><b>NLSR has not converged. Exiting...</b></span><br>rajendrj@Jeeva:~$<br><br></code></pre>
<pre><code>As shown in the last line, the execution exited with 'NLSR has not converged'<br></code></pre>
<pre><code>' message<br><br></code></pre>
<pre><code>Am I missing something here ? Is this because 'mininet' is running from home directory<br></code></pre>
<pre><code>but NLSR , NFD and ndn run from 'mini-ndn' directory ? Is there a way to see <br></code></pre>
<pre><code>the error output?<br><br></code></pre>
<pre><code>Please advise and help me here<br><br></code></pre>
<pre><code>Thanks in advance,<br></code></pre>
<pre><code>~Jeeva<br></code></pre>
<pre><code><br><br></code></pre>
<pre><code><br><br></code></pre>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>

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