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-bugs

[Xen-bugs] [Bug 657] New: xm create fails with "Error: (2, 'No such file

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 657] New: xm create fails with "Error: (2, 'No such file or directory')"
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 24 May 2006 06:20:43 -0700
Delivery-date: Wed, 24 May 2006 06:21:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=657

           Summary: xm create fails with "Error: (2, 'No such file or
                    directory')"
           Product: Xen
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: britki@xxxxxxxxx


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

# strace xm create -c /etc/xen/vm01-config.sxp 2>&1 | tail -20
socket(PF_FILE, SOCK_STREAM, 0)         = 3
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"}, 27) = -1
ENOENT (No such file or directory)
stat64("/usr/lib/python/xen/xm/signal", 0xbfbcacb0) = -1 ENOENT (No such file
or directory)
open("/usr/lib/python/xen/xm/signal.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/lib/python/xen/xm/signalmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/usr/lib/python/xen/xm/signal.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/lib/python/xen/xm/signal.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(Nosuch file or directory)
write(2, "Error:", 6Error:)                   = 6
write(2, " ", 1 )                        = 1
write(2, "(2, \'No such file or directory\')", 32(2, 'No such file or
directory')) = 32
write(2, "\n", 1
)                       = 1
close(3)                                = 0
write(1, "Using config file \"/etc/xen/vm01"..., 46Using config file
"/etc/xen/vm01-config.sxp".
) = 46
rt_sigaction(SIGINT, NULL, {0xb7f68f10, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
munmap(0xb7dd2000, 4096)                = 0
exit_group(1)                           = ?

# ls -al /usr/lib/python/xen/xm/
total 240
drwxr-xr-x  3 root root  4096 May 24 15:08 .
drwxr-xr-x  8 root root  4096 May 24 15:08 ..
-rw-r--r--  1 root root     0 Apr 13 19:48 __init__.py
-rw-r--r--  1 root root   114 May 24 15:08 __init__.pyc
-rw-r--r--  1 root root  1064 Apr 13 19:48 console.py
-rw-r--r--  1 root root   485 May 24 15:08 console.pyc
-rw-r--r--  1 root root 30697 Apr 13 19:48 create.py
-rw-r--r--  1 root root 34209 May 24 15:08 create.pyc
-rw-r--r--  1 root root  3242 Apr 13 19:48 help.py
-rw-r--r--  1 root root  3682 May 24 15:08 help.pyc
-rw-r--r--  1 root root 33007 Apr 13 19:48 main.py
-rw-r--r--  1 root root 41494 May 24 15:08 main.pyc
-rw-r--r--  1 root root  2074 Apr 13 19:48 migrate.py
-rw-r--r--  1 root root  1725 May 18 18:32 migrate.pyc
-rw-r--r--  1 root root 14854 Apr 13 19:48 opts.py
-rw-r--r--  1 root root 19998 May 24 15:08 opts.pyc
-rw-r--r--  1 root root  3263 Apr 13 19:48 shutdown.py
-rw-r--r--  1 root root  3531 May 18 18:32 shutdown.pyc
-rw-r--r--  1 root root   701 Apr 13 19:48 sysrq.py
-rw-r--r--  1 root root  1104 May 18 18:32 sysrq.pyc
drwxr-xr-x  2 root root  4096 May 18 18:32 tests


# cat /etc/xen/vm01-config.sxp
name="vm01"
kernel="/boot/vmlinuz-2.6.16-xenU"
root="/dev/hda1"
memory=128
disk=['file:/var/vserver/images/vm01.img,hda1,w','file:/var/vserver/images/vm01-
swap.img,hda2,w']

# network
vif=[ '' ]
dhcp="off"
ip="192.168.0.101"
netmask="255.255.255.0"
gateway="192.168.0.1"
hostname="vm01"

extra="3"
#

Additional infos:
Both file system images and guest kernel image exist. All tools per make
installed. Kernel built from vanilla 2.6.16 source. Debian 3.1.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>