<p>Hi Anil</p>
<p>What operating system version is running?</p>
<p>What Boost version is installed?</p>
<p>Yours, Junxiao</p>
<div class="gmail_quote">On Mar 15, 2015 2:48 PM, "Anil Jangam" <<a href="mailto:anilj.mailing@gmail.com">anilj.mailing@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Today, I noticed an issue with starting the NFD service. Apparently, it is crashing since the process Id it shows after nfd-start does not exist any more in process status. However, when I try to restart it again, it says, "start: Job is already running: nfd". <div><br></div><div>There are multiple issues here. When I do nfd-status, it is not able to connect to the NFD. Some of the logs are attached below. <br><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-start</div></div></div><div><div><div>nfd start/running, process 5942</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ ps -ef | grep 5942</div></div></div><div><div><div>ndnusr1   5974  3772  0 14:39 pts/11   00:00:00 grep 5942</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-start</div></div></div><div><div><div>start: Job is already running: nfd</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-status</div></div></div><div><div><div>ERROR: error while receiving data from socket (Connection reset by peer)</div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div></div></blockquote><div><div><div><br></div></div><div>I also tried compiling a new version of the NFD from source, and was stopped by the following compilation error. Is this new or am I missing something in my environment? </div></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ ./waf </div></div><div><div>Waf: Entering directory `/home/ndnusr1/sandbox/NFD/build'</div></div><div><div>[  3/121] Compiling core/city-hash.cpp</div></div><div><div>[  5/121] Compiling core/global-io.cpp</div></div><div><div>[  6/121] Compiling core/network-interface.cpp</div></div><div><div>[  8/121] Compiling core/privilege-helper.cpp</div></div><div><div>[  9/121] Compiling core/random.cpp</div></div><div><div>[ 12/121] Compiling core/logger.cpp</div></div><div><div>[ 15/121] Compiling daemon/face/multicast-udp-face.cpp</div></div><div><div>[ 17/121] Compiling daemon/face/ndnlp-partial-message-store.cpp</div></div><div><div>../core/logger.cpp: In static member function ‘static const char* nfd::Logger::now()’:</div></div><div><div>../core/logger.cpp:61:3: error: static assertion failed: PRIdLEAST64 is incompatible with microseconds::rep</div></div><div><div>   static_assert(std::is_same<microseconds::rep, int_least64_t>::value,</div></div><div><div>   ^</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>            microsecondsSinceEpoch % ONE_SECOND);</div></div><div><div>                                               ^</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div><br></div></div><div><div>Waf: Leaving directory `/home/ndnusr1/sandbox/NFD/build'</div></div><div><div><font color="#cc0000">Build failed</font></div></div><div><div><font color="#cc0000"> -> task in 'core-objects' failed (exit status 1): </font></div></div><div><div><font color="#cc0000"><span style="white-space:pre-wrap">        </span>{task 139803716150992: cxx logger.cpp -> logger.cpp.2.o}</font></div></div><div><div><font color="#cc0000">['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-fPIC', '-include', '/home/ndnusr1/sandbox/NFD/build/core-objects.2', '-I/home/ndnusr1/sandbox/NFD/build', '-I/home/ndnusr1/sandbox/NFD', '-I/home/ndnusr1/sandbox/NFD/build/core', '-I/home/ndnusr1/sandbox/NFD/core', '-I/usr/include', '-I/usr/local/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../core/logger.cpp', '-c', '-o', '/home/ndnusr1/sandbox/NFD/build/core/logger.cpp.2.o']</font></div></div><div><br></div></blockquote>Regards,<div>/anil.</div><div><br></div></div>
<br>_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
<br></blockquote></div>