-
- Enthusiast
- Posts: 32
- Liked: never
- Joined: Dec 09, 2014 6:41 am
- Full Name: Lukas Zimmer
- Contact:
Pre-freeze script Linux failed with error
Hey,
exist for the Linux pre-freeze and post-thaw script a description / instructions ?
we get an error message when veeam run the script:
"Timed out waiting for script to finish execution."
Here is the script:
#!/bin/bash
touch /tmp/prescript.dat
exit 0
The script works fine. But we get an error message During the backup.
exist for the Linux pre-freeze and post-thaw script a description / instructions ?
we get an error message when veeam run the script:
"Timed out waiting for script to finish execution."
Here is the script:
#!/bin/bash
touch /tmp/prescript.dat
exit 0
The script works fine. But we get an error message During the backup.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Pre-freeze script Linux failed with error
Hi Lukas,
Are these scripts triggered successfully when you do a snapshot via vSphere Client with quiescence enabled?
Thanks!
Are these scripts triggered successfully when you do a snapshot via vSphere Client with quiescence enabled?
Thanks!
-
- Enthusiast
- Posts: 32
- Liked: never
- Joined: Dec 09, 2014 6:41 am
- Full Name: Lukas Zimmer
- Contact:
Re: Pre-freeze script Linux failed with error
Good Morning,
we don´t use scripts over the vmwaretools. we use scripts from veeam B&R backup job "application-aware processing options" " Scripts" "Linux-scripts".
Theses scripts don´t start when i perform a snapshot over the vSphere Console.
The Scripts are located on the Veeam B&R Server.
regards
we don´t use scripts over the vmwaretools. we use scripts from veeam B&R backup job "application-aware processing options" " Scripts" "Linux-scripts".
Theses scripts don´t start when i perform a snapshot over the vSphere Console.
The Scripts are located on the Veeam B&R Server.
regards
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Pre-freeze script Linux failed with error
The default timeout value is 600 seconds. Can you try to increase it, using the following regkey, and see whether it makes any difference?
Thanks.
Code: Select all
MaxGuestScriptTimeoutSec
-
- Enthusiast
- Posts: 32
- Liked: never
- Joined: Dec 09, 2014 6:41 am
- Full Name: Lukas Zimmer
- Contact:
Re: Pre-freeze script Linux failed with error
I can´t find that regkey in the registry.
Our skript run´s 2 seconds. The Timeout can´t be the problem?!
The error message appears after 120 seconds.
Our skript run´s 2 seconds. The Timeout can´t be the problem?!
The error message appears after 120 seconds.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Pre-freeze script Linux failed with error
You have to create it the standard HKLM\SOFTWARE\VeeaM\Veeam Backup and Replication hive. Anyway, it seems that logs investigation is required, so, open a case with our support team and let them investigate it directly. Thanks.
-
- Novice
- Posts: 6
- Liked: 3 times
- Joined: Feb 21, 2013 2:20 pm
- Contact:
Re: Pre-freeze script Linux failed with error
You may want to check the line endings in the script and replace all "\r\n" with "\n", using the notepad++ advanced replacement mode.
-
- Enthusiast
- Posts: 32
- Liked: never
- Joined: Dec 09, 2014 6:41 am
- Full Name: Lukas Zimmer
- Contact:
Re: Pre-freeze script Linux failed with error
Hello,
I have checked the script with vi:
cd /tmp$
touch datei$
mkdir ordner$
It looks good
I have checked the script with vi:
cd /tmp$
touch datei$
mkdir ordner$
It looks good
-
- Enthusiast
- Posts: 97
- Liked: 6 times
- Joined: Feb 24, 2009 5:02 pm
- Contact:
Re: Pre-freeze script Linux failed with error
I recall having issues with freeze script on RHEL and remembered one particular problem was the exit code. I see you are using exit 0 for successful execution on exit. I found that I had use a non-zero exit code. I found my old post:
http://forums.veeam.com/veeam-backup-re ... eze#p36104
Maybe this will help.
http://forums.veeam.com/veeam-backup-re ... eze#p36104
Maybe this will help.
-
- Service Provider
- Posts: 327
- Liked: 23 times
- Joined: Oct 09, 2012 2:30 pm
- Full Name: Maso
- Contact:
Re: Pre-freeze script Linux failed with error
Hiv.Eremin wrote:The default timeout value is 600 seconds. Can you try to increase it, using the following regkey, and see whether it makes any difference?
Thanks.Code: Select all
MaxGuestScriptTimeoutSec
Should this be a DWORD?
\Masonit
-
- Product Manager
- Posts: 8191
- Liked: 1322 times
- Joined: Feb 08, 2013 3:08 pm
- Full Name: Mike Resseler
- Location: Belgium
- Contact:
Re: Pre-freeze script Linux failed with error
Hi Masonit,
Yes, a DWORD.
Yes, a DWORD.
Who is online
Users browsing this forum: Bing [Bot], restore-helper and 79 guests