public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Neil Aggarwal <neil@propfinancing.com>
To: cygwin@cygwin.com
Subject: RE: rsync gives me error 12
Date: Sun, 27 Mar 2022 09:32:03 -0500	[thread overview]
Message-ID: <ea3e8855ab067a7684a0e1b4115540e9@mail.gmail.com> (raw)
In-Reply-To: <Yj/xMAXorjeOgsIE@xps13>

[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]

> Manually ssh to the server and try to run `rsync -h`.

I ran this command:
ssh -vvv root@marketing.propfinancing.com rsync -h

It seemed to work. It gave me the output from rsync-h

> You can also get verbose ssh information from rsync using

I ran this command:
rsync -e 'ssh -vvv' root@marketing.propfinancing.com:/var/www/svnDumps/*
"/cygdrive/c/Tmp"

It seems to have a problem at this point:
debug1: Sending command: rsync --server --sender -e.LsfxCIvu .
/var/www/svnDumps/*
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
debug3: read - ERROR from cb :87, io:0000027479707820
debug2: channel 0: read<=0 rfd 4 len 4294967295
debug2: channel 0: read failed

> You can also turn on verbose sshd logging

I set the LogLevel to DEBUG3 on the server.
When I tried the rsync command on my Windows machine, I get a bunch of
logs in
/var/log/secure.  I think the relevant part is attached.

It seems to say the channel is closed, but not why it is closing.

Thank you,
  Neil

--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!

[-- Attachment #2: secureLog.txt --]
[-- Type: text/plain, Size: 5342 bytes --]

Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_audit_run_command entering command rsync --server --sender -e.LsfxCIvu . /var/www/svnDumps/*
Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_request_send entering: type 114
Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_request_receive_expect entering: type 115
Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_request_receive entering
Mar 27 09:24:14 marketing sshd[3254]: debug3: mm_request_receive entering
Mar 27 09:24:14 marketing sshd[3254]: debug3: monitor_read: checking request 114
Mar 27 09:24:14 marketing sshd[3254]: debug3: mm_answer_audit_command entering
Mar 27 09:24:14 marketing sshd[3254]: debug2: session_new: allocate (allocated 0 max 10)
Mar 27 09:24:14 marketing sshd[3254]: debug3: session_unused: session id 0 unused
Mar 27 09:24:14 marketing sshd[3254]: debug1: session_new: session 0
Mar 27 09:24:14 marketing sshd[3254]: debug3: mm_request_send entering: type 115
Mar 27 09:24:14 marketing sshd[3257]: debug2: fd 5 setting TCP_NODELAY
Mar 27 09:24:14 marketing sshd[3257]: debug3: ssh_packet_set_tos: set IP_TOS 0x20
Mar 27 09:24:14 marketing sshd[3257]: debug2: fd 17 setting O_NONBLOCK
Mar 27 09:24:14 marketing sshd[3257]: debug2: fd 16 setting O_NONBLOCK
Mar 27 09:24:14 marketing sshd[3257]: debug2: fd 19 setting O_NONBLOCK
Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_forward_audit_messages: entering
Mar 27 09:24:14 marketing sshd[3258]: debug3: mm_request_send entering: type 124
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: SELINUX_ROLE_REQUESTED=
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: SELINUX_LEVEL_REQUESTED=
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: SELINUX_USE_CURRENT_RANGE=
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: XDG_SESSION_ID=24
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: XDG_RUNTIME_DIR=/run/user/0
Mar 27 09:24:14 marketing sshd[3258]: debug3: Copy environment: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
Mar 27 09:24:14 marketing sshd[3257]: debug3: send packet: type 99
Mar 27 09:24:14 marketing sshd[3254]: debug3: mm_request_receive entering
Mar 27 09:24:14 marketing sshd[3254]: debug3: monitor_read: checking request 124
Mar 27 09:24:14 marketing sshd[3257]: debug3: receive packet: type 96
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: rcvd eof
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: output open -> drain
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: obuf empty
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: chan_shutdown_write (i0 o1 sock -1 wfd 16 efd 19 [read])
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: output drain -> closed
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: read 160 from efd 19
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: rwin 2097148 elen 160 euse 1
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: sent ext data 160
Mar 27 09:24:14 marketing sshd[3257]: debug1: Received SIGCHLD.
Mar 27 09:24:14 marketing sshd[3257]: debug1: session_by_pid: pid 3258
Mar 27 09:24:14 marketing sshd[3257]: debug1: session_exit_message: session 0 channel 0 pid 3258
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: request exit-status confirm 0
Mar 27 09:24:14 marketing sshd[3257]: debug3: send packet: type 98
Mar 27 09:24:14 marketing sshd[3257]: debug1: session_exit_message: release channel 0
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: read<=0 rfd 17 len 0
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: read failed
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: chan_shutdown_read (i0 o3 sock -1 wfd 17 efd 19 [read])
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: input open -> drain
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: read 0 from efd 19
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: closing read-efd 19
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: ibuf empty
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: send eof
Mar 27 09:24:14 marketing sshd[3257]: debug3: send packet: type 96
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: input drain -> closed
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: send close
Mar 27 09:24:14 marketing sshd[3257]: debug3: send packet: type 97
Mar 27 09:24:14 marketing sshd[3257]: debug2: notify_done: reading
Mar 27 09:24:14 marketing sshd[3257]: debug3: channel 0: will not send data after close
Mar 27 09:24:14 marketing sshd[3257]: debug3: receive packet: type 97
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: rcvd close
Mar 27 09:24:14 marketing sshd[3257]: debug3: channel 0: will not send data after close
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: is dead
Mar 27 09:24:14 marketing sshd[3257]: debug2: channel 0: gc: notify user
Mar 27 09:24:14 marketing sshd[3257]: debug1: session_by_channel: session 0 channel 0
Mar 27 09:24:14 marketing sshd[3257]: debug1: session_close_by_channel: channel 0 child 0
Mar 27 09:24:14 marketing sshd[3257]: Close session: user root from 99.137.191.183 port 65303 id 0
Mar 27 09:24:14 marketing sshd[3257]: debug3: mm_audit_end_command entering command rsync --server --sender -e.LsfxCIvu . /var/www/svnDumps/*

  reply	other threads:[~2022-03-27 14:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24  5:22 Neil Aggarwal
2022-03-25  9:45 ` Adam Dinwoodie
2022-03-25 13:25   ` Neil Aggarwal
2022-03-25 13:37     ` Adam Dinwoodie
2022-03-25 13:41       ` Neil Aggarwal
2022-03-25 17:14       ` Neil Aggarwal
2022-03-28 13:27         ` Andrey Repin
2022-03-28 14:06           ` Neil Aggarwal
2022-03-28 14:31           ` Neil Aggarwal
2022-03-25 17:36       ` Neil Aggarwal
2022-03-25 22:41         ` Wayne Davison
2022-03-26  5:01           ` Neil Aggarwal
2022-03-26 17:18             ` Wayne Davison
2022-03-27  4:49               ` Neil Aggarwal
2022-03-27  5:08                 ` gs-cygwin.com
2022-03-27 14:32                   ` Neil Aggarwal [this message]
2022-03-26 11:48         ` Adam Dinwoodie
2022-03-26 15:52           ` Neil Aggarwal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea3e8855ab067a7684a0e1b4115540e9@mail.gmail.com \
    --to=neil@propfinancing.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).