Project

General

Profile

Actions

Bug #2321

open

Cannot ndnputfile with default configuration

Added by Anonymous almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/23/2014
Due date:
% Done:

0%

Estimated time:

Description

I installed ndn-cxx and NFD with the default configuration and started with nfd-start.
I installed repo-ng with the following commands:

./waf configure
./waf
sudo ./waf install
sudo cp /usr/local/etc/ndn/repo-ng.conf.sample /usr/local/etc/ndn/repo-ng.conf

Following the first example at http://redmine.named-data.net/projects/repo-ng/wiki/Tools , I entered:

echo test > test.txt
ndnputfile -u /example/repo/1 /example/data/1/%FD%00%00%01G%F0%C8%AD- test.txt

The response is an error:

ERROR: command response timeout

The default example should work with the default installation of ndn-cxx, NFD and repo-ng. How to make the default ndnputfile work?

Actions #1

Updated by Weiqi Shi almost 10 years ago

Could you describe what is shown on the repo side?

In fact, I run the code again and find it can work correctly. I guess your problem is because of the wrong database setting, if you directly copy the sample config file. In the sample config file, the storage/path is specified as /var/db/ndn-repo-ng and it should be modified in order to adapt into your local environment.

Actions #2

Updated by Anonymous almost 10 years ago

I had to run "sudo ndn-repo-ng". In the README or INSTALL files, I don't see where it says that you have to run "sudo ndn-repo-ng". Before you close this issue, I think you need to update the documentation.

Actions

Also available in: Atom PDF