<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Ishita,</p>
    <p>In commands 1 and 2 below, I notice that you're specifying "start
      nfd". If you're trying to run NFD directly, you should rewrite
      this part of these commands as just "nfd". (To clarify, there is
      nothing wrong with running NFD directly.)</p>
    <p>Hope this helps!<br>
    </p>
    <p>Eric<br>
    </p>
    <div class="moz-cite-prefix">On 4/16/2020 10:50 AM, Junxiao Shi via
      Nfd-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOFH+OZWA3k5Z9s_6cqjtVcMFv8n_RfhgCtFxdkUZVYFUh-9-A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>
        <div dir="auto">Hi Ishita</div>
      </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Clear up your earlier mistake: (you should never
        invoke nfd binary directly; only start it via systemd)</div>
      <div dir="auto">sudo rm -rf $HOME/.ndn</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Start NFD systemd service:</div>
      <div dir="auto">sudo systemctl restart nfd</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">View logs:</div>
      <div dir="auto">journalctl -u nfd</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Yours, Junxiao</div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020 at
            13:44 Ishita Dasgupta via Nfd-dev <<a
              href="mailto:nfd-dev@lists.cs.ucla.edu"
              moz-do-not-send="true">nfd-dev@lists.cs.ucla.edu</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p style="text-align:center"><font color="red"><strong>External
                  Email</strong><br>
              </font></p>
            <div dir="ltr">
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif">Hi,<br>
                <br>
                I want to be able to see the nfd-logs hen I perform
                ndnping or ndnperf on the node. <br>
                I have made the following modifications to the nfd.conf
                in /etc/ndn <br>
                (<span
style="background-color:rgb(250,250,250);color:rgb(51,51,51);font-family:Consolas,Menlo,"Liberation
                  Mono",Courier,monospace;font-size:12px">default_level
                  INFO</span></div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><span
style="background-color:rgb(250,250,250);color:rgb(51,51,51);font-family:Consolas,Menlo,"Liberation
                  Mono",Courier,monospace;font-size:12px">Forwarder
                  TRACE</span>)<br>
                As explained <a
href="https://www.lists.cs.ucla.edu/pipermail/nfd-dev/2018-September/003387.html"
                  target="_blank" moz-do-not-send="true">here</a>, when
                I do the following<br>
                <ol>
                  <li>sudo start nfd &> nfd.log &<br>
                    <i>I only see <b>nfd start/running, process 75093 </b>in
                      the log. Even with all the successful ndnperf
                      downloads or ndnpings.<br>
                      This made me think that probably I need to
                      explicitly specify the nfd.conf which led to 2.</i></li>
                  <li>sudo start nfd -c /etc/ndn/nfd.conf > nfd.log
                    & <br>
                    <i>start: invalid option: -c<br>
                      nfd starts but doesn't take in the config file
                      command</i></li>
                  <li>sudo nfd -c /etc/ndn/nfd.conf > nfd.log & <a
href="https://named-data.net/doc/NFD/current/manpages/nfd.html"
                      target="_blank" moz-do-not-send="true">(from here)</a><br>
                    <i>1587058707.444119 DEBUG: [Forwarder]
                      onIncomingInterest face=259
                      interest=/localhost/nfd/faces/events/%FE%04<br>
                       <b> what():  Error in setting interest filter
                        (/localhost/nfd): Internal implementation error
                      </b>(Validator/policy did not invoke success or
                      failure callback)<br>
                      1587058707.444167 DEBUG: [Forwarder]
                      onContentStoreMiss
                      interest=/localhost/nfd/faces/events/%FE%04</i><br>
                  </li>
                </ol>
              </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><br>
              </div>
              <div>
                <div dir="ltr" data-smartmail="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr"><font face="tahoma,
                                  sans-serif"><span
                                    style="font-size:12.8px"><span
                                      class="gmail_default"
                                      style="font-family:tahoma,sans-serif">Can
                                      anyone point out what I might be
                                      doing wrong? How can I have a
                                      verbose look at the nfd-log?<br>
                                      I have the entire log from number
                                      3 if anyone needs to see it.<br>
                                      <br>
                                    </span>Regards,</span><br
                                    style="font-size:12.8px">
                                  <span style="font-size:12.8px">Ishita
                                    Dasgupta</span><br
                                    style="font-size:12.8px">
                                </font><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            _______________________________________________<br>
            Nfd-dev mailing list<br>
            <a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank"
              moz-do-not-send="true">Nfd-dev@lists.cs.ucla.edu</a><br>
            <a
              href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Nfd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a>
</pre>
    </blockquote>
  </body>
</html>