Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-17 Thread Akibu Flash
@Craig Barratt<mailto:cbarr...@users.sourceforge.net> that was indeed the 
problem.  I was able to get my ssh to use password-less login and sorted out 
the list of known_hosts issue and that seemed to do the trick.

From: Akibu Flash [mailto:akibufl...@outlook.com]
Sent: Sunday, June 11, 2017 10:51 PM
To: Craig Barratt <cbarr...@users.sourceforge.net>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Understood.  Thanks.  Will let you know how I fare.  @Craig 
Barratt<mailto:cbarr...@users.sourceforge.net>

From: cra...@gmail.com<mailto:cra...@gmail.com> [mailto:cra...@gmail.com] On 
Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 10:23 PM
To: Akibu Flash <akibufl...@outlook.com<mailto:akibufl...@outlook.com>>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Failed to add the host to the list of known hosts 
(/home/backuppc/.ssh/known_hosts).

In addition to password-less login, this error is also a problem.  It probably 
means your permissions on ~backuppc/.ssh/known_hosts are wrong.  Without the 
client being in known_hosts, ssh will prompt every time to be sure you want to 
proceed.

So there are two prompts (ok to proceed & password) you need to get rid of.

Craig

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
Understood.  Thanks.  Will let you know how I fare.  @Craig 
Barratt<mailto:cbarr...@users.sourceforge.net>

From: cra...@gmail.com [mailto:cra...@gmail.com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 10:23 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Failed to add the host to the list of known hosts 
(/home/backuppc/.ssh/known_hosts).

In addition to password-less login, this error is also a problem.  It probably 
means your permissions on ~backuppc/.ssh/known_hosts are wrong.  Without the 
client being in known_hosts, ssh will prompt every time to be sure you want to 
proceed.

So there are two prompts (ok to proceed & password) you need to get rid of.

Craig

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Craig Barratt via BackupPC-users
>
> Failed to add the host to the list of known hosts
> (/home/backuppc/.ssh/known_hosts).
>

In addition to password-less login, this error is also a problem.  It
probably means your permissions on ~backuppc/.ssh/known_hosts are wrong.
Without the client being in known_hosts, ssh will prompt every time to be
sure you want to proceed.

So there are two prompts (ok to proceed & password) you need to get rid of.

Craig
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>.  Looks like it is 
a little bit of both.  When I turned the firewall completely off and ran your 
command, I got the below.  However, I was never able to get in as it is asking 
for a root password for Windows and when I enter my password, it rejects it.  
Strange, as when I run this command as backuppc “ssh akibu@akibu-desktop” and 
enter my Windows password, it allows me into the Windows computer.



$ /usr/bin/ssh -v -x -l root akibu-desktop /usr/bin/rsync --server --sender 
-svvvlHogDtprce.iLsf < /dev/null
OpenSSH_7.4p1 Debian-10, OpenSSL 1.0.2k  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to akibu-desktop [10.10.10.10] port 22.
debug1: Connection established.
debug1: SELinux support disabled
Could not create directory '/home/backuppc/.ssh'.
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/backuppc/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.5
debug1: match: OpenSSH_7.5 pat OpenSSH* compat 0x0400
debug1: Authenticating to akibu-desktop:22 as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1...@openssh.com MAC: 
 compression: none
debug1: kex: client->server cipher: chacha20-poly1...@openssh.com MAC: 
 compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 
SHA256:BJndmmiWWaTD7+/ZIckopnp79Q/KlyFl6GVsqIE5mh4
The authenticity of host 'akibu-desktop (10.10.10.10)' can't be established.
ECDSA key fingerprint is SHA256:BJndmmiWWaTD7+/ZIckopnp79Q/KlyFl6GVsqIE5mh4.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts 
(/home/backuppc/.ssh/known_hosts).
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: 
server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/backuppc/.ssh/id_rsa
debug1: Trying private key: /home/backuppc/.ssh/id_dsa
debug1: Trying private key: /home/backuppc/.ssh/id_ecdsa
debug1: Trying private key: /home/backuppc/.ssh/id_ed25519
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
debug1: Next authentication method: password
root@akibu-desktop's password:
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
Permission denied, please try again.
root@akibu-desktop's password:
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
Permission denied, please try again.
root@akibu-desktop's password:
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).
$

