Comprehensive data protection for all workloads
Post Reply
cicero
Enthusiast
Posts: 39
Liked: never
Joined: Mar 18, 2009 9:48 am
Full Name: David Winkler
Contact:

post-thaw-script failed with exit code 2

Post by cicero »

Hi,

pre-freeze-script runs fine on Windows 2008 R2 64 bit
shutting down Lotus Domino 8.5.2.

but post-thaw fails with error code 2.

can execute the script manually without problems!

Any suggestions?

Thanks, Cicero

Code: Select all

Actual VM overhead: 397316096 bytes
RefreshVms updated overhead for 2 VMs
Script c:\windows\pre-freeze-script.bat ran successfully.
Dummy foundry callback #497

About to engage SYNC driver, freeze Timeout 15 sec.

Dummy foundry callback #498

Sync driver not installed or not supported in guest.
Starting to snapshot VM.
Dummy foundry callback #499

Snapshot guest reported no errors.
Disengaging SYNC driver.
No Upgrade required
Sync driver not installed or not supported in guest.
Dummy foundry callback #500

Logging into guest.
About to run script: c:\windows\post-thaw-script.bat all
Dummy foundry callback #501

Script c:\windows\post-thaw-script.bat failed with exit code 2
Dummy foundry callback #502
file: C:\Windows\post-thaw-script.bat

Code: Select all

@echo off
if %1 == freeze goto freeze
if %1 == thaw goto thaw
if %1 == freezeFail goto freezeFail

:freeze
Net Stop "Lotus Domino Server (Enotesdata)"
exit
:thaw
net start "Lotus Domino Server (Enotesdata)"
exit
:freezeFail
net start "Lotus Domino Server (Enotesdata)"
exit
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: post-thaw-script failed with exit code 2

Post by Vitaliy S. »

Hi David,

Can you please tell me if you are able to trigger this script when you create VM snapshot with quiescence enabled via vSphere Client?

Thanks.
cicero
Enthusiast
Posts: 39
Liked: never
Joined: Mar 18, 2009 9:48 am
Full Name: David Winkler
Contact:

Re: post-thaw-script failed with exit code 2

Post by cicero »

no, same thing ... and can't imaging why. Any Idea what error code 2 means?
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: post-thaw-script failed with exit code 2

Post by Vitaliy S. »

Don't know, but what if you try another post-thaw script which will create just a text file to see if this issue confirms or not? Just an idea...
cicero
Enthusiast
Posts: 39
Liked: never
Joined: Mar 18, 2009 9:48 am
Full Name: David Winkler
Contact:

Re: post-thaw-script failed with exit code 2

Post by cicero »

jap did this:

it seems vmware just starts pre-freeze and post-thawn script without arguments (freeze, thaw or Freezefail).
so now i just put
net stop server -> pre-freeze-script.bat
net start server -> post-thaw-script.bat

and it works :)
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: post-thaw-script failed with exit code 2

Post by Vitaliy S. »

Good to know, thank you for the update!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot], tyler.jurgens and 295 guests