[Mini-NDN] NFD Start up problem

Aman Maldar amanmaldar at gmail.com
Thu Nov 1 16:54:18 PDT 2018


That worked :) Thank you Ashlesh.

That is correct about websocket section. For some reason I prefer running
it "without websocket". I had system issues in the past.

*Notes to reader*
I followed steps as given in my previous mail except for the NFD build,
(See new steps below. Those are as suggested by Ashlesh)
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.)

> cd mini-ndn/NFD,
> sudo ./waf configure  --without-websocket                 ... This is
important now since we don't have websocket in nfd.conf
> sudo ./waf  build
> sudo ./waf
> sudo ./waf   install
// Test for minindn
> sudo minindn // should work fine

// Testing for linux machine. Finally stop and then run the nfd.
> sudo nfd-stop
> sudo nfd-start   // should work fine
> nfdc status show  // should work fine

Thanks Ashlesh.

On Thu, Nov 1, 2018 at 3:28 PM Ashlesh Gawande (agawande) <
agawande at memphis.edu> wrote:

> 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 listMini-NDN at lists.cs.ucla.eduhttp://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>
>

-- 
*Regards,*
*Mr. Maldar Aman M.*
*University of Massachusetts, Lowell*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20181101/0c6ec1f9/attachment-0001.html>


More information about the Mini-NDN mailing list