HI,

Hmm, I don't  know about your environment, so I can't give you a specific solution...
Please ask to the owner of your machine.

Thanks,
Fujimoto

On 2018年03月14日 09:12, Yin Li wrote:
Hi Fujimoto,

Thanks for help. I didn't specify any thing for ryu-manager. I just installed by typing "pip install ryu" and install some dependencies.

I tried to create "var/log/ryu" directory but I got a new error.

mkdir: cannot create directory "/var/log/ryu/": Permission denied.

Does it mean I don't have the permission to do it? I am the admin of this OS.

Thanks.

On Tue, Mar 13, 2018 at 8:05 PM, Fujimoto Satoshi <satoshi.fujimo...@gmail.com <mailto:satoshi.fujimo...@gmail.com>> wrote:

    Hi,

    The error message says that Ryu is trying to output the log into
    "var/log/ryu/ryu.log", but
    "var/log/ryu/" directory is missing.

    By default, Ryu does not output the log into such place (does not
    output log file).
    
https://github.com/osrg/ryu/blob/e1e85052f5563f120b1e62fd9282946be6154f5b/ryu/log.py#L40-L41
    
<https://github.com/osrg/ryu/blob/e1e85052f5563f120b1e62fd9282946be6154f5b/ryu/log.py#L40-L41>

    Did you specify "--log-dir" or "--log-file" option to ryu-manager?
    Or creating "var/log/ryu/" directory should solve this problem, I
    guess.

    Thanks,
    Fujimoto


    On 2018年03月14日 08:09, Yin Li wrote:
    Hi,

    I am new on Ryu. When I tried to run the controller of Ryu, I
    always got this error and I could not find this file, ryu.log. I
    think I installed Ryu incorrectly but I followed this link step
    by step: https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial
    <https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial>

    I tried to reinstalled Ryu for many times but this error cannot
    be solved. Could you please help me on it?

    Thanks.

-- *Yin Li *
    Ph.D student at Smart Grid Lab
    University of South Florida
    E-Fowler Ave, 33610, Tampa, FL
    Mobile: (813)263-6525
    Email:y...@mail.usf.edu <mailto:e...@mail.usf.edu>


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org!http://sdm.link/slashdot


    _______________________________________________
    Ryu-devel mailing list
    Ryu-devel@lists.sourceforge.net
    <mailto:Ryu-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/ryu-devel
    <https://lists.sourceforge.net/lists/listinfo/ryu-devel>




--
*Yin Li *
Ph.D student at Smart Grid Lab
University of South Florida
E-Fowler Ave, 33610, Tampa, FL
Mobile: (813)263-6525
Email:y...@mail.usf.edu <mailto:e...@mail.usf.edu>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to