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.
What could be the problem? Any ideas?
Thank you
Marco