From: cra...@gmail.com [mailto:cra...@gmail.com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 9:25 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

debug1: connect to address 10.10.10.10 port 22: Connection timed out
ssh: connect to host akibu-desktop port 22: Connection timed out

Ok, this confirms that ssh to your client does not work.  You need to figure 
out whether sshd is running on your client, or whether 

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Craig Barratt via BackupPC-users
>
> debug1: connect to address 10.10.10.10 port 22: Connection timed out
> ssh: connect to host akibu-desktop port 22: Connection timed out


Ok, this confirms that ssh to your client does not work.  You need to
figure out whether sshd is running on your client, or whether the windoze
firewall is blocking port 22 etc.

Craig
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
@Craig Barratt<mailto:cbarr...@users.sourceforge.net>.  I get the below output 
when running this command  /usr/bin/ssh -v -x -l root akibu-desktop 
/usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf < /dev/null

OpenSSH_7.4p1 Debian-10, OpenSSL 1.0.2k  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to akibu-desktop [10.10.10.10] port 22.
debug1: connect to address 10.10.10.10 port 22: Connection timed out
ssh: connect to host akibu-desktop port 22: Connection timed out

From: cra...@gmail.com [mailto:cra...@gmail.com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 8:36 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Akibu,

What output do you get when you run this command (replace -q with -v, and 
redirect stdin from /dev/null):

/usr/bin/ssh -v -x -l root akibu-desktop /usr/bin/rsync --server --sender 
-svvvlHogDtprce.iLsf < /dev/null

Craig

On Sun, Jun 11, 2017 at 5:24 PM, Akibu Flash 
<akibufl...@outlook.com<mailto:akibufl...@outlook.com>> wrote:
@Craig Barratt<mailto:cbarr...@users.sourceforge.net>  Forgot to answer your 
second question.  Yes, the directory /mnt/j/Favorites does exist on 
akibu-desktop.  Thanks.

From: cra...@gmail.com<mailto:cra...@gmail.com> 
[mailto:cra...@gmail.com<mailto:cra...@gmail.com>] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 6:43 PM
To: Akibu Flash <akibufl...@outlook.com<mailto:akibufl...@outlook.com>>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Akibu,

It looks like the connection terminates immediately.  We need to figure out why.

If you run the exact ssh command as the backuppc user, do you get an error or 
any output?

su backuppcUser
/usr/bin/ssh -q -x -l root akibu-desktop /usr/bin/rsync --server --sender 
-svvvlHogDtprce.iLsf

If you don't see any output, hit ^D and you should get an error like this:

rsync: on remote machine: (null): unknown option
rsync error: syntax or usage error (code 1) at main.c(1634) [server=3.1.1]
[server] _exit_cleanup(code=1, file=main.c, line=1634): about to call exit(1)

Next, are you sure that the directory /mnt/j/Favorites on akibu-desktop exists?

Craig


On Sun, Jun 11, 2017 at 3:17 PM, Akibu Flash 
<akibufl...@outlook.com<mailto:akibufl...@outlook.com>> wrote:

Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>  The XferLOG 
beginning of the XferLOG is below.  Please advise if you see anything therein.  
Thanks again.



(Thestrace is showing the dynamic linking during startup of ssh, which isn't 
particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more detailed 
information (eg, exact rsync / ssh args).  Can you send that please?  You'll 
find it in the per-PC backup directory, eg: 
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to uncompress it.

Craig)


XferLOG file /mnt/backup_disks/backuppc/pc/akibu-desktop/XferLOG.0.z created 
2017-06-11 18:00:44
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/backup_disks/backuppc 
--bpc-host-name akibu-desktop --bpc-share-name /mnt/j/Favorites --bpc-bkup-num 
0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 
--bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 9 -e /usr/bin/ssh\ -q\ -x\ 
-l\ root -vvv --rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 akibu-desktop:/mnt/j/Favorites/ /
full backup started for directory /mnt/j/Favorites
Xfer PIDs are now 3643
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_path_create(/mnt/backup_disks/backuppc/pc/akibu-desktop/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
opening connection using: /usr/bin/ssh -q -x -l root akibu-desktop 
/usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf
protected args: --timeout=72000 --numeric-ids . /mnt/j/Favorites/
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 fi

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Craig Barratt via BackupPC-users
Akibu,

What output do you get when you run this command (replace -q with -v, and
redirect stdin from /dev/null):

/usr/bin/ssh -v -x -l root akibu-desktop /usr/bin/rsync --server --sender
-svvvlHogDtprce.iLsf < /dev/null

Craig

On Sun, Jun 11, 2017 at 5:24 PM, Akibu Flash <akibufl...@outlook.com> wrote:

> @Craig Barratt <cbarr...@users.sourceforge.net>  Forgot to answer your
> second question.  Yes, the directory /mnt/j/Favorites does exist on
> akibu-desktop.  Thanks.
>
>
>
> *From:* cra...@gmail.com [mailto:cra...@gmail.com] *On Behalf Of *Craig
> Barratt
> *Sent:* Sunday, June 11, 2017 6:43 PM
> *To:* Akibu Flash <akibufl...@outlook.com>
> *Cc:* General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> *Subject:* Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC
>
>
>
> Akibu,
>
>
>
> It looks like the connection terminates immediately.  We need to figure
> out why.
>
>
>
> If you run the exact ssh command as the backuppc user, do you get an error
> or any output?
>
>
>
> su backuppcUser
>
> /usr/bin/ssh -q -x -l root akibu-desktop /usr/bin/rsync --server --sender
> -svvvlHogDtprce.iLsf
>
>
>
> If you don't see any output, hit ^D and you should get an error like this:
>
>
>
> rsync: on remote machine: (null): unknown option
>
> rsync error: syntax or usage error (code 1) at main.c(1634) [server=3.1.1]
>
> [server] _exit_cleanup(code=1, file=main.c, line=1634): about to call
> exit(1)
>
>
>
> Next, are you sure that the directory /mnt/j/Favorites on akibu-desktop
> exists?
>
> Craig
>
>
>
>
>
> On Sun, Jun 11, 2017 at 3:17 PM, Akibu Flash <akibufl...@outlook.com>
> wrote:
>
> Thanks @Craig Barratt <cbarr...@users.sourceforge.net>  The XferLOG
> beginning of the XferLOG is below.  Please advise if you see anything
> therein.  Thanks again.
>
>
>
> (Thestrace is showing the dynamic linking during startup of ssh, which
> isn't particularly relevant.  It's not showing the files being backed up.
>
>
>
> What we are missing is the log output from XferLOG.  That has the more
> detailed information (eg, exact rsync / ssh args).  Can you send that
> please?  You'll find it in the per-PC backup directory, eg:
> /data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to
> uncompress it.
>
> Craig)
>
>
>
> XferLOG file /mnt/backup_disks/backuppc/pc/akibu-desktop/XferLOG.0.z
> created 2017-06-11 18:00:44
> Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
> newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle =
> 0, noFillCnt = )
> Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/backup_disks/backuppc
> --bpc-host-name akibu-desktop --bpc-share-name /mnt/j/Favorites
> --bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1
> --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level
> 9 -e /usr/bin/ssh\ -q\ -x\ -l\ root -vvv --rsync-path=/usr/bin/rsync
> --super --recursive --protect-args --numeric-ids --perms --owner --group -D
> --times --links --hard-links --delete --partial --log-format=log:\ %o\ %i\
> %B\ %8U,%8G\ %9l\ %f%L --stats --checksum --timeout=72000
> akibu-desktop:/mnt/j/Favorites/ /
> full backup started for directory /mnt/j/Favorites
> Xfer PIDs are now 3643
> This is the rsync child about to exec /usr/local/bin/rsync_bpc
> bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
> bpc_path_create(/mnt/backup_disks/backuppc/pc/akibu-desktop/0)
> bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles
> = 0
> opening connection using: /usr/bin/ssh -q -x -l root akibu-desktop
> /usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf
> protected args: --timeout=72000 --numeric-ids . /mnt/j/Favorites/
> rsync_bpc: connection unexpectedly closed (0 bytes received so far)
> [Receiver]
> bpc_sysCall_cleanup: doneInit = 1
> RefCnt Deltas for new backup
> Uncompressed HT:
> Compressed HT:
> Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal,
> 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 1 inode
> Parsing done: nFilesTotal = 0
> rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6]
> [Receiver] _exit_cleanup(code=12, file=io.c, line=629): about to call
> exit(255)
> rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained
> error (code 255) at io.c(629) [Receiver=3.0.9.6])
> Xfer PIDs are now
> Got fatal error during xfer (rsync error: unexplained error (code 255) at
> io.c(629) [Receiver=3.0.9.6])
> Backup aborted (rsync error: unexplained error (code 255) at io.c(629)
> [Recei

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
@Craig Barratt<mailto:cbarr...@users.sourceforge.net>  Forgot to answer your 
second question.  Yes, the directory /mnt/j/Favorites does exist on 
akibu-desktop.  Thanks.

From: cra...@gmail.com [mailto:cra...@gmail.com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 6:43 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Akibu,

It looks like the connection terminates immediately.  We need to figure out why.

If you run the exact ssh command as the backuppc user, do you get an error or 
any output?

su backuppcUser
/usr/bin/ssh -q -x -l root akibu-desktop /usr/bin/rsync --server --sender 
-svvvlHogDtprce.iLsf

If you don't see any output, hit ^D and you should get an error like this:

rsync: on remote machine: (null): unknown option
rsync error: syntax or usage error (code 1) at main.c(1634) [server=3.1.1]
[server] _exit_cleanup(code=1, file=main.c, line=1634): about to call exit(1)

Next, are you sure that the directory /mnt/j/Favorites on akibu-desktop exists?

Craig


On Sun, Jun 11, 2017 at 3:17 PM, Akibu Flash 
<akibufl...@outlook.com<mailto:akibufl...@outlook.com>> wrote:

Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>  The XferLOG 
beginning of the XferLOG is below.  Please advise if you see anything therein.  
Thanks again.



(Thestrace is showing the dynamic linking during startup of ssh, which isn't 
particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more detailed 
information (eg, exact rsync / ssh args).  Can you send that please?  You'll 
find it in the per-PC backup directory, eg: 
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to uncompress it.

Craig)


XferLOG file /mnt/backup_disks/backuppc/pc/akibu-desktop/XferLOG.0.z created 
2017-06-11 18:00:44
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/backup_disks/backuppc 
--bpc-host-name akibu-desktop --bpc-share-name /mnt/j/Favorites --bpc-bkup-num 
0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 
--bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 9 -e /usr/bin/ssh\ -q\ -x\ 
-l\ root -vvv --rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 akibu-desktop:/mnt/j/Favorites/ /
full backup started for directory /mnt/j/Favorites
Xfer PIDs are now 3643
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_path_create(/mnt/backup_disks/backuppc/pc/akibu-desktop/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
opening connection using: /usr/bin/ssh -q -x -l root akibu-desktop 
/usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf
protected args: --timeout=72000 --numeric-ids . /mnt/j/Favorites/
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 1 inode
Parsing done: nFilesTotal = 0
rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6]
[Receiver] _exit_cleanup(code=12, file=io.c, line=629): about to call exit(255)
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])
Xfer PIDs are now
Got fatal error during xfer (rsync error: unexplained error (code 255) at 
io.c(629) [Receiver=3.0.9.6])
Backup aborted (rsync error: unexplained error (code 255) at io.c(629) 
[Receiver=3.0.9.6])
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, 
lastBkupNum =
Removing empty backup #0
Xfer PIDs are now 3663
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge
Xfer PIDs are now 3664,3663
BackupPC_refCountUpdate: computing totals for host akibu-desktop
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
BackupPC_refCountUpdate: host akibu-desktop got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now 3663
BackupPC_backupDelete: got 0 errors
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are now
Running BackupPC_refCountUpdate -h akibu-desktop -f on akibu-desktop
Xfer PIDs are now 3665
BackupPC_refCountUpdate: com

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>.  I don’t get any 
output or error whatsoever when running the command you suggested.  I tried 
hitting ^D but still did not get an error or output.  (btw, is that a 
Ctrl+Shift+D or Ctrl+D (neither produced an output though)).  Thanks.

From: cra...@gmail.com [mailto:cra...@gmail.com] On Behalf Of Craig Barratt
Sent: Sunday, June 11, 2017 6:43 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Akibu,

It looks like the connection terminates immediately.  We need to figure out why.

If you run the exact ssh command as the backuppc user, do you get an error or 
any output?

su backuppcUser
/usr/bin/ssh -q -x -l root akibu-desktop /usr/bin/rsync --server --sender 
-svvvlHogDtprce.iLsf

If you don't see any output, hit ^D and you should get an error like this:

rsync: on remote machine: (null): unknown option
rsync error: syntax or usage error (code 1) at main.c(1634) [server=3.1.1]
[server] _exit_cleanup(code=1, file=main.c, line=1634): about to call exit(1)

Next, are you sure that the directory /mnt/j/Favorites on akibu-desktop exists?

Craig


On Sun, Jun 11, 2017 at 3:17 PM, Akibu Flash 
<akibufl...@outlook.com<mailto:akibufl...@outlook.com>> wrote:

Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>  The XferLOG 
beginning of the XferLOG is below.  Please advise if you see anything therein.  
Thanks again.



(Thestrace is showing the dynamic linking during startup of ssh, which isn't 
particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more detailed 
information (eg, exact rsync / ssh args).  Can you send that please?  You'll 
find it in the per-PC backup directory, eg: 
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to uncompress it.

Craig)


XferLOG file /mnt/backup_disks/backuppc/pc/akibu-desktop/XferLOG.0.z created 
2017-06-11 18:00:44
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/backup_disks/backuppc 
--bpc-host-name akibu-desktop --bpc-share-name /mnt/j/Favorites --bpc-bkup-num 
0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 
--bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 9 -e /usr/bin/ssh\ -q\ -x\ 
-l\ root -vvv --rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 akibu-desktop:/mnt/j/Favorites/ /
full backup started for directory /mnt/j/Favorites
Xfer PIDs are now 3643
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_path_create(/mnt/backup_disks/backuppc/pc/akibu-desktop/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
opening connection using: /usr/bin/ssh -q -x -l root akibu-desktop 
/usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf
protected args: --timeout=72000 --numeric-ids . /mnt/j/Favorites/
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 1 inode
Parsing done: nFilesTotal = 0
rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6]
[Receiver] _exit_cleanup(code=12, file=io.c, line=629): about to call exit(255)
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])
Xfer PIDs are now
Got fatal error during xfer (rsync error: unexplained error (code 255) at 
io.c(629) [Receiver=3.0.9.6])
Backup aborted (rsync error: unexplained error (code 255) at io.c(629) 
[Receiver=3.0.9.6])
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, 
lastBkupNum =
Removing empty backup #0
Xfer PIDs are now 3663
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge
Xfer PIDs are now 3664,3663
BackupPC_refCountUpdate: computing totals for host akibu-desktop
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
BackupPC_refCountUpdate: host akibu-desktop got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now 3663
BackupPC_backupDelete: got 0 errors
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are no

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Craig Barratt via BackupPC-users
Compat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles
> = 0
> BackupPC_refCountUpdate: host akibu-desktop got 0 errors (took 0 secs)
> BackupPC_refCountUpdate total errors: 0
> Xfer PIDs are now
> Finished BackupPC_refCountUpdate (running time: 0 sec)
> Xfer PIDs are now
>
>
>
>
>
>
>
>
> ----------
>
> *From:* Craig Barratt via BackupPC-users <backuppc-users@lists.
> sourceforge.net>
> *Sent:* Saturday, June 10, 2017 6:32 PM
> *To:* mst...@chicago.us.mensa.org; General list for user discussion,
> questions and support
> *Cc:* Craig Barratt
> *Subject:* Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC
>
>
>
> The strace is showing the dynamic linking during startup of ssh, which
> isn't particularly relevant.  It's not showing the files being backed up.
>
>
>
> What we are missing is the log output from XferLOG.  That has the more
> detailed information (eg, exact rsync / ssh args).  Can you send that
> please?  You'll find it in the per-PC backup directory, eg:
> /data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to
> uncompress it.
>
> Craig
>
>
>
> On Fri, Jun 9, 2017 at 10:38 PM, Michael Stowe <
> mst...@chicago.us.mensa.org> wrote:
>
> On 2017-06-09 08:10, Akibu Flash wrote:
>
> Just bumping this again. Any thoughts on how to resolve the below? Thanks.
>
> FROM: Akibu Flash <akibufl...@outlook.com> SENT: Monday, June 5, 2017
> 7:27:34 AM TO: Holger Parplies; Holger Parplies (wb...@parplies.de) CC:
> General list for user discussion, questions and support SUBJECT: Re:
> [BackupPC-users] Unexplained Error Code 255 – BackupPC
>
> Thanks @Holger Parplies (wb...@parplies.de) for your reply. See below:
>
> -Original Message- From: Holger Parplies [wb...@parplies.de]
> Sent: Tuesday, May 30, 2017 3:31 PM To: Akibu Flash <
> akibufl...@outlook.com> Cc: General list for user discussion, questions
> and support <backuppc-users@lists.sourceforge.net> Subject: Re:
> [BackupPC-users] Unexplained Error Code 255 – BackupPC
>
> Hi,
>
> Akibu Flash wrote on 2017-05-29 05:27:04 + [Re: [BackupPC-users]
> Unexplained Error Code 255 – BackupPC]:
>
> […] I am running backuppc version 4.41 on a Debian computer.
>
> wow … where did you get that version from?
>
> - I must have been asleep when I wrote version 4.4.1.  I meant
>
> version 4.1.1.
>
> When I start a backup, it appears to properly connect to my Windows
> computer and then gives me an error message. ?Got fatal error
>
> during
>
> xfer (rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.6])? […] Please note that I am able to
>
> ssh
>
> and rsync into the Windows computer manually from the linux computer
>
> 
>
> without problem.
>
> Also without extraenous output? You seem to be using rsync over ssh, and
> rsync is quite fussy about messages that it does not expect. As a rule of
> thumb, to a *Linux* computer,
>
> % ssh clientcomputer true
>
> %
>
> should immediately display the next prompt as indicated above, i.e.
> nothing extra, not even blanks or newlines. For Windoze, your mileage may
> vary, but it probably won't. The actual invokation used by BackupPC (or
> rather rsync_bpc) might include extra options to ssh, e.g. -q -x -l
> someuser … include those when testing.
>
> - Correct, Holger.  I am using rsync over ssh and ssh seems to
>
> work without a problem. When I run the test you suggested: “$ssh
> targetcomputer true”, I merely get the prompt in response “$”. Strace seems
> to confirm that ssh is working correctly as when I ssh into the
> targetcomputer from the command line, and while running running strace on
> the targetcomputer, all seems to work as expected. In addition, when I
> rsync into the targetcomputer from the command line, rsync appears to work
> just fine.
>
> However, when I use the backuppc program to rsync into the very same
> targetcomputer, I get the Unexplained Error Code 255 message. Below shows
> the ssh strace when I started a manual backuppc backup of some files on the
> targetcomputer, if that helps. My log level is up to 9, but not much
> information is being generated. I am unclear of how to diagnose as I am not
> that versed in linux. Any help would be appreciated. Thanks. Akibu.
>
> Strace command used: $sudo strace -f -v -e open /etc/init.d/ssh restart
>
> strace: Process 11860 attached [pid 11860] open("/proc/self/oom_score_adj",
> O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 [pid 11860] open("/etc/ld.so.cache",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] 
> open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0",
> O_RDONLY|O_CLOEXEC) = 

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
Thanks @Craig Barratt<mailto:cbarr...@users.sourceforge.net>  The XferLOG 
beginning of the XferLOG is below.  Please advise if you see anything therein.  
Thanks again.



