Updates added below ...... and latest copy of error log (abbreviated to save
space .....)

Xfer PIDs are now 30009
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles =
0
debug2: resolving "192.168.1.6" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.1.6 [192.168.1.6] port 22.
debug1: Connection established.

>>>> passing requests back and forth <<<<<<<<<

debug1: Authenticating to 192.168.1.6:22 as 'root'

<<<< passing and requesting keys, etc >>>>>>>>>

debug1: Host '192.168.1.6' is known and matches the DSA host key.

<<<< more talking .... blah, blah, blah  >>>>>>>>

debug1: Authentication succeeded (publickey).
Authenticated to 192.168.1.6 ([192.168.1.6]:22).

debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending command: 192.168.1.6 /usr/sbin/rsync --server --sender
-slHogDtprcxe.iLsfxC   <<<<<<<<<<< ERROR LINE HERE >>>>>>>>
debug2: channel 0: request exec confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
debug2: channel 0: rcvd ext data 4
sh: debug2: channel 0: written 4 to efd 6
debug2: channel 0: rcvd ext data 22
192.168.1.6: not founddebug2: channel 0: written 22 to efd 6     <<<<<<<<<<<
OF COURSE .... 192.168.1.6 is an IP address, not a command!! >>>>>>>>>>>>>

Transferred: sent 3120, received 2512 bytes, in 0.0 seconds
Bytes per second: sent 292325.2, received 235359.2
debug1: Exit status 127
rsync_bpc: connection unexpectedly closed (0 bytes received so far)
[Receiver]
bpc_sysCall_cleanup: doneInit = 1
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
Parsing done: nFilesTotal = 0
rsync error: remote command not found (code 127) at io.c(226)
[Receiver=3.1.2.0]
rsync_bpc exited with fatal status 127 (32512) (rsync error: remote command
not found (code 127) at io.c(226) [Receiver=3.1.2.0])

-----Original Message-----
From: G.W. Haywood via BackupPC-users
[mailto:backuppc-users@lists.sourceforge.net] 
Sent: June 9, 2019 9:06 AM
To: backuppc-users@lists.sourceforge.net
Cc: G.W. Haywood <bac...@jubileegroup.co.uk>
Subject: Re: [BackupPC-users] BACKUPPC V4 - rsync-bpc error connecting to
client

Hi Ged,

On Sun, 9 Jun 2019, David Wynn wrote:

Sorry, I don't genrally see attachments.  

>>>> No problem .. the pic just reiterated the error from ssh processing
showing the IP address being send as part of the command and then of course
the error saying not found ..... and that the /usr/sbin/rsync was being sent
this time .  I included the same info above .....
<<<<<<<<

Then I extracted the two archives into a scratch directory and did a
recursive diff between the two trees.  It left me rather confused but there
are mentions of paths in there that you might find interesting.

>>>> Your steps in creating the diff between the two would be a little too
much for this old man to follow and try to  recreate.  I'll take your word
that there are probably some differences.   Based on what I see in the two
directories I mentioned earlier (BackupPC vs backuppc) I don't think there
would be any cause for problems as they either contain old config files or
other stuff -- but no 'code'.  
<<<<<<<


Well, back to debugging.  How comfortable are you with coding in Perl?
Places you might look in the 4.3.0 directory tree for things relevant to the
rsync commands are

>>>>  I'd say that I would be OK with trying to put in some print statements
if I could find the appropriate code to test ... but so far I just don't
think I've found the right module/subroutine that would be the one. I've
looked in all your suggested places and nothing jumps out as the 'aha ..
let's test this' location.  I can find the spot in RSYNC.PM (  LN450
print("This is the rsync child about to exec $conf->{RsyncBackupPCPath}\n");
$bpc->cmdExecOrEval($rsyncCmd);  ) that appears in the log just before all
the SSH DEBUG messages start appearing, but just can't follow who/where  the
command gets created that is sent by SSH once the authentication has
completed.   
<<<<<<

One other thing that springs to mind is your version of rsync_bpc.
tornado:# >>> ls -l `which rsync_bpc`
-rwxr-xr-x 1 root staff 1982456 Aug 28  2018 /usr/local/bin/rsync_bpc

>>>> It should be good ... but this is what I get ....
[root@ubuntu2 ~]# ls -l `which rsync_bpc`
-rwxr-xr-x 1 root root 2338784 May 29 16:49 /usr/local/bin/rsync_bpc

Where May 29 is the day I would have installed so that would have been the
'make' date.  It appears to be a little larger so probably updated code? 
 <<<<<<<

I went through the same soul-searching when I moved from V3 to V4.  

>>>>> Will keep plugging away on the RSYNC issue for a while and was also
thinking of trying an RSYNCD to see if that would work to the NETSTORE
device. It's working with the PC's so hopefully the NETSTORE will too.  Will
keep you posted on results.   
<<<<<<

'The developers' is more or less one Craig Barratt.  He does read these
messages, and he does respond, but his effort seems to be pretty thinly
spread and as you can imagine being just one person with the popularity of
BackupPC he can't always respond immediately.

>>>>> SORRY .. didn't realize that this was a one-man show.  And KUDOS to
him for giving us such a great tool.  I'm sure there are always things that
he has to work on that are higher priority and hopefully the user community
(such as yourself) can provide us neophytes with the answers and support we
need.
<<<<<

Again .. thanks for the assistance and guidance ... much appreciated ...

Dave W


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to