现在的位置: 首页 > 综合 > 正文

一个xend无法启动的问题

2012年02月05日 ⁄ 综合 ⁄ 共 837字 ⁄ 字号 评论关闭

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)

抱歉!评论已关闭.