xm save error
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/
Quoted 6 lines
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/
Quoted 4 lines · Ian Pratt
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? ;-)
Quoted 8 lines
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 foundLooks 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
Quoted 5 lines · Marconi Rivello
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/