Project

General

Profile

Actions

Bug #4375

open

Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file

Added by Diarmuid Ó Coileáin over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/01/2017
Due date:
% Done:

0%

Estimated time:

Description

Latest install of ndn-cxx, NFD and repo-ng gets the following errors.

diarmuidcire1@experiment-unit:~/repo-ng$ sudo ndn-repo-ng
ERROR: Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file '/usr/local/etc/ndn/repo-ng.conf'
diarmuidcire1@experiment-unit:~/repo-ng$

Actions #1

Updated by Diarmuid Ó Coileáin over 6 years ago

Diarmuid Ó Coileáin wrote:

Latest install of ndn-cxx, NFD and repo-ng gets the following errors.

diarmuidcire1@experiment-unit:~/repo-ng$ sudo ndn-repo-ng
ERROR: Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file '/usr/local/etc/ndn/repo-ng.conf'
diarmuidcire1@experiment-unit:~/repo-ng$

The fix for this issue is to change the following in the file src/repo.cpp from

ptree tcpBulkInsert = repoConf.get_child("tcp_bulk_insert");
bool isTcpBulkEnabled = false;
std::string host = "localhost";
std::string port = "7376";
for (const auto section : dataConf) {

to

ptree tcpBulkInsert = repoConf.get_child("tcp_bulk_insert");
bool isTcpBulkEnabled = false;
std::string host = "localhost";
std::string port = "7376";
for (const auto section : tcpBulkInsert) {

an recompile code
./waf clean
./waf configure
./waf
./waf install

Actions

Also available in: Atom PDF