All of my virtual machines are "busy" after upgrading Linux
I upgraded from Slackware64 13.37 abreast (close enough to the new version 14.0 - kernel 3.2.29) and installed vmplayer 5.0.0 build-812388.
Vmplayer installation was possible with the "-ignore-errors option, like the previous version."
When I try to play any of my images .vmx, I always get an error "the virtual machine is busy.".
In the windows client, vmplayer creates a directory of "lck" with a lock file '.lck"in there.
Remove this file does not resolve the issue. If I don't remove this file and try to run the virtual machine again, vmplayer leaves.
When running from the command line, I get this:
vmplayer $ Windows_7.vmx
Login to /tmp/vmware-lupe/vmware-modconfig-24735.log
file name: /lib/modules/3.2.29/misc/vmmon.ko
support: external
License: GPL v2
Description: monitor Machine virtual VMware.
Author: VMware, Inc..
depends on:
vermagic: 3.2.29. mod_unload SMP
Abandoned
The above mentioned log file:
2012 09-26 T 16: 53:01.299Z | vthread-3 | I120: Log for VMware Workstation pid = 24735 version = version 9.0.0 Build = build-812388 option = output
2012 09-26 T 16: 53:01.299Z | vthread-3 | I120: The process is 64-bit.
2012 09-26 T 16: 53:01.299Z | vthread-3 | I120: Host codepage = ISO-8859-1 encoding = ISO-8859-1
2012 09-26 T 16: 53:01.299Z | vthread-3 | I120: Host is Slackware Linux 3.2.29. 14.0
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: Msg_Reset:
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: [msg.dictionary.load.openFailed] cannot open the file ' / usr/lib/vmware/settings ': no such file or directory.
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: ----------------------------------------
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: Preferences file of the option PREFS not found in/usr/lib/vmware/settings. Using the default values.
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: Msg_Reset:
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: [msg.dictionary.load.openFailed] cannot open the file ' / home/lupe/.vmware/config ': no such file or directory.
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: ----------------------------------------
2012 09-26 T 16: 53:01.298Z | vthread-3 | I120: Optional preferences PREFS not found in home/lupe/.vmware/config file. Using the default values.
2012 09-26 T 16: 53:01.299Z | vthread-3 | W110: Connecting to /tmp/vmware-lupe/vmware-modconfig-24735.log
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Reading in info for the vmmon module.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Reading in info for module vmnet.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Reading in info for the vmblock module.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Reading in info for vmci module.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Reading in info for the vsock module.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Definition of vsock to depend on vmci.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Created new pathsHash.
2012 09-26 T 16: 53:01.307Z | vthread-3 | I120: Modinfo calling over 'vmmon.
2012 09-26 T 16: 53:01.309Z | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
2012 09-26 T 16: 53:01.309Z | vthread-3 | I120: Modinfo invoking on "vmnet".
2012 09-26 T 16: 53:01.311Z | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
2012 09-26 T 16: 53:01.311Z | vthread-3 | I120: Modinfo invoking on 'vmblock '.
2012 09-26 T 16: 53:01.312Z | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
2012 09-26 T 16: 53:01.312Z | vthread-3 | I120: Modinfo calling over 'vmci.
2012 09-26 T 16: 53:01.314Z | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
2012 09-26 T 16: 53:01.314Z | vthread-3 | I120: Modinfo calling over 'vsock.
2012 09-26 T 16: 53:01.315Z | vthread-3 | I120: ' / sbin/modinfo ' came out with a status of 0.
He complains about parameters and a missing config file but load the default values.
I see nothing more that show some kind of error.
How can I solve this?
You must load modules into the kernel:
vmware-modconfig --console --install-all
Older versions do it automaticly but for some reason i don't know you have to do it manually.
Tags: VMware
Similar Questions
-
Virtual machines are not able to access the network after you have moved the host
We moved our 4 ESX host to a different physical switch and now our VMs cannot access the network.
I can access the host via client vsphere. Our host has 2 network cards. They are both members of the vSwitch0. I have 1 VM network defined, and they are both members of it. The network adapters, vmnic0 and vmnic1 are also part of my VMkernel which I do not know that I need because I have 1 ESX Server and do not use iscsi or NFS.
the two cards are also part of my service console.
According to my host "configuration / display: vitual switch, it looks like all my virtual machines are defined to use the vswitch."
the two physical network adapters is connected to the same switch. I did not go to any configuration on the switch.
The steers would be appreciated.
Thank you
Paul
Welcome to the community,
It sounds as if the physical switch ports are not configured correctly. Please check that port security is disabled on the switch (switchport mode access) ports and spanning tree portfast is (if any).
André
-
Hi, I discovered today that all virtual machines on my ESXi 4 has been arrested. There are balls I can check what happened? 4 virtual machines are all CentOS 5.5 64-bit and very lightly loaded (IE TOP shows 0.1 for loading). There is no more validation of CPU or memory.
You can... How to do this depends on your configuration... For example, if you use vCenter or not. If this isn't the case, then connect to the host, go to the tab "Configuration", under the heading 'Software', ' Virtual Machine Startup/Shutdown ' select and then click on the 'Properties' link (top right of this window)... This is where you can select the VM power on with the host country, what order they put under tension, or if they "Manual start" value when the host starts.
If you do the settings on the host computer, vCenter will extract these settings in the configuration... I would suggest testing to confirm that the auto-start settings stick when you vMotion a computer virtual to another host (if you have more than one host) or not.
Network administrator
VMware VCP4
Review the allocation of points for "useful" or "right" answers.
-
Hello
I have a centos 5.4 with server 2.0.2 vmware server installed on it. I am running two virtual machines on it: Microsoft windows xp pro sp3 and Centos 5.4 (the two 32-bit).
I have the last time, my virtual machines are automatically shut down, for example: I start the two vm at night and in the morning they are turned off.
Often happens that vmware-mngm service is not accessible, I'm trying to access on browser, but is not accessible. After I restarted the service vmware-mngm, it works, but aflte some operations with virtual machines, it gives me an error and stop responding again.
SELinux is disabled
getenforce
People with disabilities
After I log in Panel of vmware server I get this error:
The server cannot complete a request (HTTP 0).
Ok
The server encountered an unexpected condition which prevented him from meeting the demand. If the problem persists, contact your system administrator.
After the mgmt-vmware restart I can connect. I have attached the log files in a zip archive.
Help, please!
Thank you
Hello
first of all, check the host with a tool like memtest memory. Maybe the RAM is not ok.
After that, perhaps your problem is this one: http://communities.vmware.com/message/1326842#1326842
In above discussion, the solution is the following: http://communities.vmware.com/message/1431577#1431577
Let me know if it works for you.
A saludo/best regards,.
Pablo
Please consider providing any useful answer. Thank you!! - Por favor considered premiar las useful responses. MUCHAS gracias!
-
Several virtual machines are running, but are not in stock
Hi all
I hope that someone has experienced this condition and can help.
Here's what I have.
I have 13 VMs (Windows-based) I did some tests with the help of EMC RP DR. All servers in a group to ensure consistency with the two LUNs. I was able to failover of the environment on the site of copy and then restore to the original location.
However, today when I didn't return the case I lost 4 virtual machines.
-J' have 9 virtual machines I see in vCenter Server
-The virtual machines that I've "lost" are running, and I can connect using RDP, but they do not appear in vCenter Server
-Virtual machines are in their records in their data warehouses. When I find the appropriate folder and try to add to the inventory, the option is grayed out. Which suggests that the VM is saved, but when I search I do not see the instance.
PowerCLI command revealed that the two Mas I have 9 powered on virtual machines. Like I said all 13 virtual machines are running.
I asked each his vmInventory.xml of the host in the cluster file servers registered on all hosts are 9 instead of 13.
I have not disassembled the DS during operations of RecoverPoint failover, power off just the virtual machines.
Fortunately, this environment is not in full production, but which is the right thing.
Someone at - he encountered this rather odd situation.
If relevant, Bay storage is EMC VNX and access is any block.
Kind regards
no problem you are welcome!
-
Virtual MACHINE starts automatically after a power outage of the entire site?
Hello
We use ESXi 5.5.
If there is a power for the datacenter failure, ESXi hosts must be restarted when power is resumed.
We wonder if VMs will be launched automatically to the top? If not, this means that we must allow the "starting the Virtual Machine / stop option.
If we put a number of virtual machines in "automatically start", such as VM1, VM2, VM3 on ESXi Server one, VM4 VM5 ESXi Server b. Virtual machines are migrated between ESXi servers and how they can keep the boot sequence?
Your opinion is requested.
Dear Tony,
I ask you to create a vApp and configure accordingly on your vCenter boot order.
See you soon,.
Billon Manogaran
-
Virtual machine is interrupted after 30 minutes of power on.
Virtual machine is interrupted after 30 minutes of power on. In case you connect power only records.
Do you own information, how to solve this problem.
vCenter Server 4.1.
Check the Power ON option and see if it is set to sleep mode when idle (I think its default value in windows 7)
Similar post (http://communities.vmware.com/thread/332547)
-
What concurrent virtual machines are launched to start the failover or failover test
Hi friends,
What the simultaneous virtual machines are started when the failover or failover test is started?
6 virtual machines are cocurrently recovered or the number can be configured?
Thank you.
Hello
The number of virtual machines simultaneously recovered was 2 virtual machines per host up to a maximum of 20 virtual machines with MRS. 4.x ( http://www.vmware.com/files/pdf/VMware-vCenter-SRM-WP-EN.pdf document "Best Practices" 18 States, but I have seen 20 myself several times).
With SRM 5 the number is unlimited by default (http://www.vmware.com/files/pdf/techpaper/srm5-perf.pdf, page 13), but can be changed (overall or specific cluster): http://blogs.vmware.com/uptime/2011/10/working-at-the-edge-of-srm-5-limits.html
Michael.
-
I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly.
I tried to use for the function FolderByPath below, but don't know how to use it and have worked. Please help me in this.
Function Get-FolderByPath {}
< #.
. Records of recovery SYNOPSIS by giving a path
. DESCRIPTION the function will retrieve a record by its
path. The path can contain any type of leave (folder or)
Data Center).
. Author NOTES: Luc relaxing
. Path PARAMETER
The path to the folder.
This is a required parameter.
. Path PARAMETER
The path to the folder.
This is a required parameter.
. PARAMETER separator
The character used to separate the leaves in the
path. The default value is ' / '.
. EXAMPLE OF
PS > Get-FolderByPath-path ' Datacenter/Folder1/Folder2 ".
. EXAMPLE OF
PS > Get-FolderByPath-path "Folder1 > Folder2"-separator ' > '
# >
(param
[CmdletBinding()]
[parameter (Mandatory = $true)]
[System.String []] ${Path}.
[tank] ${delimiter} = ' / '.
)
{in process
If (((Get-PowerCLIConfiguration).)) DefaultVIServerMode - eq "Multiple") {}
$vcs = $defaultVIServers
}
else {}
$vcs = $defaultVIServers [0]
}
{foreach ($vc to $vcs)
{foreach ($strPath in $Path)
$root = get-file-name of the server data $vc centers
$strPath.Split ($Separator) | %{
$root = get-inventory-name $_-location $root - server $vc - NoRecursion
If ((Get-stocks-localisation $root-NoRecursion |)) Select--ExpandProperty name)-contains "vm") {}
$root = get-inventory-name "vm" - location $root - server $vc - NoRecursion
}
}
$root | where {$_-is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.FolderImpl]}|% {}}
Get-file-name $_. Name - location $root. Parent - Server $vc
}
}
}
}
}
You can try to retrieve the object file by steps as well.
Something like this for example
$folder = get-data center-name 'LTX01-G8 | Get-file-name "LTX-servers | Get-file-name "LTX servers 0000 - 0299. Get-file-name Linux
I guess the first qualification in your path was the data center.
-
The list of all names of virtual machines that are attached to the computer with script group
I need a script that would list all the virtual machines names that are attached to the Machine group as the bellows screenshot:
Ce can be in any language I just need to get this information.
I tried to Watch in database and found vm names of in table [ecm_dat_machines] and Group of/ids in names of table [ecm_sysdat_machine_groups] but I don't find table that would be assign vm to the Group.
I serait appreciate any help or clue as I already spent a lot of time on this task.
Attached file of import/export includes a view created for the SQL below, as well as a SQL report that uses this perspective to the computers by group in the VCM UI.
Note that the functions used in the join of the query criteria are there to ensure that only valid/active/license machines are displayed, these date data and time are adjusted to the time zone of the user, and that the users do not see that their role does not have access to groups of computers.
SELECT
m.machine_name,
mg.machine_group_name,
mg.machine_group_desc,
DATEADD (mi, utc.utc_offset, m.date_last_contact) as date_last_contact
OF dbo.ecm_dat_machine_group_machines_xref mgx
JOIN dbo.ecm_dat_machines m
ON mgx.machine_id = m.machine_id
Join dbo.ecm_dat_machine_groups mg
ON mgx.machine_group_id = mg.machine_group_id
JOIN dbo.ecm_dat_roles_machine_group_xref rmx
ON mgx.machine_group_id = rmx.machine_group_id
AND rmx.role_id = dbo.role_current)
JOIN dbo.ecm_fn_machines_valid_t (vm)
ON mgx.machine_id = vm.machine_id
JOIN dbo.ecm_user_utc_offset (utc)
1 = 1
-
The directory structure still seems to be on the disk. Is there an easy way to get vSphere to recognize?
Welcome to the community,
I guess you Install accidentally selected rather than upgrade! Anyway, you can just browse the data store and do a right-click on the .vmx file each VM to add the virtual machine to inventory.
André
-
We meet just power down and lost electricity ESX host.
When we start the ESX host, we can on each individual virtual machine.
Y at - it a setting that we can put in place for these VMs critics may start se?
Your opinion is requested.
Thanks for your advice. He agrees with your saying that the start / stop sems to be buggy.
It's only disable it every time that you enable VMware HA.
But it works (if enabled) and may be useful to define how the system starts up.
André
-
Virtual machines are stored, but the workload is not started
I use Scheduler display 2.1 on vSphere 5.1 and 5.2 of the view. Try to start the load of local work on WIndows 7 32 bit.
When I run the test, Planner is VM, it restarts and shows that VM is saved, but nothing happens after that. For hours, I can see only
Status: [IP recorded: 1] [the workload began on machines 0] [Uploaded results-> desktop: 0]
On the virtual desktop, I see this error:
SvcRun() of the instance method failure
Traceback (most recent call changed):
File "c:\python26\lib\site-packages\win32\lib\win32serviceutil.py", line 806, in SvcRun
cottages. SvcDoRun()
File "C:\Package\serviceagent.py", line 32, of SvcDoRun
IOError: (4, "Interrupted function call")
2%: %3Device in viewplanner.log I find this errors:
2013-04-30 09:06:26, 918 INFO-
2013-04-30 09:06:26, 918 compliance INFO
2013-04-30 09:06:26, 919 INFO-
2013-04-30 09:06:26, INFO 919 checking in the ad group: local
2013-04-30 09:06:26, 919 thinktime verification INFO: not OK
2013-04-30 09:06:26, 919 INFO verification of iterations: OK
2013-04-30 09:06:26, 919 applist verification INFO: not OK
2013-04-30 09:06:26, 919 audit INFORMATION for the Protocol (PCoIP): not OK
2013-04-30 09:06:26, 919 audit INFORMATION for (remote) mode: not OK
2013-04-30 09:06:26, 919 audit compliance for vm INFO: Image-Planer
2013-04-30 09:06:26, 991 INFO No. audit. of vcpu: OK
2013-04-30 09:06:26, 991 INFO allocated virtual memory verification: not OK
2013-04-30 09:06:26, 991 audit INFORMATION for the guest operating system: OK
2013-04-30 09:06:26, 991 WARNING compliance failed for this virtual machine: Image-plane (jump..)
2013-04-30 09:06:26, 991 INFO =.
2013-04-30 09:06:26, 991 INFO 5 compliance violations have been
2013-04-30 09:06:26, 992 INFO =.
2013-04-30 09:06:26, 992 INFO waiting for virtual machines to settle and sleep during the time scale
2013-04-30 09:06:52, 988 INFO Running query: INSERT INTO testinfo (test_name, ClientIP_FK, ServerIP_FK, Protocol, username, password, test_state, start_time, type) values ('Temp', '192.168.147.100', '192.168.147.100', "RDP", "local_1", "passw0rd", "waiting", "2013-04-30 09:06:52", 0)
2013-04-30 09:06:52, 999 INFO Running query: SELECT * from testinfo where test_name = 'Temp' and test_state = 'pending' and ClientIP_FK = '192.168.147.100' and ServerIP_FK = '192.168.147.100. '
2013-04-30 09:06:53, 000 INFO-
2013-04-30 09:06:53, 000 INFO launch the execution plan for the run profile
2013-04-30 09:06:53, 000 INFO-
2013-04-30 09:06:53, 000 information from local workload for all virtual machines funds...
2013-04-30 09:06:53, 000 NEWS Running query: SELECT * from testinfo where ServerIP_FK = '192.168.147.100' and test_state = 'waiting '.
2013-04-30 09:06:53, the id of the test server INFO 001 is 7
2013-04-30 09:06:53, 001 INFO Running query: UPDATE hostinfo SET state = 'Busy' where IPADDR = "192.168.147.100."
2013-04-30 09:06:53, 002 INFO Running query: UPDATE testinfo test_name SET = "Adobe", Protocol = "RDP", username is "local_1", password = "passw0rd", test_state = "Running", start_time is "2013-04-30 09:06:53" where test_id = 7
2013-04-30 09:06:53, 004 config of workload INFO pushing to the virtual machine: 192.168.147.100
2013-04-30 09:06:53, 004 INFO running commands remotely with args: server: 192.168.147.100, test_name: Adobe
2013-04-30 09:06:53, INFO 004 adding the callback function to get the object root remote to ipaddr: 192.168.147.100
Error unhandled offline:
Unhandled error
Traceback (most recent call changed):
Failed: twisted.internet.error.TCPTimedOutError: TCP connection has expired: 110: connection timed out.
Error unhandled offline:
Unhandled error
Traceback (most recent call changed):
Failed: twisted.internet.error.TCPTimedOutError: TCP connection has expired: 110: connection timed out.
2013-04-30 09:23:58, register a new server 305 information: 192.168.147.100Any idea what could have gone wrong? Thank you in advance for your help!
There are only these three things, you can see again:
-The agent see Planner service is running in the desktop
-All the firewall, including the domain firewall is disabled
-The harness is able to ping the virtual desktop computer
Can you check and also download the viewplanner.log?
-
virtual machines are named as unknown (not valid)
Hallo,
I run ESX 4.1 and vCenter 4.1 on Win2003.
I need help after that I run a security script on my esx servers, after you restart the ESX ESX Server does not detect all the VMS correctly.
Some not detected machines and this is bad it detects the vcenter4.1 and its only sql server as unknown (not valid), so for the moment I can only connect each ESX Server it self but not for the vCenter :-(.
See the screenshots.
Some of the virtual machines on storage are very good and I could 'add to the inventory', but this damaged machines see you in the screenshot number two do not have the opportunity to "add to the inventory" and also, you see the icon before the .vmx is not visible.
It looks like that some how the vmx. the files are corrupted?
What can I do? There is some repair auto or auto currupted file cleanup tasks?
Best regards
Dirk
Hello Dirk,.
You can try the following:
-> Poweroff invalid virtual machines
-> remove inventory
--> Ensure that nothing of the invalid virtual computer processes are running on the host computer (ps auxwww | grep-i vmx and vm-support - x)
->, restart the services on the host management
-> add them to the inventory
If this does not work, you can unsubscribe the VMs and create a new VM containers, but instead to create a new virtual disk, you will point to the existing VMDK.
Let us know how it goes...
-
PowerCLi script to check if 2 virtual machines are on the same host
Hello
I'm nubby on PowerCLI and I would like to help in the construction of a script.
The script should check if two virtual machines (named test1 and test2) are running on the same host in a vCenter and send a notification (email), if they do.
Something similar with affinity / anti-affinite DRS rules (but not through the DRS enabled on vCenter). My focus is on the affinity. In case this happens, I need vMotion one of them on an another ESXi host(manually or automated).
What I have done until now is the following:
Get - VM | Select Name, @{N = 'Cluster'; {E = {Get-Cluster - VM $_}}, '
@{N = "ESX host"; {E = {Get-VMHost - VM $_}}, '
@{N = 'vCenter'; E={$_. "(ExtensionData.CLient.ServiceUrl.Split('/') [2]}}, '"
@{N = "Datastore"; {E = {Get-Datastore - VM $_}} | `
Export-Csv - NoTypeInformation C:\Scripts\file.csv
That becomes all the VMS and export a CSV file information:
Name Cluster ESX host vCenter Data store test2 cluster_test ESXi_test1 vCenter_test1:443 datastore1 Test1 cluster_test ESXi_test1 vCenter_test1:443 datastore1 For1.local cluster_test ESXi_test1 vCenter_test1:443 datastore1 VM1.local cluster_test2 ESXi_test2 vCenter_test1:443 datastore1 VM2.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 VM31.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 Thank you.
Try like this.
$tgtVM = "test1", "test2".
Get-VM-name $tgtVM | Group-object - property VMHost | %{
if($_.) County - gt 1) {}
$vm = $_. Group | Get-Random
$esx = $vm. VMHost
$tgtEsx = get-Cluster - $vm VM | Get-VMHost | where {$_.} Name - not $esx. Name} | Get-Random
Move-VM - $vm - Destination $tgtEsx VM - confirm: $false
}
}
Maybe you are looking for
-
How can I get Office 365 to sinc with my ipad and Iphone?
How can I get Office 365 to sinc with my ipad and Iphone?
-
Backlit keyboard of yoga 11 700?
Hello Yoga 11 700 has a backlit keyboard? Brochures and website to say yes, but the sales staff say no and he seems not to have. I'm in Singapore, btw. Thank you David.
-
Is there a way to increase the speed of scrolling (with the middle button) trackpoint? It's too slow!
-
Impossible to completely uninstall powerbar.exe
How can I get rid of powerbar.exe? I uninstalled it, and it's still errors
-
I have Windows Vista and I need XP Service Pack 3 to run a program, what should I do?
I am currently running Windows Vista on my computer. I'm trying to run a program that requires me to run Windows XP (Service Pack 3), but my computer is only show the ability to run Service Pack 2. What can I do?