<div dir="ltr">Hi Jiewen<div><br></div><div>This laptop has ndns installed from ppa:named-data/ppa.</div><div>I found the configuration in /etc/ndns.</div><div>It's somewhat inconsistent for ndns to put its configuration in /etc/ndns, while all other programs (such as NFD, NLSR, etc) put their configuration in /etc/ndn.<br></div><div>There is no example in /etc/ndns/log4cxx.properties or /etc/ndns/log4cxx.properties.sample for how to append logs to a file.</div><div><br></div><div>I notice that while `sudo service ndns restart` reports success, there's no ndns process.</div><div><div><font face="monospace, monospace">sunny@sunnyq ~ $ sudo service ndns restart</font></div><div><font face="monospace, monospace">stop: Unknown instance: </font></div><div><font face="monospace, monospace">ndns start/running, process 11515</font></div><div><font face="monospace, monospace">sunny@sunnyq ~ $ ps aux | grep ndns</font></div><div><font face="monospace, monospace">sunny    11566  0.0  0.0  13416   932 pts/7    S+   20:36   0:00 grep --colour=auto ndns</font></div></div><div><br></div><div>Running ndns-daemon in console: the process exits automatically. No daemon process is forked. Nothing is printed to stdout or stderr.</div><div><div><font face="monospace, monospace">sunny@sunnyq ~ $ sudo ndns-daemon -c /etc/ndns/ndns.conf</font></div><div><font face="monospace, monospace">sunny@sunnyq ~ $ ps aux | grep ndns</font></div><div><font face="monospace, monospace">sunny    11682  0.0  0.0  13416   932 pts/7    S+   20:36   0:00 grep --colour=auto ndns</font></div></div><div>Running in gdb shows that the process exited normally. There's no crash.<br></div><div><br></div><div>Is there something wrong with the PPA package?</div><div><br></div><div>Yours, Junxiao<br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 8:23 PM, Xiaoke Jiang <span dir="ltr"><<a href="mailto:shock.jiang@gmail.com" target="_blank">shock.jiang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Junxiao,<br><div><span class=""><blockquote type="cite"><div>On 20 Mar, 2015, at 8:05 pm, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:</div><br><div><div dir="ltr">Hi Jiewen<div><br></div><div><div>However, after completing these steps, I'm still unable to fetch certificate with ndn-tlv-peek.</div></div></div></div></blockquote></span>I just tried ndn-tlv-peek /ndn/edu/ucla/NDNS/alice/TXT, and it works</div><div>the point is, do NOT add the version number in the interest name.</div><div><br></div><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div><div>It appears that ndns didn't register any routes in local NFD.</div></div></div></div></blockquote></span>that is not true.<span class=""><br><blockquote type="cite"><div><div dir="ltr"><div><div>ndns didn't create a log file in /var/log/ndn, so I can't see what's going on.</div></div><div><br></div></div></div></blockquote></span>there is a log configuration, /usr/local/etc/ndns/log4cxx.properties, and when you start ndns-daemon, log will be printed to console.</div><div>And you can also define you own log attributes to print it to file.</div><div><div class="h5"><div><br><blockquote type="cite"><div><div dir="ltr"><div>Any idea on how to diagnose this problem?</div><div><br></div><div>Yours, Junxiao</div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div>