码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-07-12 20:33:14      阅读:84      评论:0      收藏:0      [点我收藏+]

标签:ati   ota   nbsp   unp   mission   comm   test   quagga   mis   

 

 

  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.conf: Permission denied

标签:ati   ota   nbsp   unp   mission   comm   test   quagga   mis   

原文地址:https://www.cnblogs.com/dream397/p/13289635.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!