LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 11-12-2009, 05:00 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,933
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Centos 5.4 KVM (virtualization); cannot begin the installation process


Hello,

Trying to install a virtual machine and I keep getting this error message

Code:
[root@wolf d1]# virt-install --prompt
What is the name of your virtual machine? squid1
 How much RAM should be allocated (in megabytes)? 3072
 What would you like to use as the disk (file path)? /d1/squid1/squid1.img
 What is the install CD-ROM/ISO or URL? /media
 

Starting install...
Retrieving file .treeinfo...                                                                                                    |  413 B     00:00     
Retrieving file boot.iso...                                                                                                     | 8.9 MB     00:00     
internal error Domain squid1 didn't show up

Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start squid1'; otherwise, please
 restart your installation.
ERROR    internal error Domain squid1 didn't show up
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 861, in ?
    main()
  File "/usr/sbin/virt-install", line 759, in main
    start_time, guest.start_install)
  File "/usr/sbin/virt-install", line 814, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Domain squid1 didn't show up
Same error appears when doing it though the gui using "virt-manager"

here is some of the output of the log...
Code:
[root@wolf d1]# tailf /var/log/libvirt/qemu/squid1.log 
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root LOGNAME=root /usr/bin/qemu -S -M pc -m 3072 -smp 1 -monitor pty -pidfile /var/run/libvirt/qemu//squid1.pid -no-reboot -boot d -hda /data/squid1/squid1.img -cdrom /d1/centos.iso -net nic,macaddr=54:52:00:65:0b:61,vlan=0 -net tap,fd=19,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us 
QEMU PC emulator version 0.9.0, Copyright (c) 2003-2007 Fabrice Bellard
usage: qemu [options] [disk_image]

'disk_image' is a raw hard image image for IDE hard disk 0

Standard options:
-M machine      select emulated machine (-M ? for list)
-fda/-fdb file  use 'file' as floppy disk 0/1 image
-hda/-hdb file  use 'file' as IDE hard disk 0/1 image
-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image
-cdrom file     use 'file' as IDE cdrom image (cdrom is ide1 master)
-boot [a|c|d|n] boot on floppy (a), hard disk (c), CD-ROM (d), or network (n)
-snapshot       write to temporary files instead of disk image files
-no-quit        disable SDL window close capability
-no-fd-bootchk  disable boot signature checking for floppy disks
-m megs         set virtual RAM size to megs MB [default=128]
-smp n          set the number of CPUs to 'n' [default=1]
-nographic      disable graphical output and redirect serial I/Os to console
-k language     use keyboard layout (for example "fr" for French)
-audio-help     print list of audio drivers and their options
-soundhw c1,... enable audio support
                and only specified sound cards (comma separated list)
                use -soundhw ? to get the list of supported cards
                use -soundhw all to enable all of them
-localtime      set the real time clock to local time [default=utc]
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'

Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net user[,vlan=n][,hostname=host]
                connect the user mode network stack to VLAN 'n' and send
                hostname 'host' to DHCP clients
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=/etc/qemu-ifup);
                use 'script=no' to disable script execution;
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
-net none       use it alone to have zero network devices; if no -net option
                is provided, the default is '-net nic -net user'

-tftp prefix    allow tftp access to files starting with prefix [-net user]
-smb dir        allow SMB access to files in 'dir' [-net user]
-redir [tcp|udp]:host-port:[guest-host]:guest-port
                redirect TCP or UDP connections from host to guest [-net user]

Linux boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file    use 'file' as initial ram disk

Debug/Expert options:
-monitor dev    redirect the monitor to char device 'dev'
-serial dev     redirect the serial port to char device 'dev'
-parallel dev   redirect the parallel port to char device 'dev'
-pidfile file   Write PID to 'file'
-S              freeze CPU at startup (use 'c' to start execution)
-s              wait gdb connection to port 1234
-p port         change gdb connection port
-d item1,...    output log to /tmp/qemu.log (use -d ? for a list of log items)
-hdachs c,h,s[,t]  force hard disk 0 physical geometry and the optional BIOS
                translation (t=none or lba) (usually qemu can guess them)
-L path         set the directory for the BIOS, VGA BIOS and keymaps
-std-vga        simulate a standard VGA card with VESA Bochs Extensions
                (default is CL-GD5446 PCI VGA)
-no-acpi        disable ACPI
-no-reboot      exit instead of rebooting
-loadvm file    start right away with a saved state (loadvm in monitor)
-vnc display    start a VNC server on display
-daemonize      daemonize QEMU after initializing
-option-rom rom load a file, rom, into the option ROM space

During emulation, the following keys are useful:
ctrl-alt-f      toggle full screen
ctrl-alt-n      switch to virtual console 'n'
ctrl-alt        toggle mouse and keyboard grab

When using -nographic, press 'ctrl-a h' to get some help.
Using CentOS 5.4
Attached Images
File Type: png Picture 2.png (34.2 KB, 16 views)

Last edited by custangro; 11-12-2009 at 05:22 PM.
 
Old 11-13-2009, 10:13 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,933
Blog Entries: 1

Original Poster
Rep: Reputation: 188Reputation: 188
Ok I solved this issue...

It turns out that you can only create a machine with 1G of RAM...THEN after it has been created...you can give it more memory...
 
Old 11-28-2009, 05:47 PM   #3
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
hi do you have some documentation - online manuals about how to work with centos and KVM

thanks a lot

Last edited by kopper27; 11-28-2009 at 05:51 PM.
 
Old 11-28-2009, 08:46 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,933
Blog Entries: 1

Original Poster
Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by kopper27 View Post
hi do you have some documentation - online manuals about how to work with centos and KVM

thanks a lot
I used the RHEL documentation

http://www.redhat.com/docs/en-US/Red...ide/index.html

Along with this...

http://www.howtoforge.com/virtualiza...dora-11-server

-C
 
Old 12-06-2009, 01:01 PM   #5
dhirsolo
Member
 
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15
Hi

I am still struggling with this issue, i am doing it in gui and it always ended up displaying message "internal error Domain A didn't show up"


I am using an bootable iso image for installation , i tried to install a linux guest (ubuntu)but same result

also tried to adjust ram to 1g but failed



i hv fedora core 11 64 bit on amd athlon 2.5G machine w 2 gb ram



Thanks

Last edited by dhirsolo; 12-06-2009 at 01:03 PM.
 
  


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
booting process stops after CentOS installation/root (hd0,0) Issakar Linux - Newbie 1 07-22-2009 10:11 PM
LXer: Virtualization With KVM On A CentOS 5.2 Server LXer Syndicated Linux News 0 04-12-2009 03:00 PM
virtualization with kvm-84 on slackware 12.2 [GOD]Anck Slackware 6 03-26-2009 04:21 PM
LXer: Virtualization With KVM On Ubuntu 8.10 LXer Syndicated Linux News 0 12-14-2008 12:00 PM
F7 KVM Virtualization Crito Fedora 2 06-05-2007 07:58 AM


All times are GMT -5. The time now is 10:11 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