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

[Xen-users] Re: Error: Internal Server Error when saving domain


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Tom Gissel <trgissel@xxxxxxxxx>
  • Date: Fri, 8 Jul 2005 06:32:30 -0700 (PDT)
  • Delivery-date: Fri, 08 Jul 2005 13:31:18 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gDXWhPbfQivvHp4v0n7bes7Fl7XTMVs9Bk8KJo6S6eUnZ44qqiX0Rg05R4Pd83idjdSsy7ABb7g+z/C/U34LxSmY0AB4tSNrXWTL1K0MUqqiKsaX4LtUjNxq81mL9zrof8oCdNTDh+osSTOd9P6LJP+yyHzPADN5kTmQoQr4N4A= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I found the answer in this thread
http://lists.xensource.com/archives/html/xen-users/2005-06/msg00117.html

mkdir /var/lib/xen/xend-db/migrate
ln -s /usr/lib/libcurl.so.3  /usr/lib/libcurl.so.2




--- Tom Gissel <trgissel@xxxxxxxxx> wrote:

> Hi,
> 
> I'm a xen newbie and am having trouble saving a xen
> domain.  When attempt to save the domain via, xm
> save
> <domainName> <fileName>,  I receive the "Error:
> Internal Server Error" on the cmdline. 
> 
> Upon looking in the logs I see a suspicous message
> "exceptions.OSError: [Errno 2] No such file or
> directory: '/var/lib/xen/xend-db/migrate/'". Indeed
> /var/lib/xen/xend-db/migrate does not exist on my
> system. The only directories within the xend-db
> directory are: domain, and vnet.  
> 
> I'm not sure what the problem is.  Can someone
> please
> help?
> 
> Thanks,
> Tom
> 
> 
> **SYSTEM INFO***
>
=======================================================
> OS:  Fedora 4
> KERNEL: 2.6.12-1.1387_FC4xen0 #1 SMP Fri Jul 1
> 13:08:58 EDT 2005 i686 i686 i386 GNU/Linux, 
> XEN RPMS:
> 
> kernel-xenU-devel-2.6.11-1.1369_FC4
> cman-kernel-xen0-2.6.11.5-20050601.152643.FC4.2
> GFS-kernel-xenU-2.6.11.8-20050601.152643.FC4.2
> kernel-xen0-devel-2.6.12-1.1387_FC4
> kernel-xen0-devel-2.6.11-1.1369_FC4
> kernel-xen0-2.6.11-1.1369_FC4
> GFS-kernel-xen0-2.6.11.8-20050601.152643.FC4.2
> cman-kernel-xenU-2.6.11.5-20050601.152643.FC4.2
> dlm-kernel-xenU-2.6.11.5-20050601.152643.FC4.2
> kernel-xenU-2.6.12-1.1387_FC4
> kernel-xen0-2.6.12-1.1387_FC4
> kernel-xenU-devel-2.6.12-1.1387_FC4
> xen-2-20050522
> kernel-xenU-2.6.11-1.1369_FC4
> dlm-kernel-xen0-2.6.11.5-20050601.152643.FC4.2
>
======================================================
> /var/log/xend.log
> 
> 2005-07-07 09:35:54 xend] INFO (SrvDaemon:612) Xend
> Daemon started
> [2005-07-07 09:35:55 xend] INFO (XendRoot:112)
> EVENT>
> xend.start 0
> [2005-07-07 09:36:18 xend] DEBUG
> (XendDomainInfo:770)
> init_domain> Created domain=1 name=xenwas1
> memory=104
> 8576
> [2005-07-07 09:36:18 xend] INFO (console:94) Created
> console id=13 domain=1 port=9601
> [2005-07-07 09:36:18 xend] WARNING
> (XendDomainInfo:798) building dom with 1 vcpus
> [2005-07-07 09:36:18 xend] DEBUG
> (XendDomainInfo:1273)
> Creating vbd dom=1 uname=file:/root/xen/10GB.img
> [2005-07-07 09:36:18 xend] DEBUG (blkif:63)
> exception
> looking up device number for sda1: [Errno 2] No such
> file or directory: '/dev/sda1'
> [2005-07-07 09:36:18 xend] DEBUG (blkif:155)
> Connecting blkif <BlkifBackendInterface 1 0>
> [2005-07-07 09:36:18 xend] DEBUG
> (XendDomainInfo:1233)
> Creating vif dom=1 vif=0 mac=aa:00:00:7c:c8:31
> [2005-07-07 09:36:18 xend] INFO (XendRoot:112)
> EVENT>
> xend.console.create [13, 1, 9601]
> [2005-07-07 09:36:18 xend] WARNING
> (XendDomainInfo:1127) Unknown config field memmap
> [2005-07-07 09:36:18 xend] WARNING
> (XendDomainInfo:1127) Unknown config field
> device_model
> [2005-07-07 09:36:18 xend] WARNING
> (XendDomainInfo:1127) Unknown config field
> device_config
> [2005-07-07 09:36:18 xend] INFO (XendRoot:112)
> EVENT>
> xend.domain.create ['xenwas1', '1']
> [2005-07-07 09:36:18 xend] INFO (XendRoot:112)
> EVENT>
> xend.domain.unpause ['xenwas1', '1']
> [2005-07-07 09:36:19 xend] DEBUG (blkif:203)
> Connecting blkif to event channel
> <BlkifBackendInterface 1 0>
> ports=14:3
>
=======================================================
> /var/log/xend-debug.log
> 
> network start bridge=xen-br0 netdev=eth0
> antispoof=no
> VIRTUAL MEMORY ARRANGEMENT:
>  Loaded kernel: c0100000->c03a7198
>  Init. ramdisk: c03a8000->c03a8000
>  Phys-Mach map: c03a8000->c04a8000
>  Page tables:   c04a8000->c04ab000
>  Start info:    c04ab000->c04ac000
>  Boot stack:    c04ac000->c04ad000
>  TOTAL:         c0000000->c0800000
>  ENTRY ADDRESS: c0100000
>  VCPUS:         1
> vif-bridge up vif=vif1.0 domain=xenwas1
> mac=aa:00:00:7c:c8:31 bridge=xen-br0
> recv_fe_driver_status> {'status': 1}
> 
> recv_fe_driver_status>
> 
> recv_fe_interface_connect {'tx_shmem_frame':
> 1012675,
> 'rx_shmem_frame': 1012674, 'handle': 0}
> Traceback (most recent call last):
>   File
>
"/usr/lib/python2.4/site-packages/twisted/protocols/basic.py",
> line 229, in dataReceived
>     return self.rawDataReceived(data)
>   File
>
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
> line 1015, in rawDataReceived
>     self.allContentReceived()
>   File
>
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
> line 1006, in allContentReceived
>     req.requestReceived(command, path, version)
>   File
>
"/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
> line 557, in requestReceived
>     self.process()
> --- <exception caught here> ---
>   File
>
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
> line 165, in process
>     self.render(resrc)
>   File
>
"/usr/lib/python2.4/site-packages/twisted/web/server.py",
> line 172, in render
>     body = resrc.render(self)
>   File
>
"/usr/lib/python2.4/site-packages/twisted/web/resource.py",
> line 201, in render
>     return m(request)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomain.py",
> line 187, in render_POST
>     return self.perform(req)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvBase.py",
> line 103, in perform
>     return self._perform(op, op_method, req)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvBase.py",
> line 109, in _perform
>     self._perform_err(err, op, req)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvBase.py",
> line 107, in _perform
>     val = op_method(op, req)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomain.py",
> line 64, in op_save
>     deferred = fn(req.args, {'dom': self.dom.id})
>   File
> "/usr/lib/python2.4/site-packages/xen/xend/Args.py",
> line 145, in __call__
>     return self.call_with_form_args(self.fn, fargs,
> xargs=xargs)
>   File
> "/usr/lib/python2.4/site-packages/xen/xend/Args.py",
> line 121, in call_with_form_args
>     return fn(*params, **keys)
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
> line 610, in domain_save
>     xmigrate = XendMigrate.instance()
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/XendMigrate.py",
> line 554, in instance
>     inst = XendMigrate()
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/XendMigrate.py",
> line 456, in __init__
>     self.session_db = self.db.fetchall("")
>   File
>
"/usr/lib/python2.4/site-packages/xen/xend/XendDB.py",
> line 69, in fetchall
>     for k in dircache.listdir(dpath):
>   File "/usr/lib/python2.4/dircache.py", line 25, in
> listdir
>     mtime = os.stat(path).st_mtime
> exceptions.OSError: [Errno 2] No such file or
> directory: '/var/lib/xen/xend-db/migrate/'
> 
> 
> 
>               
> ____________________________________________________
> Sell on Yahoo! Auctions ? no fees. Bid on great
> items.  
> http://auctions.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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