[Mini-NDN] NFD Start up problem

Ashlesh Gawande (agawande) agawande at memphis.edu
Thu Nov 1 12:28:05 PDT 2018


NFD is built without websocket but nfd.conf for some reason has websocket section (maybe previous build of NFD that was compiled with websocket).

You could either use current sample conf:

    sudo cp /usr/local/etc/ndn/nfd.conf.sample /use/local/etc/ndn/nfd.conf

or re-configure NFD with websocket (not the lack of --without-websocket):

    ./waf configure

Ashlesh

On 11/1/18 2:14 PM, Aman Maldar wrote:
Hello,

I have run into new problem for the same process that I have done earlier.
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.
https://www.lists.cs.ucla.edu/pipermail/mini-ndn/2018-October/000446.html

New Problem (see log at end)
The NFD does not start after making changes.
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&)]

Procedure Followed
I have added few more fields to packets. After making necessary changes I am building different packages. Following are the steps I followed.

>cd mini-ndn/ndn-cxx/

sudo ./waf clean
sudo ./waf configure --with-examples

sudo ./waf build
sudo ./waf install

>cd mini-ndn/NLSR

sudo ./waf clean
sudo ./waf build
sudo ./waf install

>cd mini-ndn/ChronoSync

sudo ./waf clean
sudo ./waf build
sudo ./waf install

>cd mini-ndn/ndn-tools

sudo ./waf clean
sudo ./waf build
sudo ./waf install

>cd mini-ndn/NFD

sudo ./waf clean
sudo ./waf build
sudo ./waf install

After this, I try to start nfd and I am running into following issue.  The same problem exists for "sudo minindn"

Logs
lenovo at lenovo-VirtualBox:~$ nfd
NFD version 0.6.2-commit-8ce7074 starting
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
1541098650.750932 INFO: [nfd.CsPolicy] setLimit 10
1541098650.750995 INFO: [nfd.StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%05
1541098650.757338 INFO: [nfd.InternalForwarderTransport] [id=0,local=null://,remote=null://] Creating transport
1541098650.757364 INFO: [nfd.FaceTable] Added face id=255 remote=null:// local=null://
1541098650.757377 INFO: [nfd.InternalForwarderTransport] [id=0,local=contentstore://,remote=contentstore://] Creating transport
1541098650.757381 INFO: [nfd.FaceTable] Added face id=254 remote=contentstore:// local=contentstore://
1541098650.757549 INFO: [nfd.InternalForwarderTransport] [id=0,local=internal://,remote=internal://] Creating transport
1541098650.757731 INFO: [nfd.FaceTable] Added face id=1 remote=internal:// local=internal://
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&)]

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?

I appreciate your time and guidance.
Thanks,


--
Regards,
Mr. Maldar Aman M.
University of Massachusetts, Lowell



_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu<mailto:Mini-NDN at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20181101/6c4b9c37/attachment.html>


More information about the Mini-NDN mailing list