Solved

Cannot power on virtual machine on ESXi 5 host

Posted on 2012-03-29
19
4,214 Views
Last Modified: 2012-12-02
Hi, my ESXi server lost power, and I can't start a virtual machine. The error is cannot create swap file, file not found.

Usually it is because the swap file is locked by a rougue process, but the file isn't there...

It's urgent....

Thanks!
0
Comment
Question by:Sekodata
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 7
19 Comments
 
LVL 121
ID: 37783658
A swap file is created when a VM is powered ON.

do you have a swap file already in the datastore
0
 

Author Comment

by:Sekodata
ID: 37783670
No, that's the problem. The virtual machine is off, there is no swap file, and the error is that it cannot be created. There's 650GB free on the disk.
0
 
LVL 121
ID: 37783676
are all datastores present?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 121
ID: 37783679
check the vmx file, for the correct location of the swap file.
0
 

Author Comment

by:Sekodata
ID: 37783713
It's the correct path
0
 
LVL 121
ID: 37783742
can you upload the latest vmware log file from the virtual machine folder
0
 

Author Comment

by:Sekodata
ID: 37783795
Something tells me that there's something here...:

log FIFO capture | Msg_Reset:
log FIFO capture | [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
log FIFO capture | ----------------------------------------
log FIFO capture | PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
log FIFO capture | Msg_Reset:
log FIFO capture | [msg.dictionary.load.openFailed] Cannot open file "//.vmware/config": No such file or directory.
log FIFO capture | ----------------------------------------
log FIFO capture | PREF Optional preferences file not found at //.vmware/config. Using default values.
log FIFO capture | Msg_Reset:
log FIFO capture | [msg.dictionary.load.openFailed] Cannot open file "//.vmware/preferences": No such file or directory.
log FIFO capture | ----------------------------------------
log FIFO capture | PREF Failed to load user preferences.
log FIFO capture | Msg_Reset:
log FIFO capture | [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
log FIFO capture | ----------------------------------------
log FIFO capture | ConfigDB: Failed to load /usr/lib/vmware/config
log FIFO capture | Msg_Reset:
log FIFO capture | [msg.dictionary.load.openFailed] Cannot open file "//.vmware/config": No such file or directory.
log FIFO capture | ----------------------------------------
log FIFO capture | ConfigDB: Failed to load ~/.vmware/config
log FIFO capture | Using system libcrypto, version 90811F
0
 

Author Comment

by:Sekodata
ID: 37783801
Other virtual machines on the same host works fine
0
 
LVL 121
ID: 37783815
if this is URGENT, you could Create a new VM, Custom, and make the config, identical, and Add an Exisiting disk browse to existing disk.
0
 
LVL 121
ID: 37783823
you may have to tail vmkernel.log, at point of power on
0
 
LVL 121
ID: 37783824
its always possible we have corrupt virtual disks
0
 

Author Comment

by:Sekodata
ID: 37783831
Good call, will start to create a new VM. There's no data that will be lost in the process?
0
 
LVL 121
ID: 37783855
your data is safevin the vmdk, BUT if you do not have a copy, backup.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37783870
0
 

Author Comment

by:Sekodata
ID: 37784169
Workaround worked, server up and running... Thanks for input Hanc!
0
 
LVL 121
ID: 37784186
something odd with vmx file
0
 

Author Comment

by:Sekodata
ID: 38648873
I've requested that this question be deleted for the following reason:

ok
0
 
LVL 121
ID: 38648874
I believe the question has been answered. If the answer has been helpful please assign points.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question