VMware Communities
jbraslins
Contributor
Contributor
Jump to solution

vmrun start exists with Error: The operation was canceled after upgrade to workstation 9

My backups scripts stopped working after I've upgraded my win7 x64 host to Workstation 9  from version 8.

My simple script looks like this:

vmrun.exe suspend myvm.vmx

.. copy to backup device ..

vmrun.exe start myvm.vmx nogui

This used to work flawlessly. But now start command returns:

Error: The operation was canceled

What's interesting that if i run start command again at a later time, it works fine.

Any ideas?

Thank you.

Reply
0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

gui.lastPoweredViewMode = fullscreen
gui.viewModeAtPowerOn = fullscreen

I wonder if this settings are good for a VM you start with nogui option ?

Do you really need 3d support ? - did you try with 3d support disabled ?


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

Reply
0 Kudos
6 Replies
jbraslins
Contributor
Contributor
Jump to solution

Noticed an interesting pattern.

It fails for win7 guests only. Ubuntu guest starts fine.

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

can you post the vmware.log of the affected VM ?


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
jbraslins
Contributor
Contributor
Jump to solution

Ah. Should have looked there myself. Log below.

Looks like something to do with graphics. Perhaps this happens because machine is "locked" during the backup process since it happens at night.

Just to reiterate, nothing has changed at all except Workstation version. No hardware changes, no backup schedule changes, etc.

I've also attached the successful start log that happens when host screen is unlocked and I start my VMs in the morning manually via same start command.

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

gui.lastPoweredViewMode = fullscreen
gui.viewModeAtPowerOn = fullscreen

I wonder if this settings are good for a VM you start with nogui option ?

Do you really need 3d support ? - did you try with 3d support disabled ?


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
jbraslins
Contributor
Contributor
Jump to solution

Hmmm. I thought nogui just meant dont fire up VMWare console GUI on the host and had nothing to do with actual guest UI/gfx.

I'll disbale two options you've suggested and see what happens.


Still, strange that I have to change things just cause of workstation software upgrade.

Thank you.

Reply
0 Kudos
jbraslins
Contributor
Contributor
Jump to solution

That did the trick. Disabling "3D Acceleration" for the VMs fixed it.

I guess you can't have 3d accel on if you going to suspend/resume via command line. Not sure why though, that sure makes it a little cumbersome to backup your VMs if 3d accel is desired.

Thank you for your help.

Reply
0 Kudos