WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error on creating domain : Error: Error creating domain: (2,

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error on creating domain : Error: Error creating domain: (2, 'No such file or directory')
From: javera@xxxxxxxx
Date: Tue, 13 Jun 2006 22:23:30 +0200 (CEST)
Delivery-date: Tue, 13 Jun 2006 13:24:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.3a
Hi all.




I'm new in xen environment and I'm in troubles running my first
domain in suse 10.

I'm using xen 3.0_6715 embedded in suse10 and when I try to create
the first domain, it gives me the following message



# xm create /etc/xen.org/p -c
Using config file "/etc/xen.org/p".
Error: Error creating domain: (2, 'No such file or directory')

The following command that I execute after the previous error, always
fails, but only once time because if I try it agein, it works !!!!

For example:


intranet:/var/run/xenstored # xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      251    0      1   r----     34.8
intranet:/var/run/xenstored # xm create /etc/xen.org/p -c
Using config file "/etc/xen.org/p".
Error: Error creating domain: (2, 'No such file or directory')
intranet:/var/run/xenstored # xm list
Unexpected error: xen.xend.XendProtocol.XendError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 710, in main
    rc = cmd(args)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 226, in
xm_list
    doms = server.xend_domains()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendClient.py", line
199, in xend_domains
    return self.xendGet(self.domainurl())
  File "/usr/lib/python2.4/site-packages/xen/xend/XendClient.py", line
152, in xendGet
    return self.client.xendGet(url, args)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
86, in xendGet
    return self.xendRequest(url, "GET", args)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
170, in xendRequest
    val = self.handleStatus(resp.version, resp.status, resp.reason)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
106, in handleStatus
    return self.handleException(XendError(message))
  File "/usr/lib/python2.4/site-packages/xen/xend/XendProtocol.py", line
132, in handleException
    raise err
xen.xend.XendProtocol.XendError: Internal server error
intranet:/var/run/xenstored # xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      251    0      1   r----     36.1


My configuration file is the next:

kernel = "/boot/kernel-intranet-normal"
ramdisk = "/boot/initrd-2.6.13-15-default"
memory = 32
name = "intranet"
vif = [ 'mac=aa:00:00:00:00:11, bridge=xenbr0' ]
disk = ['file:/export/data/xen/files/intranet.vmdisk,hda1,w' ]
root = "/dev/hda1 ro"
extra = "3"


The output of ifconfig -a is the next

intranet:/var/run/xenstored # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:00:E8:78:B9:F0
          inet addr:1.100.0.210  Bcast:1.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::200:e8ff:fe78:b9f0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:485538 (474.1 Kb)  TX bytes:81240 (79.3 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:116 (116.0 b)  TX bytes:116 (116.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5358 errors:0 dropped:0 overruns:0 frame:0
          TX packets:862 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:1000
          RX bytes:491668 (480.1 Kb)  TX bytes:83662 (81.7 Kb)
          Interrupt:5 Base address:0xd800

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:836 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5318 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:81240 (79.3 Kb)  TX bytes:485706 (474.3 Kb)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:369908 (361.2 Kb)  TX bytes:378 (378.0 b)



The output of ps aux | grep -i xen  is the next

intranet:/var/run/xenstored # ps aux | grep -i xen
root       734  0.0  0.0      0     0 ?        S    Jun13   0:00 [xenblkd]
root      4437  0.0  0.2   1744   520 ?        Ss   Jun13   0:00
/usr/sbin/xenstored --pid-file=/var/run/xenstore.pid
root      4439  0.0  2.2  18372  5828 ?        Ss   Jun13   0:00 python
/usr/sbin/xend start
root      4440  0.0  0.1   1720   424 ?        Ss   Jun13   0:00
/usr/sbin/xenconsoled
root      4442  0.0  2.2  18372  5828 ?        S    Jun13   0:00 python
/usr/sbin/xend start
root      4448  0.0  2.2  18372  5828 ?        S    Jun13   0:00 python
/usr/sbin/xend start
root      4456  0.0  2.2  18372  5828 ?        S    Jun13   0:00 python
/usr/sbin/xend start
root      4457  0.0  2.2  18372  5828 ?        S    Jun13   0:00 python
/usr/sbin/xend start
root      4483  0.0  2.2  18372  5828 ?        S    Jun13   0:00 python
/usr/sbin/xend start
root      4852  0.1  2.2  18372  5828 ?        S    Jun13   0:01 python
/usr/sbin/xend start


The directories /var/run/xen and /var/run/xenstored exist and
the file that I use like block device in the configuration file
also exists.

Any ideas ?

Thanks in advanced


Juan Antonio Vera



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error on creating domain : Error: Error creating domain: (2, 'No such file or directory'), javera <=