Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rync 2.6.2 doesn't work with nohup on AIX 5.3

56 views
Skip to first unread message

john

unread,
Sep 13, 2009, 8:49:21 AM9/13/09
to
I hope someone can help me out here. Whenever I exited from the
shell where I submitted rsync job, I got an error message:
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(225).
And it stops. I also tried:
nohup rsync -vaz --stats user@$REMOTE_HOST:/path/ /path
that doesn't work either.

Thanks in advance,

John

Uwe Auer

unread,
Sep 13, 2009, 9:31:14 AM9/13/09
to
john schrieb:
Hi,


`nohup' does not automatically put the command it runs in the
background; you must do that explicitly, by ending the command line
with an `&'.

=> Try: nohup rsync -vaz --stats user@$REMOTE_HOST:/path/ /path &

Another way that may help:

echo "rsync -vaz --stats user@$REMOTE_HOST:/path/ /path >${LOGFILE}
2>&1" | at now

Regards,
Uwe Auer

Ted Linnell

unread,
Sep 14, 2009, 8:59:37 AM9/14/09
to
Uwe Auer <u...@franke-auer.de> wrote:

I often use

at now
command I want to run
CTRL D


Ted.
==============================================================
| Ted Linnell <edli...@acslink.net.au> |
| |
| Nunawading, Victoria , Australia |
==============================================================

0 new messages