PostgeSQL - PreFreeze script error

Availability for the Always-On Enterprise

PostgeSQL - PreFreeze script error

Veeam Logoby mamosorre84 » Thu Jun 08, 2017 3:46 pm

Hi,

we are trying to configure application aware with custom pre-post script on a SUSE12 with PostgreSQL.

The job returns the error "Running pre-freeze script in the guest OS Error: Script finished execution with unexpected exit code: 126"

Veeam logs:
Code: Select all
[08.06.2017 17:18:31] <16> Error    [ScriptInvoker] Failed to execute script in lin guest machine over SSH. Script path: C:\Veeam-Scripts\pre-freeze-script.sh.
[08.06.2017 17:18:31] <16> Error    bash: /tmp/bc8f9983-bfa7-456e-95e6-9c424bab8098_pre-freeze-script.sh: /bin/bash^M: bad interpreter: No such file or directory
[08.06.2017 17:18:31] <16> Error     (System.Exception)
[08.06.2017 17:18:31] <16> Error       at Veeam.Backup.SSH.CSshCommandResult.GetAnswer(Boolean trimAnswer, String failText)
[08.06.2017 17:18:31] <16> Error       at Veeam.Backup.SSH.CSshScriptFile.Execute(TimeSpan timeout, Boolean getExitCode, String[] args)
[08.06.2017 17:18:31] <16> Error       at Veeam.Backup.Core.CSshScriptInvoker.ExecScript(String localPath, TimeSpan timeout)
[08.06.2017 17:18:31] <16> Error    [ScriptInvoker] Failed to execute script over SSH, failing over to VIX.

We have tried to use VMTools quiescence using the same scripts under /usr/sbin in the guest OS and the job has ended successfully.

What could be the problem? Any ideas?

Thank you

Marco
mamosorre84
Enthusiast
 
Posts: 40
Liked: 5 times
Joined: Mon Oct 24, 2016 3:56 pm
Location: Ancona - Italy
Full Name: Marco Sorrentino

Re: PostgeSQL - PreFreeze script error

Veeam Logoby mamosorre84 » Fri Jun 09, 2017 8:40 am

Solved copying the script from guest OS to the backup server with WinSCP
mamosorre84
Enthusiast
 
Posts: 40
Liked: 5 times
Joined: Mon Oct 24, 2016 3:56 pm
Location: Ancona - Italy
Full Name: Marco Sorrentino


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 19 guests