Exception starting xend: 'NoneType' object has no attribute 'rfind'

39 views
Skip to first unread message

Gilberto Nunes

unread,
Dec 10, 2009, 8:21:03 AM12/10/09
to xen...@googlegroups.com
Olá

Instalei o Xen 3.5 (unstable) em um servidor com CentOS 5.4.
Eu baixei o source pelo mercurial.
Compilei o kernel 2.6.18 com esse source.
Agora, quando inicio o xend tenho essa mensagem no log do xen:

Exception starting xend: 'NoneType' object has no attribute 'rfind'

Eis o xend-config.sxp: http://pastebin.com/m43316613

Obrigado

--
Gilberto Nunes

Gilberto Nunes

unread,
Dec 10, 2009, 11:15:44 AM12/10/09
to xen...@googlegroups.com
Olha só que estranho...

No log do xen aparece essas mensagens:

[2009-12-10 11:26:45 22280] ERROR (SrvDaemon:349) Exception starting
xend ('NoneType' object has no attribute 'rfind')
Traceback (most recent call last):
File "usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line 341, in run
servers = SrvServer.create()
File "usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line 253, in create
_loadConfig(servers, root, False)
File "usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py",
line 233, in _loadConfig
ssl_key_file = xoptions.get_xend_tcp_xmlrpc_server_ssl_key_file()
File "usr/lib64/python2.4/site-packages/xen/xend/XendOptions.py",
line 210, in get_xend_tcp_xmlrpc_server_ssl_key_file
if os.path.dirname(file) == "":
File "/usr/lib64/python2.4/posixpath.py", line 119, in dirname
return split(p)[0]
File "/usr/lib64/python2.4/posixpath.py", line 77, in split
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Aparentemente ele não está achando o ssl key file para o xmlrpc, mas
no arquivo de configuração do Xen, eu desabilitei o uso do SSL:

(xend-relocation-ssl-server no)
...
...

(xend-relocation-ssl no)


2009/12/10 Gilberto Nunes <gilberto...@gmail.com>:

--
Gilberto Nunes

Gilberto Nunes

unread,
Dec 10, 2009, 11:31:38 AM12/10/09
to xen...@googlegroups.com
já resolvi o problema! Obrigado :)

2009/12/10 Gilberto Nunes <gilberto...@gmail.com>:

--
Gilberto Nunes

Reply all
Reply to author
Forward
0 new messages