CentOS 5 :: Unable To Create Virtual Machine On 5.3 / Solution For This?
Apr 29, 2009
I am newbie to centos. I am trying to install virtual server in my machine. I have installed the Xen virtual machine monitor which comes with CentOS through add/remove software. Here is the problem, I am unable to open connection with Xen hypervisor. Here is the error i am facing:
Unable to open a connection to the Xen hypervisor/daemon. code...
I had set up 4 virtual machines on centos 5.5 system where I directed the image locations to an external storage. I have lost the image files in the storage, but I have the image files that were copied from the virtual machine image location. I want to put up the same system on the same computer by copying these backup images. However, when I copy the image file to the same exact location and start the corresponding virtual machine I get "no bootable disk" error. When I increase the size of the image using "qemu-img" commands, I can get rid of this error, but get "error reading disk" error. Is there a way to overcome these problems, or is it not possible to restore a virtual machine by copying the machine image file under ..../xen/images?
I'm trying to set up a virtual machine environment in Centos5.5. My hardware fully supports virtualization, and I'm running qemu as the hypervisor with Virtual Machine Manager as the GUI to manage and create VMs. Host hardware is a Dell PowerEdge T710, with a quad core Xenon processor and four 1TB disks in a raid 6 array.
Within the Virtual Machine Manager when trying to create a new VM, there is the option to not "allocate entire virtual disk now". What format is created when you "allocate entire virtual disk now" and when you don't?
I want to create a qcow2 image format, but it doesn't look like it is supported. Does anybody know how to create a VM with a qcow2 image format?
When you create a blank disk with "qemu-img create -f qcow2 disk.qcow2 3700G", it indeed does create a qcow2 image. However, Virtual Machine Manager is unable to read these images, claiming that it is 15 megs or so in size (which is what it actually occupies in host disk space until you try and put a VM into it).
I have CentOS 5.5 and try to create KVM virtual machine with CentOS 5.5 as a guest. But when I exec command: virt-install --connect qemu:///system --name test --ram 1024 --file=/var/lib/libvirt/images/test.img --file-size=10 --vnc --cdrom=/var/lib/libvirt/images/CentOS-5.5-x86_64-bin-DVD-1of2.iso --vncport=10000 --accelerate --os-type=linux --nonsparse --livecd --hvm
I have installed CentOS on a VMwareWorktation and that CentOS, i also install VMware Server (suscess) and setup a guest OS that, but i start this Guest OS, an error show "You may not power virtual machine in virtual machine"...
After upgrading Centos 5.4 cluster nodes to 5.5 all virtual services failed to start. All virtual services are marked as 'failed'. The reason: new /usr/share/cluster/vm.sh requires 'which', but this is not reflected in rgmanager-2.0.52-6.el5.centos.
Solution: run 'yum -y install which' on all nodes, and reboot cluster. Hope that will save somebody hours of downtime.
I have been unable to create any type of Windows VM in Xen. Every time it tells me that the processor(s) in the machine do not support full virtualization. After some research, I found several articles regarding the vmx setting in /proc/cpuinfo not showing up when the xen kernel is booted versus it showing up in the default kernel. Of course, I am not seeing the vmx extension in /proc/cpuinfo after I boot to the xen kernel. In the other posts where other people are in the same situation, the only resolution is to upgrade to the 2.6.16 xen kernel. I am already past that:
linux-vxke:~ # uname -r 126.96.36.199-0.1-xen
yet I am still unable to create any form of Windows VM. I have even seen that some people are able to create a partially virtualized Windows VM, and they report that the message is only a warning. However, I am unable to get past this message. I am running a Dell Optiplex 760 with an Intel Core 2 Duo E7300, and I have the VT-x setting enabled in the BIOS. Has anyone else seen this situation or have any thoughts on why this is happening?
I used qemu sucesfully on F9 but I can't find it on F10. I can't create a virtual machine. I tried installing qemu from rpms that I found on their site without any luck. How can I create a virtual machine on F10?
I just install QEMU and virtual machine manager to use virtualization, but virt-manager cannot run properly. I can create a VM, then mount CDROM ISO, startup. With Windows installation, it runs well until format partition step, after that it is disconected and exit with error related to VNC. I dont know why have this problem cause the packages that I installed is from Fedora repo and I think they have been tested.
I'm working on a script. fter it has installed and removed packages, I need to configure a ton of settings. In GNOME, I understand that those settings are kept in "/home/user/.gconf". Can I create a virtual machine and configure the system through the GUI to my liking and then dump all of the settings, so that I can load them on another machine? Is it as simple as copying the directories?
I tried to yum install libvirt but it says it is the latest.I have also checked that i have the latest qemu-kvm virt-manager virt-viewer python-virtinst.I understand that the error msg says that it is unable to find that certain file, libvirt-sock, and i dun think i have it either.
I want to add more than one Virtual IP to my CentOS machine. I was able to add one ver easily by creating a file ifcfg-eth0:1 and editing the IPADDR field. But I cannot create more by creating a ifcfg:eth0:2, for example.
I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://188.8.131.52/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?
I installed the Centos 5.5 with XEN and put 03 virtual machines (Centos 5.5 too). I did this correctly, but I have a problem. In the virtual machine, I need update the kernel. I used "yum update kernel" and this is downloaded correctly and the menu.lst file is updated too, but the kernel not ran. I ran "grub-install /dev/sda" or "grub-install /dev/xvda" and received a error return. I read the device.map file and i ran "grub-install /dev/sde" and received a error return too.
The errors: [root@vm01 ~]# grub-install /dev/sda /dev/sda: Not found or not a block device. [root@vm01 ~]# grub-install /dev/sde /dev/sda1 does not have any corresponding BIOS drive. [root@vm01 ~]# grub-install /dev/xvda /dev/xvda: Not found or not a block device.
I am encountering some problems regarding CentOS 5 and I am going to kindly ask your help in debugging further what is happening. I will give as much information as possible about the setup. Here we go. We use on one server of our servers, GOautodial, an inbound/outbound call center application, that it's installed on a CentOS 5.5 (Final).
# cat /etc/*release* cat: /etc/lsb-release.d: Is a directory CentOS release 5.5 (Final) GoAutoDial CE 2.0 # uname -a Linux xxxxx.com 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux
Running Fedora 10, I installed CentOS 5 in Virtualbox, but I can't ping the Virtual Machine...
From within CentOS, I can ping my laptop [known as the host?] but from the laptop I can't ping the CentOS Virtual Machine. I tried turning off the firewall on both too... CentOS was able to access the internet through my laptop right away without any configurations too.
Unless someone has an idea to resolve the above, I am also wondering about something else VirtualBox-related:
To see if it was possible to get around the above issue, I was going to install another CentOS virtual machine to see if I can get them to communicate both ways [if at all], but to do so, I think I have to install CentOS AGAIN on another allocated amount of hard disk space. This will take some time, so I was wondering if anyone knew if it was possible to just create a quick duplicate of the previous installation, if you wanted 2 different virtual installations of the same OS.
I'm running CentOS 5.5 x64 and have just installed VMWare Server 1. I am able to create a new Virtual Machine, but when I go to power on the VM in order to install the OS (windows server 2003), either the host crashes/reboots (with "Run in Debugging Mode" turned on) or the VM simply does not start (with that Debugging box unchecked) and in the log there is an error along the lines of VMware Server unrecoverable error (vmx)
I need to set a NAC (PacketFence) system (CentOS 5.5), i would like to set in my case eth0 to work with several different VLAN'S i created ifcfg-eth0.2 copied from orginal ifcfg-eth0 and changed the ip and append VLAN=yes but when i am triyng to load ifcfg-eth0.2 i get error
my ifcfg-eth0 goes as follow
# Intel Corporation 82578DM Gigabit Network Connection # Normal VLAN Lan adapter (Managment)(On-boad 1st NIC) DEVICE=eth0
I'm not able to create Samba Account. it is showing the error message as below
Failed to initialise SAM_ACCOUNT for user <username>. Does this user exist in the UNIX password database ? Failed to modify password entry for user <username>
Unix accounts are created in Corporate Office, which is in US. We had a dedicated link from our office to US office. Now this link has been disconnected & now we have a VPN connection through internet to US Office. there is a firewall on both the sides. While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not getting established it is showing SYN_SENT.
The port from the Home directory server trying to connect to the Unix server is connecting using Dynamic port but the Unix server port it is showing as PORTMAP. Network guys are not opening all the ports in the firewall. Kindly let me know the DESTINATION PORT that the home directory server is trying to connect to Unix Server, so that i can ask my network guys to open that perticular port. So that i can create Samba account to the users.