<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="moz-cite-prefix">On 11/1/18 2:14 PM, Aman Maldar wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAK9pGqWXcn6_aYQarAcsST7ph4hytA7ZEk+ok3fuYumdoM1R_Q@mail.gmail.com">
<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" moz-do-not-send="true">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="gmail-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="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>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Mini-NDN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mini-NDN@lists.cs.ucla.edu">Mini-NDN@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>
</pre>
</blockquote>
</body>
</html>