<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Not sure what's the problem.  Just some info and </div>
<div><br>
</div>
- Somehow NLSR has difficulty getting connected with NFD.  It needs to send Interest and receive Data through that face.  If I understand correctly, they use UNIX socket to connect by default (and there's a default file name corresponding to the UNIX socket
 in the NFD configuration).   
<div><br>
</div>
<div>- Where did you download NLSR?  The GitHub version <a href="https://github.com/named-data/NLSR">
https://github.com/named-data/NLSR</a>  is the latest.  Were there any warnings or problems during the compile and installation?<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br class="Apple-interchange-newline">
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Apr 13, 2015, at 5:06 AM, Mahyuddin Husairi <<a href="mailto:mahyuddin@gmail.com">mahyuddin@gmail.com</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">I just successfully compile and install ndn-cxx, NFD and NLSR on Banana Pro (design and produced by LeMaker -
<a href="http://www.lemaker.org/">http://www.lemaker.org/</a>).<br>
<br>
I can run NFD as usual and create face and register prefix using nfdc. After that i run several test using ndn-tlv-ping and ndn-traffic and everything is run smoothly.<br>
<br>
The problem is, when i run NLSR, it will simply throw error message "ERROR: error while connecting to the forwarder" even though NFD is running. In nlsr log file it is just simply throw the same error message "ERROR: error while connecting to the forwarder".
 Something like below<br>
<br>
<br>
20150413175010040 DEBUG: [HelloProtocol] Scheduling HELLO Interests in 10 seconds
<div>20150413175010047 DEBUG: [nlsr] Process daemonized. Process id: 14975</div>
<div>20150413175010053 FATAL: [Main] ERROR: error while connecting to the forwarder</div>
<div>20150413175010057 DEBUG: [Fib] Fib::clean called</div>
<div><br>
</div>
<div><br>
</div>
<div>Seems like it will crash once NLSR start to setup Hello protocol schedule. So, because of lack of details in NLSR log message i tried strace to run NLSR and the output from strace are something like this<br>
<br>
<br>
</div>
<div>
<div>gettimeofday({1428918610, 40666}, NULL) = 0</div>
<div>write(10, "20150413175010040 DEBUG: [HelloP"..., 82) = 82</div>
<div>clock_gettime(CLOCK_MONOTONIC, {367502, 38604022}) = 0</div>
<div>clock_gettime(CLOCK_MONOTONIC, {367502, 39270498}) = 0</div>
<div>clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb4cbc288) = 14975</div>
<div>gettimeofday({1428918610, 47614}, NULL) = 0</div>
<div>write(10, "20150413175010047 DEBUG: [nlsr] "..., 70) = 70</div>
<div>close(9)                                = 0</div>
<div>close(10)                               = 0</div>
<div>ERROR: error while connecting to the forwardermunmap(0xb6f5a000, 8192)                = 0</div>
</div>
<div><br>
<br>
I'm using the same NFD and NLSR configuration setup that i successfully run on my ubuntu desktop. Is that related to libboost_random (boost library version is 1.49) or probably because Banana Pro is not using real hardware clock? I'm just clueless.<br>
<br>
<br>
</div>
-- <br>
<div class="gmail_signature">Human knowledge Belongs to The World</div>
</div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>