(Thestrace is showing the dynamic linking during startup of ssh, which isn't 
particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more detailed 
information (eg, exact rsync / ssh args).  Can you send that please?  You'll 
find it in the per-PC backup directory, eg: 
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to uncompress it.

Craig)


XferLOG file /mnt/backup_disks/backuppc/pc/akibu-desktop/XferLOG.0.z created 
2017-06-11 18:00:44
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/backup_disks/backuppc 
--bpc-host-name akibu-desktop --bpc-share-name /mnt/j/Favorites --bpc-bkup-num 
0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 
--bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 9 -e /usr/bin/ssh\ -q\ -x\ 
-l\ root -vvv --rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 akibu-desktop:/mnt/j/Favorites/ /
full backup started for directory /mnt/j/Favorites
Xfer PIDs are now 3643
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_path_create(/mnt/backup_disks/backuppc/pc/akibu-desktop/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
opening connection using: /usr/bin/ssh -q -x -l root akibu-desktop 
/usr/bin/rsync --server --sender -svvvlHogDtprce.iLsf
protected args: --timeout=72000 --numeric-ids . /mnt/j/Favorites/
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 1 inode
Parsing done: nFilesTotal = 0
rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6]
[Receiver] _exit_cleanup(code=12, file=io.c, line=629): about to call exit(255)
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])
Xfer PIDs are now
Got fatal error during xfer (rsync error: unexplained error (code 255) at 
io.c(629) [Receiver=3.0.9.6])
Backup aborted (rsync error: unexplained error (code 255) at io.c(629) 
[Receiver=3.0.9.6])
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, 
lastBkupNum =
Removing empty backup #0
Xfer PIDs are now 3663
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge
Xfer PIDs are now 3664,3663
BackupPC_refCountUpdate: computing totals for host akibu-desktop
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
BackupPC_refCountUpdate: host akibu-desktop got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now 3663
BackupPC_backupDelete: got 0 errors
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are now
Running BackupPC_refCountUpdate -h akibu-desktop -f on akibu-desktop
Xfer PIDs are now 3665
BackupPC_refCountUpdate: computing totals for host akibu-desktop
bpc_lib_conf_init: topDir = /mnt/backup_disks/backuppc, logLevel = 9
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
BackupPC_refCountUpdate: host akibu-desktop got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 0 sec)
Xfer PIDs are now





