Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 06-15-2007, 03:29 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
"libvirt.libvirtError: virDomainCreateLinux() failed" when virt-install

When I install a vm (rhel4) in the Xen ofRHEL5:
virt-install -n rhel4_system_1 -r 256 --vcpus=1 -f /xen/rhel4_system_1  --nographics -p -d -l "" -
It some error messages:
Starting install...
Fri, 15 Jun 2007 15:20:29 DEBUG    Creating guest from '<domain type='xen'>
    <cmdline> method=  </cmdline>

    <disk type='file' device='disk'>
      <driver name='tap'/>
      <source file='/xen/rhel4_system_1'/>
      <target dev='xvda'/>

    <interface type='bridge'><source bridge='xenbr0'/><mac address='00:16:3e:03:d5:9c'/><script path='/etc/xen/scripts/vif-bridge'/></interface>

libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (22, 'Invalid argument')")
Failed to create domain rhel4_system_1
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 447, in ?
  File "/usr/sbin/virt-install", line 411, in main
    dom = guest.start_install(conscb)
  File "/usr/lib/python2.4/site-packages/virtinst/", line 220, in start_install
    return XenGuest.XenGuest.start_install(self, consolecb)
  File "/usr/lib/python2.4/site-packages/virtinst/", line 367, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
  File "/usr/lib/python2.4/site-packages/", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed
I don't know what it means?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
java console wont install "error: Failed dependencies" io13 Linux - Software 2 08-26-2006 07:02 PM
Install ati-drivers fails with "Failed to compile kernel module" erpe Debian 2 06-13-2006 06:09 AM
Mandriva 2006 fails install with "set_loop failed on /dev/loop0" iguest Mandriva 5 05-07-2006 02:16 PM
"Failed to initialize the NVIDIA graphics device" WTH went wrong with driver install Ohmn Mandriva 3 06-29-2004 11:29 PM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 10:00 PM

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration