• 一个xend无法启动的问题


    xend报错:
    [2012-02-06 13:43:39 15439] INFO (XMLRPCServer:134) Opening TCP XML-RPC
    server on localhost:9363; authentication has been disabled for this server.
    [2012-02-06 13:43:39 15439] INFO (XMLRPCServer:156) Opening Unix domain
    socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been
    disabled for this server.
    [2012-02-06 13:43:39 15439] ERROR (XMLRPCServer:161) Cannot start server:
    Name or service not known!
    [2012-02-06 13:43:39 15439] INFO (XMLRPCServer:156) Opening Unix domain
    socket XML-RPC server on /var/run/xend/xmlrpc.sock.
    [2012-02-06 13:44:10 15439] ERROR (SrvServer:139) Server XMLRPCServer did not
    initialise!


    原因:

    /etc/hosts中没有localhost

    而xend配置文件中使用了localhost:
    (xen-api-server ((localhost:9363 none)(unix none)))
    258 (xend-http-server yes)
    259 (xend-relocation-server yes)
    260 (xend-port            8000)
    261 (xend-relocation-port 8002)
    262 (network-script network-bridge)
    263 (vif-script vif-bridge)

  • 相关阅读:
    csrf跨站请求伪造
    IO 之 InputStream 和 Reader
    javadoc tags
    java this
    递归
    java 文件中 定义一个字符串,它的默认编码是什么?
    合并数组
    << 移位运算
    final static T
    Base64.java 工具类
  • 原文地址:https://www.cnblogs.com/feisky/p/2874707.html
Copyright © 2020-2023  润新知