<div dir="ltr"><div>Hi Junxiao,</div><div><br></div><div>Boost library version:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>ndnusr1@ndnhost1:~/sandbox/NFD$ dpkg --get-selections | grep -v deinstall | grep -i boost</div><div>libboost-all-dev<span class="" style="white-space:pre"> </span>install</div><div>libboost-atomic-dev:amd64<span class="" style="white-space:pre"> </span>install</div><div>libboost-atomic1.54-dev:amd64<span class="" style="white-space:pre"> </span>install</div><div>libboost-atomic1.54.0:amd64<span class="" style="white-space:pre"> </span>install</div><div>libboost-chrono-dev:amd64<span class="" style="white-space:pre"> </span>install</div></blockquote><div><br></div><div>OS version: </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ uname -a</div></div><div><div>Linux ndnhost1 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</div></div></blockquote><div><br></div><div>Ubuntu version:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ lsb_release -a</div></div><div><div>No LSB modules are available.</div></div><div><div>Distributor ID:<span class="" style="white-space:pre"> </span>Ubuntu</div></div><div><div>Description:<span class="" style="white-space:pre"> </span>Ubuntu 14.04.2 LTS</div></div><div><div>Release:<span class="" style="white-space:pre"> </span>14.04</div></div><div><div>Codename:<span class="" style="white-space:pre"> </span>trusty</div></div></blockquote><div><br></div><div>/anil.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 15, 2015 at 2:55 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">On Mar 15, 2015 2:48 PM, "Anil Jangam" <<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div>_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">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>
</blockquote></div><br></div>