Host-based backup of VMware vSphere VMs.
Post Reply
davegold
Enthusiast
Posts: 66
Liked: 2 times
Joined: Dec 02, 2010 4:58 pm
Full Name: Dave Gold
Contact:

error running pre-script-application aware script on linux

Post by davegold »

Hi,

Trying to configure a pre/post script on a Linux VM using the Application aware pre/post script options. We have things locked down pretty tightly, so sudo is pretty important.

Log shows and error running the script:
[10.02.2017 13:43:30] <18> Info Executing: sudo /tmp/8253751e-c9f0-4f6d-9f01-152feedbfc10_veeam-pre.sh;echo $?
[10.02.2017 13:43:30] <18> Info [ScriptInvoker] Exception thrown during script execution (SSH).
[10.02.2017 13:43:31] <18> Info Executing: sudo rm -f /tmp/8253751e-c9f0-4f6d-9f01-152feedbfc10_veeam-pre.sh
[10.02.2017 13:43:31] <18> Info [Ssh] Connection [host: '139.140.228.190', port: 22, user: 'p-veeamrecover-svc', elevation to root: 'yes', autoSudo: no, auth type: 'Password', host name: t-rhel7-a, IPs: [139.140.228.190].] is disposing.
[10.02.2017 13:43:31] <18> Error [ScriptInvoker] Failed to execute script in lin guest machine over SSH. Script path: D:\Veeamscripts\veeam-pre.sh.
[10.02.2017 13:43:31] <18> Error sudo: unable to execute /tmp/8253751e-c9f0-4f6d-9f01-152feedbfc10_veeam-pre.sh: No such file or directory

Questions:
1. Does Veeam set the permissions on the script?
2. Anyone have simple example scripts that definitely work?
3. Any other ideas on how to troubleshoot this?

We'll plan to reach out to support after trying this for a bit longer.

Dave
Andreas Neufert
VP, Product Management
Posts: 6742
Liked: 1407 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: error running pre-script-application aware script on lin

Post by Andreas Neufert »

Many customer prevent script execution within the /tmp maybe this is the case here?
Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests