<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">That worked :) Thank you Ashlesh.<br><br>That is correct about websocket section. For some reason I prefer running it "without websocket". I had system issues in the past.<br><br><b><u>Notes to reader</u></b><br>I followed steps as given in my previous mail except for the NFD build, (See new steps below. Those are as suggested by Ashlesh)<br>I just commented the websocket section in nfd.conf. (I didn't copy nfd.conf.sample to nfd.conf. I actually don't remember if I had made any changes to these files in past.)<br><br>> cd mini-ndn/NFD,<br>> sudo ./waf configure  --without-websocket                 ... This is important now since we don't have websocket in nfd.conf <br>> sudo ./waf  build<br>> sudo ./waf   <br>> sudo ./waf   install   <br>// Test for minindn<br>> sudo minindn // should work fine<br><br>// Testing for linux machine. Finally stop and then run the nfd. <br>> sudo nfd-stop<br>> sudo nfd-start   // should work fine<br>> nfdc status show  // should work fine<br><br>Thanks Ashlesh.</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 3:28 PM Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div text="#000000" bgcolor="#FFFFFF">
<p>NFD is built without websocket but nfd.conf for some reason has websocket section (maybe previous build of NFD that was compiled with websocket).</p>
<p>You could either use current sample conf:</p>
<p>    sudo cp /usr/local/etc/ndn/nfd.conf.sample /use/local/etc/ndn/nfd.conf</p>
<p>or re-configure NFD with websocket (not the lack of --without-websocket):</p>
<p>    ./waf configure</p>
<p>Ashlesh<br>
</p>
<div class="m_7996319842101495221moz-cite-prefix">On 11/1/18 2:14 PM, Aman Maldar wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hello,<br>
<br>
I have run into new problem for the same process that I have done earlier.<br>
I have previously added a new fields to packet. (I had some issues while building tools and worked on that) And everything worked fine. In case someone wants to read that discussion, here is the link.<br>
<a href="https://www.lists.cs.ucla.edu/pipermail/mini-ndn/2018-October/000446.html" target="_blank">https://www.lists.cs.ucla.edu/pipermail/mini-ndn/2018-October/000446.html</a></div>
<div><br>
</div>
<div><b><u>New Problem (see log at end)<br>
</u></b>The NFD does not start after making changes.<br>
1541098650.758441 FATAL: [nfd.Main] Unrecognized option face_system.websocket [from ../daemon/face/face-system.cpp:146 in void nfd::face::FaceSystem::processConfig(const ConfigSection&, bool, const string&)]  <br>
<br>
<b><u>Procedure Followed</u></b><br>
I have added few more fields to packets. After making necessary changes I am building different packages. Following are the steps I followed.<br>
<br>
<div>>cd mini-ndn/ndn-cxx/</div>
<div><br>
</div>
<div>sudo ./waf clean</div>
<div>sudo ./waf configure --with-examples<span style="white-space:pre-wrap"> </span>
</div>
<div><br>
</div>
<div>sudo ./waf build</div>
<div>sudo ./waf install</div>
<div><br>
</div>
<div>>cd mini-ndn/NLSR</div>
<div><br>
</div>
<div>sudo ./waf clean</div>
<div>sudo ./waf build</div>
<div>sudo ./waf install</div>
<div><br>
</div>
<div>>cd mini-ndn/ChronoSync</div>
<div><br>
</div>
<div>sudo ./waf clean</div>
<div>sudo ./waf build</div>
<div>sudo ./waf install</div>
<div><br>
</div>
<div>
<div>>cd mini-ndn/ndn-tools</div>
<div><br>
</div>
<div>sudo ./waf clean</div>
<div>sudo ./waf build</div>
<div>sudo ./waf install</div>
</div>
<div><br>
</div>
<div>>cd mini-ndn/NFD</div>
<div><br>
</div>
<div>sudo ./waf clean</div>
<div>sudo ./waf build</div>
<div>sudo ./waf install</div>
<br class="m_7996319842101495221gmail-Apple-interchange-newline">
After this, I try to start nfd and I am running into following issue.  The same problem exists for "sudo minindn"<br>
<br>
<div><b><u>Logs</u></b></div>
<div>lenovo@lenovo-VirtualBox:~$ nfd</div>
<div>NFD version 0.6.2-commit-8ce7074 starting</div>
<div>Built with GNU C++ version 5.4.0 20160609, with GNU libstdc++ version 20160609, with Boost version 1.58.0, with libpcap version 1.7.4, without WebSocket++, with ndn-cxx version 0.6.3-15-g7f9e0be</div>
<div>1541098650.750932 INFO: [nfd.CsPolicy] setLimit 10</div>
<div>1541098650.750995 INFO: [nfd.StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%05</div>
<div>1541098650.757338 INFO: [nfd.InternalForwarderTransport] [id=0,local=null://,remote=null://] Creating transport</div>
<div>1541098650.757364 INFO: [nfd.FaceTable] Added face id=255 remote=null:// local=null://</div>
<div>1541098650.757377 INFO: [nfd.InternalForwarderTransport] [id=0,local=contentstore://,remote=contentstore://] Creating transport</div>
<div>1541098650.757381 INFO: [nfd.FaceTable] Added face id=254 remote=contentstore:// local=contentstore://</div>
<div>1541098650.757549 INFO: [nfd.InternalForwarderTransport] [id=0,local=internal://,remote=internal://] Creating transport</div>
<div>1541098650.757731 INFO: [nfd.FaceTable] Added face id=1 remote=internal:// local=internal://</div>
<div>1541098650.758441 FATAL: [nfd.Main] Unrecognized option face_system.websocket [from ../daemon/face/face-system.cpp:146 in void nfd::face::FaceSystem::processConfig(const ConfigSection&, bool, const string&)]</div>
<div><br>
</div>
I am not really sure what I am doing wrong since I followed the exact same steps as I did last time. After rebuilding ndn-cxx, why is NFD startup is failing?</div>
<div><br>
I appreciate your time and guidance.<br>
Thanks,</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="m_7996319842101495221gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><font size="2">Regards,</font></b><font size="2"><b><i><br>
</i><font size="4"><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)">M<span></span>r. Maldar Aman M.</span></span></font></b></font><font size="4"><b><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)"><span></span><span></span></span></span></b></font><br>
<b>University of Massachusetts, Lowell</b><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_7996319842101495221mimeAttachmentHeader"></fieldset>
<pre class="m_7996319842101495221moz-quote-pre">_______________________________________________
Mini-NDN mailing list
<a class="m_7996319842101495221moz-txt-link-abbreviated" href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a>
<a class="m_7996319842101495221moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>
</pre>
</blockquote>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><font size="2">Regards,</font></b><font size="2"><b><i><br></i><font size="4"><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)">M<span></span>r. Maldar Aman M.</span></span></font></b></font><font size="4"><b><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)"><span></span><span></span></span></span></b></font><br><b>University of Massachusetts, Lowell</b><br></div></div></div></div>