[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] [URGENT] unable to connect to 'localhost:8000': Connection refused with Xen 4.2-unstable



Hi,

I have successfully upgraded from Xen 4.1.3-rc1-pre to Xen 4.2-unstable.

Please refer to the following document for the installation instructions.

Installation Instructions for Xen 4.1.x or 4.2-unstable and Linux Kernel 3.x.x on Ubuntu and Debian Linux - Version 1.1.pdf
===========================================================================

Download link: http://www.mediafire.com/?bk6s9ovjsrxc1qi

=======================================================================================

Linux ubuntu-1110-amd64-desktop 3.3.0-rc7-xen-teo.en.ming-sgp #1 SMP Wed Mar 14 15:49:31 SGT 2012 x86_64 x86_64 x86_64 GNU/Linux

=======================================================================================

teo-en-ming@ubuntu-1110-amd64-desktop:~$ sudo xl list
Name                                        ID   Mem VCPUs    State    Time(s)
Domain-0                                     0  4834     2     r-----    1366.9

=======================================================================================

teo-en-ming@ubuntu-1110-amd64-desktop:~$ sudo xl info
host                   : ubuntu-1110-amd64-desktop
release                : 3.3.0-rc7-xen-teo.en.ming-sgp
version                : #1 SMP Wed Mar 14 15:49:31 SGT 2012
machine                : x86_64
nr_cpus                : 2
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2800
hw_caps                : bfebfbff:20100800:00000000:00000940:0400e3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 6075
free_memory            : 1156
sharing_freed_memory   : 0
sharing_used_memory    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 2
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Fri Mar 16 15:24:25 2012 +0000 25070:4e1d091d10d8
xen_commandline        :
cc_compiler            : gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
cc_compile_by          : teo-en-ming
cc_compile_domain      :
cc_compile_date        : Sat Mar 17 19:38:06 SGT 2012
xend_config_format     : 4

=========================================================================================

However, when I start the Virtual Machine Monitor, I get the following error:

Unable to open a connection to the Xen hypervisor/daemon.

Verify that:
 - A Xen host kernel was booted
 - The Xen service has been started


unable to connect to 'localhost:8000': Connection refused

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1146, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1130, in _try_open
    flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: unable to connect to 'localhost:8000': Connection refused

============================================================================================

teo-en-ming@ubuntu-1110-amd64-desktop:~$ ps -ef | grep xend
root      7441     1  0 23:05 ?        00:00:00 /usr/bin/python /usr/sbin/xend start
root      7442  7441  0 23:05 ?        00:00:00 /usr/bin/python /usr/sbin/xend start

============================================================================================

I have already set the following configuration directives in /etc/xen/xend-config.sxp:

(xend-http-server yes)

# Port xend should use for the HTTP interface, if xend-http-server is set.
#(xend-port            8000)

=============================================================================================

The following command returns nothing.

teo-en-ming@ubuntu-1110-amd64-desktop:~$ sudo netstat -anp | grep -v unix | grep 8000

=============================================================================================

By right, xend should start a http listening service on tcp port 8000, but it does not. I have checked with "sudo netstat -anp | grep -v unix" and there is no tcp port 8000, but there is port 8002 for relocation.

TCP Port 8000 uses to show up in Xen 4.1.3-rc1-pre, but now it does not show up in Xen 4.2-unstable.

Are there any differences between Xen 4.1.3-rc1-pre and Xen 4.2-unstable? Does xen-4.2-unstable uses a configuration file OTHER THAN /etc/xen/xend-config.sxp?

How can I resolve this issue? Please advise.

Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.