From: Craig Barratt via BackupPC-users <backuppc-users@lists.sourceforge.net>
Sent: Saturday, June 10, 2017 6:32 PM
To: mst...@chicago.us.mensa.org; General list for user discussion, questions 
and support
Cc: Craig Barratt
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

The strace is showing the dynamic linking during startup of ssh, which isn't 
particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more detailed 
information (eg, exact rsync / ssh args).  Can you send that please?  You'll 
find it in the per-PC backup directory, eg: 
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to uncompress it.

Craig

On Fri, Jun 9, 2017 at 10:38 PM, Michael Stowe 
<mst...@chicago.us.mensa.org<mailto:mst...@chicago.us.mensa.org>> wrote:

On

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Michael Stowe

On 2017-06-11 12:11, Akibu Flash wrote:

Thanks @Michael Stowe.  I am merely trying to backup some directories
which exist on a windows machine from a Linux machine, in this case
"/mnt/j/Desktop"  Neither /dev or (/proc /sys /tmp) exist in that
directory.


Sorry, I was really careless when I looked at it -- I assumed it was a 
log of rsync, which would have been somewhat useful, rather than a trace 
of ssh, which would probably only be useful in tracking down ssh 
handshaking issues.  From a cursory glance, it looked like you were 
attempting to back up /dev/urandom rather than demonstrate that ssh was 
trying to read from /dev/urandom for entropy gathering as part of its 
encryption.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-11 Thread Akibu Flash
Thanks @Michael Stowe<mailto:mst...@chicago.us.mensa.org>.  I am merely trying 
to backup some directories which exist on a windows machine from a Linux 
machine, in this case "/mnt/j/Desktop"  Neither /dev or (/proc /sys /tmp) exist 
in that directory.

