Hello
I´m new at Bacula
I get this message when I use "RunBeforeJob" in bacula.
I try to steup ssh-tunnel using ssh-tunnel.sh to a remote client
15-Mar 11:47 europa-dir: RunBefore: Starting SSH-tunnel to xxx.xxx.xxx.xxx
15-Mar 11:47 europa-dir: Client1.2006-03-15_11.47.26 Fatal error: RunBeforeJo
On Sun, 10 Jul 2005, Jonas Björklund wrote:
> Your script does work, I cant understand why. =)
> I will check this more later.
If I add ">/dev/null 2>/dev/null" to the ssh command I get it to work...
On Sun, 10 Jul 2005, Ludovic Strappazon wrote:
> Maybe, you need to use a script which explicitly returns a status 0 ?
I have a script that does that. But wont work. =(
Your script does work, I cant understand why. =)
I will check this more later.
Thanks!!
--
Maybe, you need to use a script which explicitly returns a status 0 ?
If it can help, this is the scripts I use :
RunBefore :
#!/bin/bash
if test $# -lt 2 ; then
echo "usage: ouvreTunnel.ssh "
exit 1
fi
if [ -d /tmp/Tunnels/${1}/${2} ]
then
echo "Erreur : tunnel fantome $1 $2" >> /var/log
Hello,
On Sat, 9 Jul 2005, Igor Kanjuka wrote:
> guess the -n option will help you.
Nope, the problem exist. =(
ssh forks into background. And it seems that Bacula is waiting for the
fork to exit.
---
This SF.Net email is sponsored by the '
Hi,
guess the -n option will help you.
Thanks
Jonas Björklund wrote:
Hello,
I have created a SSH tunnel to one of my client. And it works fine
with the following command:
ssh -fN -l root -L 19102:localhost:9102 -R 9103:localhost:9103 myclient
But now I would like to run it from the "RunB
Hello,
On Fri, 8 Jul 2005, Ludovic Strappazon wrote:
> I think you need the -g option.
-g Allows remote hosts to connect to local forwarded ports.
No, the tunnel works. The -g option didn't help. =(
---
This SF.Net email is sponso
Hello Jonas,
I think you need the -g option.
Ludovic Strappazon.
Jonas Björklund a écrit :
Hello,
I have created a SSH tunnel to one of my client. And it works fine
with the following command:
ssh -fN -l root -L 19102:localhost:9102 -R 9103:localhost:9103 myclient
But now I would like to
Hello,
I have created a SSH tunnel to one of my client. And it works fine with
the following command:
ssh -fN -l root -L 19102:localhost:9102 -R 9103:localhost:9103 myclient
But now I would like to run it from the "RunBeforeJob" command.
Bacula starts the tunnel. But it seems that Bacula just