[Dirvish] pre-client failed (32512) error.

H Oli olih10200 at gmail.com
Mon Oct 30 20:50:28 UTC 2017


Hi Scott,

... once upon a time ... I used this feature (pre-client) to make a
mysqldump before syncing. If I remember well, there was no problem with it.
I'm almost sure, Your path isn't correct.

I'm "dirvishing", so goin' to find a solution for Your problem.

--
Olivér


2017-10-27 19:32 GMT+02:00 Scott Walker <scott.walker at framestore.com>:

> In my default.conf I have:
>
> pre-client: /root/scripts/job_kam1_raid1.sh
>
> The script is as follows:
>
> [root at mtldirvish2.mtl kam1_raid1]$ cat /root/scripts/job_kam1_raid1.sh
> #!/bin/bash
>
> # Check if running
> # Replace the from= line with the path needed from /srv/dirvish.
>
> if pgrep -f "from=/srv/dirvish/servers/kam1/kam1_raid1" > /dev/null
> then
>    echo "rsync is already running"
>    exit 1
> else
>    exit 0
> fi
> [root at mtldirvish2.mtl kam1_raid1]$
>
>
> But everytime I run the dirvish --vault kam1_raid1 I get
>
> [root at mtldirvish2.mtl kam1_raid1]$ dirvish --vault kam1_raid1
> bash: /root/scripts/job_kam1_raid1.sh: No such file or directory
> kam1_raid1:default pre-client failed (32512)
>
>
> I'm really at a loss now :(
>
> --
>
> [image: Framestore]
>
> Scott Walker · Senior Systems Administrator
>
> London · New York · Los Angeles · Montréal
> T  +1 514 277 0004 ext. 40905
> 5455 Av. de Gaspé, Suite 900, Montréal QC H2T 3B3
> <https://www.google.co.uk/maps/place/5455+Av.+de+Gasp%C3%A9,+Suite+900,+Montr%C3%A9al+QC+H2T+3B3>
> Twitter <https://twitter.com/framestore> · Facebook
> <https://www.facebook.com/framestore> · framestore.com
> <http://www.framestore.com>
>
> _______________________________________________
> Dirvish mailing list
> Dirvish at dirvish.org
> http://www.dirvish.org/mailman/listinfo/dirvish
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dirvish.org/pipermail/dirvish/attachments/20171030/358f3503/attachment.htm>


More information about the Dirvish mailing list