(Err.

What, exactly, are you trying to resolve? I suspect you've gotten no answer 
because many people looked and said, well, that's obvious, don't back up the 
/dev directory, because it's dynamically created. While you're at it, don't 
back up /proc, /sys, or /tmp.)




From: Michael Stowe <mst...@chicago.us.mensa.org>
Sent: Friday, June 9, 2017 10:38 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC


On 2017-06-09 08:10, Akibu Flash wrote:

Just bumping this again. Any thoughts on how to resolve the below? Thanks.

FROM: Akibu Flash <akibufl...@outlook.com> SENT: Monday, June 5, 2017 7:27:34 
AM TO: Holger Parplies; Holger Parplies (wb...@parplies.de) CC: General list 
for user discussion, questions and support SUBJECT: Re: [BackupPC-users] 
Unexplained Error Code 255 – BackupPC

Thanks @Holger Parplies (wb...@parplies.de) for your reply. See below:

-Original Message- From: Holger Parplies 
[wb...@parplies.de<mailto:wb...@parplies.de>] Sent: Tuesday, May 30, 2017 3:31 
PM To: Akibu Flash <akibufl...@outlook.com> Cc: General list for user 
discussion, questions and support <backuppc-users@lists.sourceforge.net> 
Subject: Re: [BackupPC-users] Unexplained Error Code 255 – BackupPC

Hi,

Akibu Flash wrote on 2017-05-29 05:27:04 + [Re: [BackupPC-users] 
Unexplained Error Code 255 – BackupPC]:

[…] I am running backuppc version 4.41 on a Debian computer.

wow … where did you get that version from?

- I must have been asleep when I wrote version 4.4.1.  I meant

version 4.1.1.

When I start a backup, it appears to properly connect to my Windows computer 
and then gives me an error message. ?Got fatal error

during

xfer (rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])? […] Please note that I am able to

ssh

and rsync into the Windows computer manually from the linux computer



without problem.

Also without extraenous output? You seem to be using rsync over ssh, and rsync 
is quite fussy about messages that it does not expect. As a rule of thumb, to a 
Linux computer,

% ssh clientcomputer true
%

should immediately display the next prompt as indicated above, i.e. nothing 
extra, not even blanks or newlines. For Windoze, your mileage may vary, but it 
probably won't. The actual invokation used by BackupPC (or rather rsync_bpc) 
might include extra options to ssh, e.g. -q -x -l someuser … include those when 
testing.

- Correct, Holger.  I am using rsync over ssh and ssh seems to

work without a problem. When I run the test you suggested: “$ssh targetcomputer 
true”, I merely get the prompt in response “$”. Strace seems to confirm that 
ssh is working correctly as when I ssh into the targetcomputer from the command 
line, and while running running strace on the targetcomputer, all seems to work 
as expected. In addition, when I rsync into the targetcomputer from the command 
line, rsync appears to work just fine.

However, when I use the backuppc program to rsync into the very same 
targetcomputer, I get the Unexplained Error Code 255 message. Below shows the 
ssh strace when I started a manual backuppc backup of some files on the 
targetcomputer, if that helps. My log level is up to 9, but not much 
information is being generated. I am unclear of how to diagnose as I am not 
that versed in linux. Any help would be appreciated. Thanks. Akibu.

Strace command used: $sudo strace -f -v -e open /etc/init.d/ssh restart

