All of lore.kernel.org
 help / color / mirror / Atom feed
* xm save error
@ 2004-10-28 18:49 Marconi Rivello
  2004-10-28 20:09 ` Ian Pratt
  2004-10-28 20:17 ` Christian Limpach
  0 siblings, 2 replies; 4+ messages in thread
From: Marconi Rivello @ 2004-10-28 18:49 UTC (permalink / raw)
  To: Xen

Hi,

I tried to issue: xm save VMID FILE, and got the following error:

Error: Error: [Failure instance: Traceback:
twisted.internet.error.ConnectionRefusedError, Connection was refused
by other side: 111: Connection refused.

xm create works fine, xend is running on domain 0, I can log in the VM
through xm console VMID and ssh without problems. I can also stop and
restart the domain.

I'm running Xen 2.0 (binary install downloaded oct 26), with
2.6.9-xen0 (dom0) and 2.6.9-xenU (at the domain I tried to save).

Any ideas?

Thanks,
Marconi.


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xm save error
  2004-10-28 18:49 xm save error Marconi Rivello
@ 2004-10-28 20:09 ` Ian Pratt
  2004-11-04 18:56   ` Marconi Rivello
  2004-10-28 20:17 ` Christian Limpach
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2004-10-28 20:09 UTC (permalink / raw)
  To: Marconi Rivello; +Cc: Xen, Ian.Pratt


> I tried to issue: xm save VMID FILE, and got the following error:
> 
> Error: Error: [Failure instance: Traceback:
> twisted.internet.error.ConnectionRefusedError, Connection was refused
> by other side: 111: Connection refused.

Odd. 'save' is a very simple special case of 'migrate'. Migrate
has been tested loads recently, but I guess that 'save'
hasn't. It's so simple, how could it break? ;-)

Does 'ps auxw' show an 'xfrd' running?

Does 'xend restart' help?

What happens if you do an 'xm migrate VMID localhost' ?

Ian


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xm save error
  2004-10-28 18:49 xm save error Marconi Rivello
  2004-10-28 20:09 ` Ian Pratt
@ 2004-10-28 20:17 ` Christian Limpach
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Limpach @ 2004-10-28 20:17 UTC (permalink / raw)
  To: Marconi Rivello; +Cc: Xen

On Thu, Oct 28, 2004 at 03:49:18PM -0300, Marconi Rivello wrote:
> I tried to issue: xm save VMID FILE, and got the following error:
> 
> Error: Error: [Failure instance: Traceback:
> twisted.internet.error.ConnectionRefusedError, Connection was refused
> by other side: 111: Connection refused.

Is xfrd running at this point?  Is xfrd installed as /usr/sbin/xfrd?
Is there a pid recorded in /var/run/xfrd.pid?
 
    christian



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xm save error
  2004-10-28 20:09 ` Ian Pratt
@ 2004-11-04 18:56   ` Marconi Rivello
  0 siblings, 0 replies; 4+ messages in thread
From: Marconi Rivello @ 2004-11-04 18:56 UTC (permalink / raw)
  To: Xen

On Thu, 28 Oct 2004 21:09:06 +0100, Ian Pratt <ian.pratt@cl.cam.ac.uk> wrote:
> Odd. 'save' is a very simple special case of 'migrate'. Migrate
> has been tested loads recently, but I guess that 'save'
> hasn't. It's so simple, how could it break? ;-)
> 
> Does 'ps auxw' show an 'xfrd' running?
> 
> Does 'xend restart' help?
> 
> What happens if you do an 'xm migrate VMID localhost' ?
> 
> Ian
> 

Hi,

Thanks for the fast reply, and sorry about my delay.

xfrd wasn't running. I tried to start it, but there are some libs
missing. I am running a slackware 10 install.

# ldd xfrd
        libxc.so.1.3 => /usr/lib/libxc.so.1.3 (0x4002c000)
        libxutil.so.1.3 => /usr/lib/libxutil.so.1.3 (0x40039000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4003c000)
        libcurl.so.2 => /usr/lib/libcurl.so.2 (0x4004d000)
        libssl.so.4 => not found
        libcrypto.so.4 => not found
        libgssapi_krb5.so.2 => not found
        libkrb5.so.3 => not found
        libk5crypto.so.3 => not found
        libcom_err.so.3 => not found
        libresolv.so.2 => /lib/libresolv.so.2 (0x40078000)
        libdl.so.2 => /lib/libdl.so.2 (0x4008a000)
        libc.so.6 => /lib/libc.so.6 (0x4008d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libssl.so.0 => not found
        libcrypto.so.0 => not found

Looks like slackware 10 doesn't come with kerberos5. So I downloaded
it, and the latest openssl. I had to create some links manually:

libcom_err.so.3 -> libcom_err.so
libcrypto.so.0 -> libcrypto.so.4
libcrypto.so.4 -> libcrypt.so
libssl.so.0 -> libssl3.so
libssl.so.4 -> libssl3.so

After that, the xfrd started along with xend. And the xm save VMID
FILE worked. But when I tried the xm restore FILE, Xen created a new
VM, but didn't load the memory back (I know because of no HD activity
after the command), and didn't return from the xm restore command.
Logging into another console, and issuing xm list:

Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----    219.0
Domain-8           8       64    0  --p--      0.0

The Domain-8 name shows that Xen didn't restore the previous VM's info
(the name was something else).

Any ideas? (besides changing the distro)

Marconi.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-04 18:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 18:49 xm save error Marconi Rivello
2004-10-28 20:09 ` Ian Pratt
2004-11-04 18:56   ` Marconi Rivello
2004-10-28 20:17 ` Christian Limpach

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.