在一个centos6.3 64位系统中,发现启动的滚动条总是卡住在最后一点,最后发现是xend启动不了导致的。
一个可能是SELINUX启动了,需要修改: vi /etc/selinux/config
SELINUX=disabled
然后重启服务器即可
另外一个可能:
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)
解决办法:
====== more /etc/hosts ======
127.0.0.1 localhost.localdomain localhost