strace: Process 11860 attached [pid 11860] open("/proc/self/oom_score_adj", 
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 [pid 11860] open("/etc/ld.so.cache", 
O_RDONLY|O_CLOEXEC) = 3 [pid 11860] 
open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/lib/x86_64-linux-gnu/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 [pid 
11860] open("/dev/null", O_RDWR) = 3 [pid 11860] open("/proc/11860/fd", 
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 [pid 11860] open("/dev/urandom", 
O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3 [pid 11860] open("/etc/gai.conf", 
O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/etc/nsswitch.conf", 
O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/etc/ld.so.c

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-10 Thread Craig Barratt via BackupPC-users
The strace is showing the dynamic linking during startup of ssh, which
isn't particularly relevant.  It's not showing the files being backed up.

What we are missing is the log output from XferLOG.  That has the more
detailed information (eg, exact rsync / ssh args).  Can you send that
please?  You'll find it in the per-PC backup directory, eg:
/data/BackupPC/pc/clientName/XferLOG.bad.z.  Use BackupPC_zcat to
uncompress it.

Craig

On Fri, Jun 9, 2017 at 10:38 PM, Michael Stowe <mst...@chicago.us.mensa.org>
wrote:

> On 2017-06-09 08:10, Akibu Flash wrote:
>
> Just bumping this again. Any thoughts on how to resolve the below? Thanks.
>
> FROM: Akibu Flash <akibufl...@outlook.com> SENT: Monday, June 5, 2017
> 7:27:34 AM TO: Holger Parplies; Holger Parplies (wb...@parplies.de) CC:
> General list for user discussion, questions and support SUBJECT: Re:
> [BackupPC-users] Unexplained Error Code 255 – BackupPC
>
> Thanks @Holger Parplies (wb...@parplies.de) for your reply. See below:
>
> -Original Message- From: Holger Parplies [wb...@parplies.de]
> Sent: Tuesday, May 30, 2017 3:31 PM To: Akibu Flash <
> akibufl...@outlook.com> Cc: General list for user discussion, questions
> and support <backuppc-users@lists.sourceforge.net> Subject: Re:
> [BackupPC-users] Unexplained Error Code 255 – BackupPC
>
> Hi,
>
> Akibu Flash wrote on 2017-05-29 05:27:04 + [Re: [BackupPC-users]
> Unexplained Error Code 255 – BackupPC]:
>
> […] I am running backuppc version 4.41 on a Debian computer.
>
> wow … where did you get that version from?
>
> - I must have been asleep when I wrote version 4.4.1.  I meant
>
> version 4.1.1.
>
> When I start a backup, it appears to properly connect to my Windows
> computer and then gives me an error message. ?Got fatal error
>
> during
>
> xfer (rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.6])? […] Please note that I am able to
>
> ssh
>
> and rsync into the Windows computer manually from the linux computer
>
> 
>
> without problem.
>
> Also without extraenous output? You seem to be using rsync over ssh, and
> rsync is quite fussy about messages that it does not expect. As a rule of
> thumb, to a *Linux* computer,
>
> % ssh clientcomputer true
> %
>
> should immediately display the next prompt as indicated above, i.e.
> nothing extra, not even blanks or newlines. For Windoze, your mileage may
> vary, but it probably won't. The actual invokation used by BackupPC (or
> rather rsync_bpc) might include extra options to ssh, e.g. -q -x -l
> someuser … include those when testing.
>
> - Correct, Holger.  I am using rsync over ssh and ssh seems to
>
> work without a problem. When I run the test you suggested: “$ssh
> targetcomputer true”, I merely get the prompt in response “$”. Strace seems
> to confirm that ssh is working correctly as when I ssh into the
> targetcomputer from the command line, and while running running strace on
> the targetcomputer, all seems to work as expected. In addition, when I
> rsync into the targetcomputer from the command line, rsync appears to work
> just fine.
>
> However, when I use the backuppc program to rsync into the very same
> targetcomputer, I get the Unexplained Error Code 255 message. Below shows
> the ssh strace when I started a manual backuppc backup of some files on the
> targetcomputer, if that helps. My log level is up to 9, but not much
> information is being generated. I am unclear of how to diagnose as I am not
> that versed in linux. Any help would be appreciated. Thanks. Akibu.
>
> Strace command used: $sudo strace -f -v -e open /etc/init.d/ssh restart
>
> strace: Process 11860 attached [pid 11860] open("/proc/self/oom_score_adj",
> O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 [pid 11860] open("/etc/ld.so.cache",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] 
> open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/lib/x86_64-linux-gnu/libutil.so.1",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/lib/x86_64-linux-gnu/libz.so.1",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] 
> open("/lib/x86_64-linux-gnu/libcrypt.so.1",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/lib/x86_64-linux-gnu/libc.so.6",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/lib/x86_64-linux-gnu/libdl.so.2",
> O_RDONLY|O_CLOEXEC) = 3 [pid 11860] open("/dev/null", O_RDWR) = 3 [pid
> 11860] open("/proc/11860/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC)
> = 3 [pid 11860] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3 [pid
> 11860] open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3 [pid 11860]
>

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-09 Thread Michael Stowe

On 2017-06-09 08:10, Akibu Flash wrote:

Just bumping this again.  Any thoughts on how to resolve the below?
Thanks.
-

FROM: Akibu Flash <akibufl...@outlook.com>
SENT: Monday, June 5, 2017 7:27:34 AM
TO: Holger Parplies; Holger Parplies (wb...@parplies.de)
CC: General list for user discussion, questions and support
SUBJECT: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Thanks @Holger Parplies (wb...@parplies.de) for your reply.  See
below:

-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de]
Sent: Tuesday, May 30, 2017 3:31 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Hi,

Akibu Flash wrote on 2017-05-29 05:27:04 +0000 [Re: [BackupPC-users]
Unexplained Error Code 255 - BackupPC]:

[...]
I am running backuppc version 4.41 on a Debian computer.


wow ... where did you get that version from?

- I must have been asleep when I wrote version 4.4.1.  I meant
version 4.1.1.


When I start a backup, it appears to properly connect to my Windows
computer and then gives me an error message.  ?Got fatal error

during

xfer (rsync error: error in rsync protocol data stream (code 12) at
io.c(629) [Receiver=3.0.9.6])? [...] Please note that I am able to

ssh

and rsync into the Windows computer manually from the linux computer

  

without problem.


Also without extraenous output? You seem to be using rsync over ssh,
and rsync is quite fussy about messages that it does not expect. As a
rule of thumb, to a *Linux* computer,

   % ssh clientcomputer true
   %

should immediately display the next prompt as indicated above, i.e.
nothing extra, not even blanks or newlines. For Windoze, your mileage
may vary, but it probably won't. The actual invokation used by
BackupPC (or rather rsync_bpc) might include extra options to ssh,
e.g. -q -x -l someuser ... include those when testing.

- Correct, Holger.  I am using rsync over ssh and ssh seems to
work without a problem.  When I run the test you suggested:  "$ssh
targetcomputer true", I merely get the prompt in response "$".  Strace
seems to confirm that ssh is working correctly as when I ssh into the
targetcomputer from the command line, and while running running strace
on the targetcomputer, all seems to work as expected.  In addition,
when I rsync into the targetcomputer from the command line, rsync
appears to work just fine.

However, when I use the backuppc program to rsync into the very same
targetcomputer, I get the Unexplained Error Code 255 message.  Below
shows the ssh strace when I started a manual backuppc backup of some
files on the targetcomputer, if that helps.  My log level is up to 9,
but not much information is being generated.  I am unclear of how to
diagnose as I am not that versed in linux.  Any help would be
appreciated.   Thanks.  Akibu.

Strace command used:  $sudo strace -f -v -e open /etc/init.d/ssh
restart

strace: Process 11860 attached
[pid 11860] open("/proc/self/oom_score_adj", O_WRONLY|O_CREAT|O_TRUNC,
0666) = 10
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libutil.so.1",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libz.so.1",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypt.so.1",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libc.so.6",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libdl.so.2",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/dev/null", O_RDWR)   = 3
[pid 11860] open("/proc/11860/fd",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
[pid 11860] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
[pid 11860] open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_compat.so.2",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnsl.so.1",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_nis.so.2",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_files.so.2",
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-09 Thread Akibu Flash
Just bumping this again.  Any thoughts on how to resolve the below?  Thanks.


From: Akibu Flash <akibufl...@outlook.com>
Sent: Monday, June 5, 2017 7:27:34 AM
To: Holger Parplies; Holger Parplies (wb...@parplies.de)
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Thanks @Holger Parplies (wb...@parplies.de) for your reply.  See below:

-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de]
Sent: Tuesday, May 30, 2017 3:31 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Hi,

Akibu Flash wrote on 2017-05-29 05:27:04 +0000 [Re: [BackupPC-users] 
Unexplained Error Code 255 - BackupPC]:
> [...]
> I am running backuppc version 4.41 on a Debian computer.

wow ... where did you get that version from?

- I must have been asleep when I wrote version 4.4.1.  I meant version 
4.1.1.


> When I start a backup, it appears to properly connect to my Windows
> computer and then gives me an error message.  ?Got fatal error during
> xfer (rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.6])? [...] Please note that I am able to ssh
> and rsync into the Windows computer manually from the linux computer
  
