Comprehensive data protection for all workloads
Post Reply
gijs
Lurker
Posts: 1
Liked: never
Joined: Mar 02, 2015 2:26 pm
Full Name: Gijs Lemahieu
Contact:

pre-job script terminated with exit code 2

Post by gijs » Mar 02, 2015 2:37 pm

Hi,

Recently we installed Veeam Backup & Replication version 8.0.0.917.

This is working very fine, except one problem with Lotus Notes servers. Because files are locked, we configured a pre-job script to stop the Lotus Notes services and a post-job script to start the Lotus Notes services once the bacup is completed.

The script itself is very simple (net stop "Lotus Domino Server (DNotesdata)"). When I execute this as a batch file, it works fine but in the Veeam console I get this warning:
Pre-job script terminated with exit code 2
Post-job script terminated with exit code 2

I googled this error, but I don't find the explanation of this warning. Some one knows what this means or - even better - how to solve it?

Thanks!

veremin
Product Manager
Posts: 17428
Liked: 1552 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: pre-job script terminated with exit code 2

Post by veremin » Mar 02, 2015 4:16 pm

In fact, VB&R just outputs exit code received from an executed command (net stop, in your case). I don't recall the particular meaning of exit code 2 in case of net stop, so it might be

- Access denied, meaning that service account under which scripts get triggered doesn't have sufficient permissions
- Already Stopped, meaning that the code tries to stop already stopped service

Might be worth checking both.

Thanks.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], cmaier, Google [Bot], icetrain, PetrM, soncscy and 46 guests