[Ndn-interest] NFD Issues.

Anil Jangam anilj.mailing at gmail.com
Sun Mar 15 14:57:51 PDT 2015


Hi Junxiao,

Boost library version:

ndnusr1 at ndnhost1:~/sandbox/NFD$ dpkg --get-selections | grep -v deinstall |
grep -i boost
libboost-all-dev install
libboost-atomic-dev:amd64 install
libboost-atomic1.54-dev:amd64 install
libboost-atomic1.54.0:amd64 install
libboost-chrono-dev:amd64 install


OS version:

ndnusr1 at ndnhost1:~/sandbox/NFD$ uname -a
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


Ubuntu version:

ndnusr1 at ndnhost1:~/sandbox/NFD$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty


/anil.



On Sun, Mar 15, 2015 at 2:55 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Anil
>
> What operating system version is running?
>
> What Boost version is installed?
>
> Yours, Junxiao
> On Mar 15, 2015 2:48 PM, "Anil Jangam" <anilj.mailing at gmail.com> wrote:
>
>> 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".
>>
>> 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.
>>
>> ndnusr1 at ndnhost1:~/sandbox/NFD$ nfd-start
>> nfd start/running, process 5942
>>
>> ndnusr1 at ndnhost1:~/sandbox/NFD$ ps -ef | grep 5942
>> ndnusr1   5974  3772  0 14:39 pts/11   00:00:00 grep 5942
>>
>> ndnusr1 at ndnhost1:~/sandbox/NFD$ nfd-start
>> start: Job is already running: nfd
>>
>> ndnusr1 at ndnhost1:~/sandbox/NFD$
>> ndnusr1 at ndnhost1:~/sandbox/NFD$ nfd-status
>> ERROR: error while receiving data from socket (Connection reset by peer)
>> ndnusr1 at ndnhost1:~/sandbox/NFD$
>>
>>
>> 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?
>>
>> ndnusr1 at ndnhost1:~/sandbox/NFD$
>> ndnusr1 at ndnhost1:~/sandbox/NFD$ ./waf
>> Waf: Entering directory `/home/ndnusr1/sandbox/NFD/build'
>> [  3/121] Compiling core/city-hash.cpp
>> [  5/121] Compiling core/global-io.cpp
>> [  6/121] Compiling core/network-interface.cpp
>> [  8/121] Compiling core/privilege-helper.cpp
>> [  9/121] Compiling core/random.cpp
>> [ 12/121] Compiling core/logger.cpp
>> [ 15/121] Compiling daemon/face/multicast-udp-face.cpp
>> [ 17/121] Compiling daemon/face/ndnlp-partial-message-store.cpp
>> ../core/logger.cpp: In static member function ‘static const char*
>> nfd::Logger::now()’:
>> ../core/logger.cpp:61:3: error: static assertion failed: PRIdLEAST64 is
>> incompatible with microseconds::rep
>>    static_assert(std::is_same<microseconds::rep, int_least64_t>::value,
>>    ^
>> ../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=]
>>             microsecondsSinceEpoch % ONE_SECOND);
>>                                                ^
>> ../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=]
>> ../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=]
>> ../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=]
>>
>> Waf: Leaving directory `/home/ndnusr1/sandbox/NFD/build'
>> Build failed
>>  -> task in 'core-objects' failed (exit status 1):
>> {task 139803716150992: cxx logger.cpp -> logger.cpp.2.o}
>> ['/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']
>>
>> Regards,
>> /anil.
>>
>>
>> _______________________________________________
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150315/3e2abf61/attachment.html>


More information about the Ndn-interest mailing list