Popular
Latest Articles
- How to Secure your Cisco Router
- Creating CLI Views on a Cisco Router
- Configuring TACACS+ on a Cisco Router
- How to enable SDM on your router
- Build a Samba Server on Redhat / CentOS
- How to set the Time / Date and Timezone in CentOS
- How to install SSH on Solaris 10 x86
- ESX4 - How do I turn on/off a Virtual Machine from the command line ?
ESXi - The attempted operation cannot be permited in the current state (Powered Off)
Tuesday, 07 April 2009 06:25
Issue
When trying to power on a machine you will recieve the error message,
The attempted operation cannot be permited in the current state (Powered Off)
Resolution
This issue is caused by your Virtual Machine still have a reference to something in its configuration file which is no longer available. This could be a removed ISO that is still mounted against its CD-ROM, a removed named serial pipe etc etc.
In order to resolve this issue you will need SSH access to your ESX box.
Below are the required steps involved,
- SSH to your device
- Find you configuration file for your Virtual Machine in question via the command find / -name *"vmx"
- edit this file using the vi command. #vi [path].vmx
- Within here you should find reference to a peripheral for your virtual machine that is causing the issue. You may have a reference to a ISO that is no longer in your datastore. Or a named piped that you have removed. For this hashed out the required line. Then save the file.
- Now try to start your Virtual Machine.
We have 31 guests online