> without problem.

Also without extraenous output? You seem to be using rsync over ssh, and rsync 
is quite fussy about messages that it does not expect. As a rule of thumb, to a 
*Linux* computer,

   % ssh clientcomputer true
   %

should immediately display the next prompt as indicated above, i.e. nothing 
extra, not even blanks or newlines. For Windoze, your mileage may vary, but it 
probably won't. The actual invokation used by BackupPC (or rather rsync_bpc) 
might include extra options to ssh, e.g. -q -x -l someuser ... include those 
when testing.

- Correct, Holger.  I am using rsync over ssh and ssh seems to work 
without a problem.  When I run the test you suggested:  "$ssh targetcomputer 
true", I merely get the prompt in response "$".  Strace seems to confirm that 
ssh is working correctly as when I ssh into the targetcomputer from the command 
line, and while running running strace on the targetcomputer, all seems to work 
as expected.  In addition, when I rsync into the targetcomputer from the 
command line, rsync appears to work just fine.

However, when I use the backuppc program to rsync into the very same 
targetcomputer, I get the Unexplained Error Code 255 message.  Below shows the 
ssh strace when I started a manual backuppc backup of some files on the 
targetcomputer, if that helps.  My log level is up to 9, but not much 
information is being generated.  I am unclear of how to diagnose as I am not 
that versed in linux.  Any help would be appreciated.   Thanks.  Akibu.

Strace command used:  $sudo strace -f -v -e open /etc/init.d/ssh restart

strace: Process 11860 attached
[pid 11860] open("/proc/self/oom_score_adj", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 
10
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/dev/null", O_RDWR)   = 3
[pid 11860] open("/proc/11860/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 
3
[pid 11860] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
[pid 11860] open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_compat.so.2", 
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 
3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) 
= 3
[pid 11860] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] op

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-06-05 Thread Akibu Flash
Thanks @Holger Parplies (wb...@parplies.de) for your reply.  See below:

-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de] 
Sent: Tuesday, May 30, 2017 3:31 PM
To: Akibu Flash <akibufl...@outlook.com>
Cc: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

Hi,

Akibu Flash wrote on 2017-05-29 05:27:04 + [Re: [BackupPC-users] 
Unexplained Error Code 255 - BackupPC]:
> [...]
> I am running backuppc version 4.41 on a Debian computer.

wow ... where did you get that version from?

- I must have been asleep when I wrote version 4.4.1.  I meant version 
4.1.1.


> When I start a backup, it appears to properly connect to my Windows 
> computer and then gives me an error message.  ?Got fatal error during 
> xfer (rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.6])? [...] Please note that I am able to ssh 
> and rsync into the Windows computer manually from the linux computer
  
> without problem.

Also without extraenous output? You seem to be using rsync over ssh, and rsync 
is quite fussy about messages that it does not expect. As a rule of thumb, to a 
*Linux* computer,

   % ssh clientcomputer true
   %

should immediately display the next prompt as indicated above, i.e. nothing 
extra, not even blanks or newlines. For Windoze, your mileage may vary, but it 
probably won't. The actual invokation used by BackupPC (or rather rsync_bpc) 
might include extra options to ssh, e.g. -q -x -l someuser ... include those 
when testing.

- Correct, Holger.  I am using rsync over ssh and ssh seems to work 
without a problem.  When I run the test you suggested:  "$ssh targetcomputer 
true", I merely get the prompt in response "$".  Strace seems to confirm that 
ssh is working correctly as when I ssh into the targetcomputer from the command 
line, and while running running strace on the targetcomputer, all seems to work 
as expected.  In addition, when I rsync into the targetcomputer from the 
command line, rsync appears to work just fine. 

However, when I use the backuppc program to rsync into the very same 
targetcomputer, I get the Unexplained Error Code 255 message.  Below shows the 
ssh strace when I started a manual backuppc backup of some files on the 
targetcomputer, if that helps.  My log level is up to 9, but not much 
information is being generated.  I am unclear of how to diagnose as I am not 
that versed in linux.  Any help would be appreciated.   Thanks.  Akibu.

Strace command used:  $sudo strace -f -v -e open /etc/init.d/ssh restart

strace: Process 11860 attached
[pid 11860] open("/proc/self/oom_score_adj", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 
10
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/dev/null", O_RDWR)   = 3
[pid 11860] open("/proc/11860/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 
3
[pid 11860] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
[pid 11860] open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_compat.so.2", 
O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 
3
[pid 11860] open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) 
= 3
[pid 11860] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_rsa_key.pub", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_dsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_dsa_key", O_RDONLY) = 3
[pid 11860] open("/usr/local/etc/ssh_host_dsa_key", O_RDONLY) = 3
[pi

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-30 Thread Holger Parplies
Hi,

Akibu Flash wrote on 2017-05-29 05:27:04 + [Re: [BackupPC-users] 
Unexplained Error Code 255 - BackupPC]:
> [...]
> I am running backuppc version 4.41 on a Debian computer.

wow ... where did you get that version from?

> When I start a backup, it appears to properly connect to my Windows
> computer and then gives me an error message.  ?Got fatal error during
> xfer (rsync error: error in rsync protocol data stream (code 12) at
> io.c(629) [Receiver=3.0.9.6])? [...] Please note that I am able to ssh
> and rsync into the Windows computer manually from the linux computer
  
> without problem.

Also without extraenous output? You seem to be using rsync over ssh, and
rsync is quite fussy about messages that it does not expect. As a rule of
thumb, to a *Linux* computer,

   % ssh clientcomputer true
   %

should immediately display the next prompt as indicated above, i.e. nothing
extra, not even blanks or newlines. For Windoze, your mileage may vary, but
it probably won't. The actual invokation used by BackupPC (or rather rsync_bpc)
might include extra options to ssh, e.g. -q -x -l someuser ... include those
when testing.

Regards,
Holger

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Akibu Flash
@Craig Barratt<mailto:cbarr...@users.sourceforge.net> The rsync on the Windows 
computer is version 3.1.1 and on the Linux computer is 3.1.2.  Thx.


From: Craig Barratt <cbarr...@users.sourceforge.net>
Sent: Sunday, May 28, 2017 9:49:35 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

What version of rsync are you running on the client?

Another user reported a problem that the default cygwin rsync setup on 3.x 
doesn't allow remote charset settings.  BackupPC 4.x uses the --iconv rsync 
option, which will fail without a clear error message.

You should add "charset = utf-8" to the client's rsyncd.conf to see if that's 
the issue.

(Since it fails very early in the transfer, I'd recommend you add "-vvv" to 
$Conf{RsyncArgs}.)

Craig

On Sun, May 28, 2017 at 9:32 PM, Michael Huntley 
<mich...@huntley.net<mailto:mich...@huntley.net>> wrote:

Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph

On May 28, 2017 8:56:14 PM Akibu Flash 
<akibufl...@outlook.com<mailto:akibufl...@outlook.com>> wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can access 
it through the CGI interface.  I am attempting to backup my Windows 10 
computer.  When I start a backup, it appears to properly connect to my Windows 
computer and then gives me an error message.  “Got fatal error during xfer 
(rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])” Though the log file is set at 3, there is not much 
information therein to diagnose the problem.  A copy of the log file is below.  
Any help would be appreciated.  Please note that I am able to ssh and rsync 
into the Windows computer manually from the linux computer without problem.  It 
is set up for password-less ssh login.  Thanks.  Akibu



Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop>

