首页 > 其他 > 详细

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:41:32      阅读:74      评论:0      收藏:0      [点我收藏+]

 

 

  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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!