Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-16 Thread Tobias Brunner
Hi, >> Your ssh isn't exiting because a child process, in this case zimbra, >> remains. As some others have suggested, this is due to ssh waiting on both >> stdin and stdout of the child process to close. > or, more clear, for *any process* that has the pseudo tty allocated by ssh > opened to c

Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-12 Thread Holger Parplies
Hi, Stephen Joyce wrote on 11.09.2007 um 15:15:07 [Re: [BackupPC-users] Not ending DumpPostUserCmd]: > Your ssh isn't exiting because a child process, in this case zimbra, > remains. As some others have suggested, this is due to ssh waiting on both > stdin and stdout of the ch

Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-11 Thread Stephen Joyce
Your ssh isn't exiting because a child process, in this case zimbra, remains. As some others have suggested, this is due to ssh waiting on both stdin and stdout of the child process to close. For example, if you do the following, you'll experience a hang: pc1$ ssh pc2 pc2$ xterm & pc2$ log

Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-11 Thread mna.news
Le jeudi 6 septembre 2007, Tobias Brunner a écrit : evening, [...] > echo "Stopping time: $my_time" >> /opt/zimbra/backup/zm_backup-$my_date.log > su - zimbra -c "/opt/zimbra/bin/zmcontrol stop" | tee -a my guess is around the stdout and error redirections, i think they are not close properly by

Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-11 Thread Ambrose Li
Hi, On 11/09/2007, Tobias Brunner <[EMAIL PROTECTED]> wrote: [...] > > Starting stats...Done. > > Successfully started Zimbra at 01:25:22 > > > > That looks ok, except that the script does not end... > > Does anyone have an idea why that is? Maybe try to pass the -n option to ssh? Sometimes

Re: [BackupPC-users] Not ending DumpPostUserCmd

2007-09-11 Thread Tobias Brunner
Hi Does no one have an idea? Are more informations needed? I appreciate any help... Thanks! Regards, Tobias Tobias Brunner wrote: > Hi everybody > > On one server, I have DumpPostUserCmd configured to execute a script. This is > executed after the backup, but it doesn't end so the backup can

[BackupPC-users] Not ending DumpPostUserCmd

2007-09-06 Thread Tobias Brunner
Hi everybody On one server, I have DumpPostUserCmd configured to execute a script. This is executed after the backup, but it doesn't end so the backup can never finish. Detailed description: The DumpPreUserCmd ($sshPath -q -x -l root $host /usr/local/bin/zimbra_pre_back.sh) stops the mailserver