2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> got 0 
errors (took 0 secs)

2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users%40lists.sourceforge.net>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Akibu Flash
Thanks.  I upped the log level to 9 and the results are below.


2017-05-29 01:18:50 full backup started for directory /mnt/j/Desktop

2017-05-29 01:18:52 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:18:57 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:18:57 Removing empty backup #0

2017-05-29 01:18:57 BackupPC_backupDelete: removing #0

2017-05-29 01:18:57 BackupPC_backupDelete: No prior backup for merge

2017-05-29 01:18:57 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop>

2017-05-29 01:18:57 BackupPC_refCountUpdate: host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> got 0 
errors (took 0 secs)

2017-05-29 01:18:57 BackupPC_refCountUpdate total errors: 0

2017-05-29 01:18:57 BackupPC_backupDelete: got 0 errors

2017-05-29 01:18:57 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)



2017-05-29 01:18:50 User backuppc requested backup of 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> 
(akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop>)

2017-05-29 01:18:50 Started full backup on 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> 
(pid=1571, share=/mnt/j/Desktop)

2017-05-29 01:18:57 Backup failed on 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> (rsync 
error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:19:19  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:19:19 Running BackupPC_Admin_SCGI (pid=1587)

2017-05-29 01:20:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:20:20 Running BackupPC_Admin_SCGI (pid=1623)

2017-05-29 01:21:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:21:20 Running BackupPC_Admin_SCGI (pid=1627)

2017-05-29 01:22:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:22:20 Running BackupPC_Admin_SCGI (pid=1632)

2017-05-29 01:23:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:23:20 Running BackupPC_Admin_SCGI (pid=1636)

2017-05-29 01:24:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:24:20 Running BackupPC_Admin_SCGI (pid=1640)


From: Michael Huntley <mich...@huntley.net>
Sent: Sunday, May 28, 2017 9:32:32 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC


Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph

On May 28, 2017 8:56:14 PM Akibu Flash <akibufl...@outlook.com> wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can access 
it through the CGI interface.  I am attempting to backup my Windows 10 
computer.  When I start a backup, it appears to properly connect to my Windows 
computer and then gives me an error message.  “Got fatal error during xfer 
(rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])” Though the log file is set at 3, there is not much 
information therein to diagnose the problem.  A copy of the log file is below.  
Any help would be appreciated.  Please note that I am able to ssh and rsync 
into the Windows computer manually from the linux computer without problem.  It 
is set up for password-less ssh login.  Thanks.  Akibu



Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop>

2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop<http://10.10.10.30/backuppc/index.cgi?host=mark-desktop> got 0 
errors (took 0 secs)

2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Craig Barratt
What version of rsync are you running on the client?

Another user reported a problem that the default cygwin rsync setup on 3.x
doesn't allow remote charset settings.  BackupPC 4.x uses the --iconv rsync
option, which will fail without a clear error message.

You should add "charset = utf-8" to the client's rsyncd.conf to see if
that's the issue.

(Since it fails very early in the transfer, I'd recommend you add "-vvv" to
$Conf{RsyncArgs}.)

Craig

On Sun, May 28, 2017 at 9:32 PM, Michael Huntley 
wrote:

> Try upping the log level to 9.
> There will an enormous amount of detail bit it should help.
>
> Cheers,
>
> Mph
>
> On May 28, 2017 8:56:14 PM Akibu Flash  wrote:
>
>> I know that it is probably something simple, but maybe not.  I am
>> running backuppc version 4.41 on a Debian computer.  BackupPC starts and
>> I can access it through the CGI interface.  I am attempting to backup my
>> Windows 10 computer.  When I start a backup, it appears to properly
>> connect to my Windows computer and then gives me an error message.  “Got
>> fatal error during xfer (rsync error: error in rsync protocol data stream
>> (code 12) at io.c(629) [Receiver=3.0.9.6])” Though the log file is set at
>> 3, there is not much information therein to diagnose the problem.  A
>> copy of the log file is below.  Any help would be appreciated.  Please
>> note that I am able to ssh and rsync into the Windows computer manually
>> from the linux computer without problem.  It is set up for password-less
>> ssh login.  Thanks.  Akibu
>>
>>
>>
>> Log file:
>>
>>
>>
>> 2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop
>>
>> 2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained
>> error (code 255) at io.c(629) [Receiver=3.0.9.6])
>>
>> 2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code
>> 255) at io.c(629) [Receiver=3.0.9.6])
>>
>> 2017-05-28 23:23:16 Removing empty backup #0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: removing #0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host
>> akibu-desktop 
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate: host akibu-desktop
>>  got 0 errors
>> (took 0 secs)
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors
>> 2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running
>> time: 0 sec)
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> 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/
>>
>>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/


Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Michael Huntley

Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph


On May 28, 2017 8:56:14 PM Akibu Flash  wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can 
access it through the CGI interface.  I am attempting to backup my Windows 
10 computer.  When I start a backup, it appears to properly connect to my 
Windows computer and then gives me an error message.  “Got fatal error 
during xfer (rsync error: error in rsync protocol data stream (code 12) at 
io.c(629) [Receiver=3.0.9.6])” Though the log file is set at 3, there is 
not much information therein to diagnose the problem.  A copy of the log 
file is below.  Any help would be appreciated.  Please note that I am able 
to ssh and rsync into the Windows computer manually from the linux computer 
without problem.  It is set up for password-less ssh login.  Thanks.  Akibu




Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained 
error (code 255) at io.c(629) [Receiver=3.0.9.6])


2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 
255) at io.c(629) [Receiver=3.0.9.6])


2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop


2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop got 
0 errors (took 0 secs)


2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running 
time: 0 sec)




--
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


--
___
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/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/