vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.c

Posted dream397

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.c相关的知识,希望对你有一定的参考价值。

 

 

  1. [root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf 
    vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.conf: Permission denied
    cant open configuration file [quagga-sdn.conf]
    [root@kunpeng82 sdn-ip-topology]# ls -al
    total 44
    drwxr-xr-x. 3 root root 4096 Jul 12 11:03 .
    drwxr-xr-x. 5 root root 4096 Jun 23 01:56 ..
    drwxrwxrwx. 2 root root 4096 Jun 23 01:56 configs
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga1.conf
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga2.conf
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga3.conf
    -rwxrwxrwx. 1 root root  316 Jun 23 01:56 quagga4.conf
    -rwxrwxrwx. 1 root root  883 Jun 23 01:56 quagga-sdn.conf
    -rwxrwxrwx. 1 root root 5259 Jun 23 01:56 quagga-test1.py
    -rwxrwxrwx. 1 root root  107 Jun 23 01:56 zebra.conf
    [root@kunpeng82 sdn-ip-topology]#
    [root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf 
    vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.conf: Permission denied
    cant open configuration file [quagga-sdn.conf]
    [root@kunpeng82 sdn-ip-topology]# ls -al
    total 44
    drwxr-xr-x. 3 root root 4096 Jul 12 11:03 .
    drwxr-xr-x. 5 root root 4096 Jun 23 01:56 ..
    drwxr-xr-x. 2 root root 4096 Jun 23 01:56 configs
    -rw-r--r--. 1 root root  315 Jun 23 01:56 quagga1.conf
    -rw-r--r--. 1 root root  315 Jun 23 01:56 quagga2.conf
    -rw-r--r--. 1 root root  315 Jun 23 01:56 quagga3.conf
    -rw-r--r--. 1 root root  316 Jun 23 01:56 quagga4.conf
    -rw-r--r--. 1 root root  883 Jun 23 01:56 quagga-sdn.conf
    -rw-r--r--. 1 root root 5259 Jun 23 01:56 quagga-test1.py
    -rw-r--r--. 1 root root  107 Jun 23 01:56 zebra.conf
    [root@kunpeng82 sdn-ip-topology]# chmod 777 /var/log/quagga/
    [root@kunpeng82 sdn-ip-topology]# chmod 777 *
    [root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf 
    vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.conf: Permission denied
    cant open configuration file [quagga-sdn.conf]
    [root@kunpeng82 sdn-ip-topology]# ls -al
    total 44
    drwxr-xr-x. 3 root root 4096 Jul 12 11:03 .
    drwxr-xr-x. 5 root root 4096 Jun 23 01:56 ..
    drwxrwxrwx. 2 root root 4096 Jun 23 01:56 configs
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga1.conf
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga2.conf
    -rwxrwxrwx. 1 root root  315 Jun 23 01:56 quagga3.conf
    -rwxrwxrwx. 1 root root  316 Jun 23 01:56 quagga4.conf
    -rwxrwxrwx. 1 root root  883 Jun 23 01:56 quagga-sdn.conf
    -rwxrwxrwx. 1 root root 5259 Jun 23 01:56 quagga-test1.py
    -rwxrwxrwx. 1 root root  107 Jun 23 01:56 zebra.conf
    [root@kunpeng82 sdn-ip-topology]# zebra -d -f quagga-sdn.conf  -u root -g root
    There is no such command.
    Error occured during reading below line.
    router bgp 65000

     

以上是关于vty_read_config: failed to open configuration file /root/ryu/SDN-IP-Ryu/sdn-ip-topology/quagga-sdn.c的主要内容,如果未能解决你的问题,请参考以下文章

codeforces1137B kmp(fail的妙用)

ADB Server Didn’t ACK ,failed to Start Daemon 解决方法

rfw使用接口库测试--FAIL : UnicodeEncodeError: 'ascii' codec can't encode characters in position

BZOJ3881 Coci2015 Divljak fail树+差分

解决:dockerd: failed to start daemon: Devices cgroup isn‘t mounted

解决:dockerd: failed to start daemon: Devices cgroup isn‘t mounted