Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] rsync / ssh error after Debian reinstall



I've just reinstalled Debian Etch, using Gnome for the first time after
a few years of KDE. I was able to get just about everything running as
it was right, but when I tried to rsync up to my web server, as follows:

chuck@example.com:~$ rsync -uvptl -e ssh /mnt/win_d/docs/www.acmuller.net/public_html/ddb/*.xml acmuller@example.com:public_html/ddb/

I received the below error:

    rsync: Failed to exec ssh: No such file or directory (2)
    rsync error: error in IPC code (code 14) at pipe.c(86) [sender=2.6.9]
    rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
    rsync error: error in IPC code (code 14) at io.c(1122) [sender=2.6.9]

I haven't changed anything in the .ssh files in my $HOME directory, but I
reset the permissions just in case, 

     chmod 711 $HOME/
     chmod 700 $HOME/.ssh/
     chmod 644 $HOME/.ssh/*
     chmod 600 $HOME/.ssh/id_dsa

and this had no effect. This rsync script does run on another machine
that has the same ssh key setup, so there is no problem on the web host
setup.

I then tried copying the .ssh folder in dsa keys from that other machine
to this one, and that didn't solve it either. The first local directory
in the rsync command is definitely there and accessible, as per:

    chuck@example.com:~$ cd  /mnt/win_d/docs/www.acmuller.net/public_html/ddb/
    chuck@example.com:/mnt/win_d/docs/www.acmuller.net/public_html/ddb$ 

I run strace (as I found instructed by googling), but the results are
not something that I can decipher:


dim5150:/home/chuck# strace rsync -uvptl -e ssh /mnt/win_d/docs/www.acmuller.net/public_html/ddb/*.xml acmuller@example.com:public_html/ddb/
execve("/usr/bin/rsync", ["rsync", "-uvptl", "-e", "ssh", "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., "/mnt/win_d/docs/www.acmuller.net"..., ...], [/* 30 vars */]) = 0
uname({sys="Linux", node="dim5150", ...}) = 0
brk(0)                                  = 0x809f000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eea000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49485, ...}) = 0
mmap2(NULL, 49485, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7edd000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libacl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\23"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=22156, ...}) = 0
mmap2(NULL, 20980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ed7000
mmap2(0xb7edc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7edc000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libpopt.so.0", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26444, ...}) = 0
mmap2(NULL, 29484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecf000
mmap2(0xb7ed6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7ed6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241580, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ece000
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d9d000
mmap2(0xb7ec4000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7ec4000
mmap2(0xb7ecb000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ecb000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libattr.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=12840, ...}) = 0
mmap2(NULL, 15796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d99000
mmap2(0xb7d9c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7d9c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d98000
mprotect(0xb7ec4000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d986c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7edd000, 49485)               = 0
rt_sigaction(SIGUSR1, {0x8057660, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {0x8057a00, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8057a50, [], SA_NOCLDSTOP}, NULL, 8) = 0
time(NULL)                              = 1166674192
geteuid32()                             = 0
umask(0)                                = 022
brk(0)                                  = 0x809f000
brk(0x80c0000)                          = 0x80c0000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1209120, ...}) = 0
mmap2(NULL, 1209120, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c70000
close(3)                                = 0
open("/etc/popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/root/.popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGINT, {0x804ab80, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x804ab80, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x804ab80, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR1 USR2 TERM CHLD], NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGXFSZ, {SIG_IGN}, NULL, 8) = 0
getcwd("/home/chuck", 4095)             = 12
socketpair(PF_FILE, SOCK_STREAM, 0, [3, 4]) = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [5, 6]) = 0
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d98708) = 10900
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(86) [sender=2.6.9]
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 14}], WNOHANG) = 10900
waitpid(-1, 0xbfb2e540, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
close(6)                                = 0
close(3)                                = 0
fcntl64(5, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(4, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
select(5, NULL, [4], [4], {60, 0})      = 1 (out [4], left {60, 0})
write(4, "\35\0\0\0", 4)                = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "rsync: writefd_unbuffered failed"..., 76rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)) = 76
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
waitpid(10900, 0xbfb2e668, WNOHANG)     = -1 ECHILD (No child processes)
getpid()                                = 10899
kill(10900, SIGUSR1)                    = -1 ESRCH (No such process)
write(2, "rsync error: error in IPC code ("..., 69rsync error: error in IPC code (code 14) at io.c(1122) [sender=2.6.9]) = 69
write(2, "\n", 1
)                       = 1
exit_group(14)                          = ?
Process 10899 detached


Does anyone have an idea as to what might be the problem?

Thanks,

Chuck



-------------------

Charles Muller  

Toyo Gakuen University
Faculty of Humanities  
1660 Hiregasaki, Nagareyama-shi
Chiba 270-0161 JAPAN
Mobile Phone: 090-9310-1787

Web Site: Resources for East Asian Language and Thought
http://www.acmuller.net

<acmuller[at]jj.em-net.ne.jp>   


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links