[Mini-NDN] directory </var/log/nlsr/> does not exist
Ashlesh Gawande (agawande)
agawande at memphis.edu
Mon Oct 24 14:06:04 PDT 2016
Have you run Mini-NDN? When you run it (sudo minindn), go and look into /tmp/a/nlsr.conf
and you will find that the log directory is /tmp/a/log/ which exists (check by cd /tmp/a/log).
In /tmp/a/nlsr.conf you will also find the neighbors of 'a' configured in the neighbors section.
https://github.com/named-data/NLSR/blob/master/nlsr.conf#L44
Also look at the router name of 'a' in /tmp/a/nlsr.conf
https://github.com/named-data/NLSR/blob/master/nlsr.conf#L9
If you open /tmp/b/nlsr.conf and look at the neighbors you would find the router name of 'a' configured there.
--------------------------------------------------
Now when you want to run NLSR independently of Mini-NDN you need to do these changes yourself (manually).
Suppose you have two machines a and b.
Make a new directory where you would want to store the log file of NLSR. Example:
/home/a/NLSR/logs.
Then put this path at:
https://github.com/named-data/NLSR/blob/master/nlsr.conf#L37
and at
https://github.com/named-data/NLSR/blob/master/nlsr.conf#L38
Change "pollux" in https://github.com/named-data/NLSR/blob/master/nlsr.conf#L9
to "a"
And in the neighbors section configure the neighbor b by putting its name and IP and link-cost.
Repeat the same for machine b.
Then you can run NLSR on both the machines who have each others as neighbors.
Ashlesh
________________________________
From: sepehr abdous <sepehrabdous1375 at gmail.com>
Sent: Monday, October 24, 2016 3:59:07 PM
To: Ashlesh Gawande (agawande)
Cc: mini-ndn at lists.cs.ucla.edu
Subject: Re: [Mini-NDN] directory </var/log/nlsr/> does not exist
sorry as I'm new to nlsr
can you be more specific about what I have to do?
what do you mean by log directories that exist in neighbors...?
Thank you
On Mon, Oct 24, 2016 at 3:06 AM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:
You will need to configure nlsr.conf with log directories that exist and neighbors.
Ashlesh
On Oct 23, 2016 6:34 PM, sepehr abdous <sepehrabdous1375 at gmail.com<mailto:sepehrabdous1375 at gmail.com>> wrote:
Hello,
I'm trying to run nlsr, but when I type nlsr in command line I get the following error:
Provided log directory </var/log/nlsr/> does not exist
Error in configuration file processing! Exiting from NLSR
can you help me with this error please?
thank you
--
Sepehr Abdous
Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
Yahoo mail: sepehrabdous at yahoo.com<mailto:sepehrabdous at yahoo.com>
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran
--
Sepehr Abdous
Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
Yahoo mail: sepehrabdous at yahoo.com<mailto:sepehrabdous at yahoo.com>
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161024/db5221ed/attachment.html>
More information about the Mini-NDN
mailing list