[Ndn-interest] NFD Issues.

Anil Jangam anilj.mailing at gmail.com
Sun Mar 15 15:19:34 PDT 2015


Junxiao,

After recreating nfd.conf file, I am able to start nfd process. However,
the compilation issue still exist. But I have my previously installed nfd
instance for now.

/anil.

On Sun, Mar 15, 2015 at 3:04 PM, Anil Jangam <anilj.mailing at gmail.com>
wrote:

> Compiler version is: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
>
> What is "maintainer version" and how to invoke it?
>
> /anil.
>
>
> On Sun, Mar 15, 2015 at 3:02 PM, Junxiao Shi <shijunxiao at email.arizona.edu
> > wrote:
>
>> Hi Anil
>>
>> I need to know the version of operating system and compiler, not just NFD.
>>
>> Also, NFD configuration file is incompatible between versions.
>> Purge the old configuration and create them again.
>> Choose "maintainer version" during future upgrades.
>>
>> Yours, Junxiao
>> On Mar 15, 2015 2:56 PM, "Anil Jangam" <anilj.mailing at gmail.com> wrote:
>>
>>> I am having version 0.3.1
>>>
>>> ndnusr1 at ndnhost1:~/sandbox/NFD$ nfdc -V
>>> 0.3.1
>>>
>>>
>>> /anil.
>>>
>>>
>>> On Sun, Mar 15, 2015 at 2:47 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/e45eed58/attachment.html>


More information about the Ndn-interest mailing list