LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-15-2007, 02:29 AM   #1
sailer_sh
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:
Code:
virt-install -n rhel4_system_1 -r 256 --vcpus=1 -f /xen/rhel4_system_1  --nographics -p -d -l "http://192.168.64.222/RHEL4.U4/files" -
It some error messages:
Code:
Starting install...
Fri, 15 Jun 2007 15:20:29 DEBUG    Creating guest from '<domain type='xen'>
  <name>rhel4_system_1</name>
  <memory>262144</memory>
  <uuid>9f93233d-d782-a277-6710-bb0ee6c8a472</uuid>
  
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/vmlinuz.naQO-e</kernel>
    <initrd>/var/lib/xen/initrd.img.cGJFnW</initrd>
    <cmdline> method=http://192.168.64.222/RHEL4.U4/files  </cmdline>
  </os>

  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>1</vcpu>
  <devices>
    <disk type='file' device='disk'>
      <driver name='tap'/>
      <source file='/xen/rhel4_system_1'/>
      <target dev='xvda'/>
    </disk>

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

    
  </devices>
</domain>
'
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 ?
    main()
  File "/usr/sbin/virt-install", line 411, in main
    dom = guest.start_install(conscb)
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 220, in start_install
    return XenGuest.XenGuest.start_install(self, consolecb)
  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 367, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed
I don't know what it means?
 
  


Reply


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 06:02 PM
Install ati-drivers fails with "Failed to compile kernel module" erpe Debian 2 06-13-2006 05:09 AM
Mandriva 2006 fails install with "set_loop failed on /dev/loop0" iguest Mandriva 5 05-07-2006 01:16 PM
"Failed to initialize the NVIDIA graphics device" WTH went wrong with driver install Ohmn Mandriva 3 06-29-2004 10:29 PM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 09:00 PM


All times are GMT -5. The time now is 11:04 AM.

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