Re: [Ryu-devel] IOError: [Errno 2] No such file or directory: '/var/log/ryu/ryu.log

2018-03-13 Thread Yin Li
Hi Fujimoto,

I am using Ubuntu 16 in Oracle VM. The machine is HP desktop using Win 7 64
bit. I wish this information is useful for you.

Meanwhile, I am the owner of this machine. I am the admin.

Thanks.

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

> 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> 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/e1e85052f5563f120b1e62fd928
>> 2946be6154f5b/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
>>
>> 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 
>>
>>
>> --
>> 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 
>> listRyu-devel@lists.sourceforge.nethttps://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 
>
>
>


-- 
*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 
--
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


Re: [Ryu-devel] IOError: [Errno 2] No such file or directory: '/var/log/ryu/ryu.log

2018-03-13 Thread Fujimoto Satoshi

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 
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



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


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 



--
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






--
*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 


--
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


Re: [Ryu-devel] IOError: [Errno 2] No such file or directory: '/var/log/ryu/ryu.log

2018-03-13 Thread Yin Li
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> 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/e1e85052f5563f120b1e62fd928294
> 6be6154f5b/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
>
> 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 
>
>
> --
> 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 
> listRyu-devel@lists.sourceforge.nethttps://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 
--
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


Re: [Ryu-devel] IOError: [Errno 2] No such file or directory: '/var/log/ryu/ryu.log

2018-03-13 Thread Fujimoto Satoshi

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

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


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 


--
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


--
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