From: "Teo En Ming (Zhang Enming)" <singapore.mr.teo.en.ming@gmail.com>
To: "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
xen-devel@lists.xen.org,
"Teo En Ming (Zhang Enming)" <singapore.mr.teo.en.ming@gmail.com>
Subject: [URGENT] unable to connect to 'localhost:8000': Connection refused with Xen 4.2-unstable
Date: Sat, 17 Mar 2012 23:40:59 +0800 [thread overview]
Message-ID: <4F64B08B.2010404@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 4768 bytes --]
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)
[-- Attachment #1.2: Type: text/html, Size: 8504 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
reply other threads:[~2012-03-17 15:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F64B08B.2010404@gmail.com \
--to=singapore.mr.teo.en.ming@gmail.com \
--cc=xen-devel@lists.xen.org \
--cc=xen-users@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.