Project

General

Profile

Actions

Bug #4723

closed

FATAL error while trying to run NFD: unrecognized section localhost_security

Added by Ashlesh Gawande over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
RIB
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

[nfd.Main] Error processing configuration file /usr/local/etc/ndn/nfd.conf: unrecognized section localhost_security
Actions #1

Updated by Ashlesh Gawande over 6 years ago

With this NFD starts:

but, cannot fetch route dataset:

Error 10060 when fetching RIB dataset: Timeout exceeded

or register a route:

nfdc route add /test 258
1535331343.601993 INFO: [nfd.UnixStreamTransport] [id=0,local=unix:///run/nfd.sock,remote=fd://23] Creating transport
1535331343.602040 INFO: [nfd.FaceTable] Added face id=262 remote=fd://23 local=unix:///run/nfd.sock
1535331344.131261 INFO: [nfd.Transport] [id=262,local=unix:///run/nfd.sock,remote=fd://23] setState UP -> CLOSING
1535331344.131366 INFO: [nfd.Transport] [id=262,local=unix:///run/nfd.sock,remote=fd://23] setState CLOSING -> CLOSED
Segmentation fault (core dumped)
Actions #2

Updated by Davide Pesavento over 6 years ago

  • Subject changed from FATAL error while trying to run NFD to FATAL error while trying to run NFD: unrecognized section localhost_security
  • Category set to RIB
  • Priority changed from Normal to Urgent
  • Target version set to v0.7
Actions #3

Updated by Junxiao Shi over 6 years ago

but, cannot fetch route dataset or register a route:

I forgot to call m_ribManager.registerWithNfd(); m_ribManager.enableLocalFields(); from the constructor, so that RibManager isn't listening.
This is fixed in Change 4930 patchset 5.

Actions #4

Updated by Junxiao Shi over 6 years ago

  • Status changed from In Progress to Code review
  • Assignee set to Junxiao Shi
  • % Done changed from 0 to 100
Actions #5

Updated by Junxiao Shi over 6 years ago

  • Status changed from Code review to Closed

We need #4380 to prevent future incidents like this.

Actions

Also available in: Atom PDF