The "unknown error during program execvp" means that bacula wasn't able to actually start ssh-tunnel.sh, or that the script wasn't able to launch ssh, or something like that. I'm not sure exactly why. It could be a permissions issue. Or maybe your script didn't start with #!/bin/bash so your Linux didn't know how to run this script.
I don't think your problem has anything to do with ports. Incidentally, I put a page in the Wiki that describes a different way of using SSH - I find my way quite a bit easier. Olivier Delestre wrote: > Hi, > > I want to use the script ssh-tunnel in the bacula source 2.4.4. > I follow the explication in the readme.txt but : > > 09-avr 14:58 serveur-dir JobId 46: BeforeJob: run command > "/usr/lib64/bacula/scripts/ssh-tunnel.sh start client_fqdn" > 09-avr 14:58 serveur-dir JobId 46: BeforeJob: Starting SSH-tunnel to > client_fqdn... > 09-avr 14:58 serveur-dir JobId 46: Error: Runscript: BeforeJob > returned non-zero status=255. ERR=Unknown error during program execvp > > In command line with "ssh-tunnel start client_fqdn" the tunnel is workink. > echo $? egal 0 > > In my script ssh-tunnel : > > USER=bacula > CLIENT=$2 > LOCAL=serveur_fqdn > SSH=/usr/bin/ssh > # Cle Prive - private key > PK=/usr/lib64/bacula/scripts/bacula_tunnel > etc.. > > and in the director : > > i have a second storage directive entry like explain in the how-to (i think). > > Do you have a explain ? a schema to explain this ( forwardind port ... )? > What can i put in the variable "LOCAL" ? a full qualified name or not ? > > I a beginner with bacula and in english ;-) sorry > > Thanks > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users