Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cannot power on virtual machine on ESXi 5 host

Posted on 2012-03-29
19
Medium Priority
?
4,612 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
  • 11
  • 7
19 Comments
 
LVL 124
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 124
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 124
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 124
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 124
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 124
ID: 37783823
you may have to tail vmkernel.log, at point of power on
0
 
LVL 124
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 124
ID: 37783855
your data is safevin the vmdk, BUT if you do not have a copy, backup.
0
 
LVL 124

Accepted Solution

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

Author Comment

by:Sekodata
ID: 37784169
Workaround worked, server up and running... Thanks for input Hanc!
0
 
LVL 124
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 124
ID: 38648874
I believe the question has been answered. If the answer has been helpful please assign points.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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…

972 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