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#
  • 相关阅读:
    【转】Java操作CSV文件导入导出
    【转】Java压缩和解压文件工具类ZipUtil
    Python之multiprocessing.Pool(创建多个子进程)
    Openstack平台虚拟机疏散失败提示(pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')问题
    kubernetes部署redis主从高可用集群
    Ceph性能测试
    python日志模块
    kubernetes删除pod,pod一直处于Terminating状态
    python执行提示“ImportError: No module named OpenSSL.crypto”
    二进制部署kubernetes集群_kube-apiserver提示"watch chan error: etcdserver: mvcc: required revision has been compacted'
  • 原文地址:https://www.cnblogs.com/dream397/p/13289576.html
Copyright © 2011-2022 走看看