Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot power on virtual machine on ESXi 5 host

Posted on 2012-03-29
19
Medium Priority
?
4,423 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 123
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 123
ID: 37783676
are all datastores present?
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 123
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 123
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 123
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 123
ID: 37783823
you may have to tail vmkernel.log, at point of power on
0
 
LVL 123
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 123
ID: 37783855
your data is safevin the vmdk, BUT if you do not have a copy, backup.
0
 
LVL 123

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 123
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 123
ID: 38648874
I believe the question has been answered. If the answer has been helpful please assign points.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

721 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