[Nfd-dev] nfd-start yield nothing after fresh installation

Ashlesh Gawande (agawande) agawande at memphis.edu
Tue Jun 14 11:13:34 PDT 2016


I was having the same problem in Ubuntu 14.04. nfd-status does not work but I can run NLSR.

nfd-status would not even display an error connecting to the forwarder if NFD was not running.

The only option that worked was nfd-status -h.


I have NFD installed from source in two machines Ubuntu 14.04 and Ubuntu 15.10 (both are VMs).


I did a git pull and updated NFD on both to latest. nfd-status stopped working only on Ubuntu 14.04.

(ndn-cxx version was updated and installed before NFD)


I went back one by one until finally nfd-status worked with this commit:

https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0


[https://avatars3.githubusercontent.com/u/14133144?v=3&s=200]<https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0>

tools: display Nack counters in nfd-status · named-data/NFD at ace83ac<https://github.com/named-data/NFD/commit/ace83ac9384da037a36695888e829d7337ce36b0>
github.com
refs #3569 Change-Id: I59e76d421502417a13efbf088284d278da07bae4


Ashlesh

________________________________
From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu> on behalf of Thiago Teixeira <tteixeira at engin.umass.edu>
Sent: Wednesday, June 8, 2016 4:30:40 PM
To: <nfd-dev at lists.cs.ucla.edu>
Subject: Re: [Nfd-dev] nfd-start yield nothing after fresh installation

Hi all,

I created a topology with two nodes, Ubuntu 14.04 LTS on GENI.
After installing ndn-cxx and NFD with maintainer’s version, I start the NFD on both nodes.

When I run “nfdc register /ndn udp://<IP of other node>” it gives me nothing.
I’ve tried nfd-autoreg:
AUTOREG prefixes:
  /ndn
ALL-FACES-AUTOREG prefixes:
Whitelisted networks:
  0.0.0.0 <-> 255.255.255.255
  :: <-> ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff

nfd-status yields nothing.

I can run the simple application locally (./build/examples/producer and …/consumer), but I can’t run from the remote node to the local node.

Any advices?

Thanks,
Thiago



From: Thiago Teixeira
Sent: Monday, June 6, 2016 11:16 AM
To: 'Junxiao Shi' <shijunxiao at email.arizona.edu>
Cc: <nfd-dev at lists.cs.ucla.edu> <nfd-dev at lists.cs.ucla.edu>
Subject: RE: [Nfd-dev] nfd-start yield nothing after fresh installation

Hi Junxiao,

I installed NFD and ndn-cxx on three new Ubuntu 14.04 LTS VMs using the following:

·         Installed pre-requisites

·         Clone ndn-cxx and NFD repos

·         On ndn-cxx directory:

o   ./waf configure –with-examples

o   ./waf

o   sudo ./waf install

o   sudo ldconfig

·         On NFD directory:

o   ./waf configure

o   ./waf

o   sudo ./waf install

On two of the three VMs, when I run $ nfd-status it works. On the third one it yielded nothing.
So I ran $ ./waf distclean on NFD directory and repeated configure, waf, install.

nfd-status still yields nothing. Do you have any other suggestion?

Thanks for your help,
Thiago


From: Junxiao Shi [mailto:shijunxiao at email.arizona.edu]
Sent: Friday, June 3, 2016 3:15 PM
To: Thiago Teixeira <tteixeira at engin.umass.edu<mailto:tteixeira at engin.umass.edu>>
Cc: <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>> <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Subject: RE: [Nfd-dev] nfd-start yield nothing after fresh installation


There's no obvious error in this output.
If ndn-cxx and NFD are compiled at the same time (either from a newly cloned repository, or ./waf distclean has been execute before compiling NFD), this shall eliminate library ABI mismatch problem.
On Jun 3, 2016 11:50 AM, "Thiago Teixeira" <tteixeira at engin.umass.edu<mailto:tteixeira at engin.umass.edu>> wrote:
Hi Junxiao,

Thanks for your email. Please find the output below. Is that what I should expect?

$ which nfd
/usr/local/bin/nfd
$ ldd /usr/local/bin/nfd
                linux-vdso.so.1 =>  (0x00007fff62dfe000)
                libboost_system.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0 (0x00007f36cb9e9000)
                libboost_program_options.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0 (0x00007f36cb77b000)
                libboost_thread.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0 (0x00007f36cb564000)
                libboost_log.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_log.so.1.54.0 (0x00007f36cb2a0000)
                libndn-cxx.so.0.4.1 => /usr/local/lib/libndn-cxx.so.0.4.1 (0x00007f36cad97000)
                libboost_filesystem.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0 (0x00007f36cab80000)
                libcrypto++.so.9 => /usr/lib/libcrypto++.so.9 (0x00007f36ca4b5000)
                libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f36ca297000)
                libpcap.so.0.8 => /usr/lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f36ca058000)
                libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f36c9d54000)
                libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f36c9a4e000)
                libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f36c9837000)
                libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f36c9472000)
                librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f36c926a000)
                /lib64/ld-linux-x86-64.so.2 (0x00007f36cbbfb000)
                libboost_regex.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0 (0x00007f36c8f62000)
                libboost_chrono.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.54.0 (0x00007f36c8d5b000)
                libboost_random.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_random.so.1.54.0 (0x00007f36c8b57000)
                libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f36c889e000)
                libicuuc.so.52 => /usr/lib/x86_64-linux-gnu/libicuuc.so.52 (0x00007f36c8525000)
                libicui18n.so.52 => /usr/lib/x86_64-linux-gnu/libicui18n.so.52 (0x00007f36c811d000)
                libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f36c7f19000)
                libicudata.so.52 => /usr/lib/x86_64-linux-gnu/libicudata.so.52 (0x00007f36c66ab000)

Rgds,
Thiago

From: Junxiao Shi [mailto:shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>]
Sent: Friday, June 3, 2016 10:01 AM
To: Thiago Teixeira <tteixeira at engin.umass.edu<mailto:tteixeira at engin.umass.edu>>; nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>
Subject: RE: [Nfd-dev] nfd-start yield nothing after fresh installation

Hi Thiago

I suspect there’s a library ABI mismatch. It’s most likely to happen if ndn-cxx and NFD are not installed together.
You may check this possibility with:

1.       find where is your NFD binary with which nfd

2.       check whether libraries are linked correctly with ldd /usr/bin/nfd (use the nfd binary path found in step1)

Yours, Junxiao

From: Thiago Teixeira<mailto:tteixeira at engin.umass.edu>
Sent: Thursday, June 2, 2016 03:30
To: nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>
Subject: [Nfd-dev] nfd-start yield nothing after fresh installation

Hi all,

I installed the NFD 0.4.1-21 binaries on two Ubuntu 14-64 bits and everything went well. The two machines are on the same subnet 10.10.1.0/24<http://10.10.1.0/24>.
When I run $ nfd-start I get the following message: NFD is already running…

So I run $ nfdc register /ndn udp://10.10.1.1<http://10.10.1.1> and I should get the Successful… message, but I get nothing.
nfd-status yields nothing too.
I tried nfd-stop > nfd-start and nothing shows up.

I searched on the mailing list and couldn’t find anything.

Do you have any suggestions or tests to do?

Thanks,
Thiago


PS: There’s a typo in the building documentation instructions. It should be ./waf doxygen instead of doxgyen
http://named-data.net/doc/NFD/current/INSTALL.html#building-documentation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160614/d19bec52/attachment.html>


More information about the Nfd-dev mailing list