zoukankan      html  css  js  c++  java
  • 启动quagga 失败

    [root@kunpeng82 Ryu-SDN-IP]# zebra -d
    [root@kunpeng82 Ryu-SDN-IP]# ps -elf | grep zebra
    0 S root      1143 50677  0  80   0 -  1729 pipe_w 11:44 pts/22   00:00:00 grep --color=auto zebra
    1 S quagga   36047     1  0  80   0 -   418 do_sel 03:48 ?        00:00:00 /usr/sbin/zebra -d -A 127.0.0.1 -f /etc/quagga/zebra.conf
    [root@kunpeng82 Ryu-SDN-IP]# zebra -h
    Usage : zebra [OPTION...]
    
    Daemon which manages kernel routing table management and redistribution between different routing protocols.
    
    -b, --batch        Runs in batch mode
    -d, --daemon       Runs in daemon mode
    -f, --config_file  Set configuration file name
    -i, --pid_file     Set process identifier file name
    -z, --socket       Set path of zebra socket
    -k, --keep_kernel  Don't delete old routes which installed by zebra.
    -C, --dryrun       Check configuration for validity and exit
    -A, --vty_addr     Set vty's bind address
    -P, --vty_port     Set vty's port number
    -r, --retain       When program terminates, retain added route by zebra.
    -u, --user         User to run as
    -g, --group       Group to run as
    -s, --nl-bufsize   Set netlink receive buffer size
    -v, --version      Print program version
    -h, --help         Display this help and exit
    
    Report bugs to https://bugzilla.quagga.net
    [root@kunpeng82 Ryu-SDN-IP]# 
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    0 S root      7043  4763  0  80   0 -  1097 pipe_w 10:58 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    0 S root      7050  4763  0  80   0 -  1097 pipe_w 10:58 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# zebra -d -f /etc/quagga/sdn-ip-topology/configs/zebra.conf -z /var/run/quagga/zebrar3.api -i /var/run/quagga/zebrar3.pid
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    0 S root      7055  4763  0  80   0 -  1097 pipe_w 10:58 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# zebra -d -f /etc/quagga/sdn-ip-topology/configs/zebra.conf 
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    0 S root      7063  4763  0  80   0 -  1097 pipe_w 10:59 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# zebra -d
    vty_read_config: failed to open configuration file /etc/quagga/zebra.conf: No such file or directory
    can't open configuration file [/etc/quagga/zebra.conf]
    root@ubuntu:/home/ubuntu# zebra -d -f /etc/quagga/sdn-ip-topology/configs/zebra.conf
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    0 S root      7077  4763  0  80   0 -  1097 pipe_w 10:59 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# ls  /var/run/quagga/*
    ls: cannot access '/var/run/quagga/*': No such file or directory
    root@ubuntu:/home/ubuntu# mkdir -p  /var/run/quagga/
    root@ubuntu:/home/ubuntu# chown quagga:quagga /var/run/quagga
    root@ubuntu:/home/ubuntu# zebra -d -f /etc/quagga/sdn-ip-topology/configs/zebra.conf -z /var/run/quagga/zebrar3.api -i /var/run/quagga/zebrar3.pid
    root@ubuntu:/home/ubuntu# ps -elf | grep zebra
    1 S quagga    7110     1  0  80   0 -  1185 select 11:01 ?        00:00:00 zebra -d -f /etc/quagga/sdn-ip-topology/configs/zebra.conf -z /var/run/quagga/zebrar3.api -i /var/run/quagga/zebrar3.pid
    0 S root      7114  4763  0  80   0 -  1097 pipe_w 11:01 pts/3    00:00:00 grep --color=auto zebra
    root@ubuntu:/home/ubuntu# kill -9 7110  
    root@ubuntu:/home/ubuntu#
  • 相关阅读:
    常用Linux命令
    SQL必知必会-笔记
    【ubuntu】install openbox+tint2+bmenu on ubuntu12.04.4
    【ruby】安装Ruby
    【ruby】快速安装gems的方法
    【sinatra】设置默认的端口
    【sinatra】修改默认ip绑定
    【sinatra】结合Padrino framework
    【sinatra】安装测试
    【rails3教材】博客构建过程2
  • 原文地址:https://www.cnblogs.com/dream397/p/13289576.html
Copyright © 2011-2022 走看看