Re: [BackupPC-users] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-08-13 Thread Craig Barratt via BackupPC-users
>
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath
> $argList+';


That setting is not used in 4.x.  You now say:

and all seems to be fine but every backup tries to login on a host with the
> backuppc account


so it appears backups are now working correctly.   If ssh is using the
wrong (or default) user, then most likely you need to
update $Conf{RsyncSshArgs}, eg:

$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -q -x -l root'
];


Craig

On Tue, Aug 1, 2017 at 7:53 PM, Romain Pelissier  wrote:

> ​​
> Oh sorry if made a mistake..
>
> 
> --
> 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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-08-01 Thread Romain Pelissier
​​
Oh sorry if made a mistake..
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-08-01 Thread Bzzzz
On Tue, 1 Aug 2017 22:20:23 -0400
Romain Pelissier  wrote:

> Hi,
> I have check the setting:
> 
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath
> $argList+';
> 
> and all seems to be fine but every backup tries to login on a host
> with the backuppc account... I am lost...

Beginning by not crossposting and multi-posting would be a nice start…

JY

--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-08-01 Thread Romain Pelissier
Hi,
I have check the setting:

$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';

and all seems to be fine but every backup tries to login on a host with the
backuppc account... I am lost...
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-08-01 Thread Romain Pelissier
Hi,
I think I understand why it is failing.. I have check on the client side
and see this:

ug  1 20:58:31 pdrapp001 sshd[10238]: Invalid user backuppc from 192.170.2.6
Aug  1 20:58:31 pdrapp001 sshd[10239]: input_userauth_request: invalid user
backuppc
Aug  1 20:58:31 pdrapp001 sshd[10238]: Failed none for invalid user
backuppc from 192.170.2.6 port 41142 ssh2
Aug  1 20:58:31 pdrapp001 sshd[10238]: Failed password for invalid user
backuppc from 192.170.2.6 port 41142 ssh2
Aug  1 20:58:31 pdrapp001 sshd[10238]: Failed password for invalid user
backuppc from 192.170.2.6 port 41142 ssh2
Aug  1 20:58:31 pdrapp001 sshd[10239]: Connection closed by 192.170.2.6

My backuppc service on the server runs with the backuppc user.
The backuppc user is able to do an ssh with the root account onto the box
without any issue (with passkey) but for some reason when a backup starts,
the connexion is made with the backuppc user..

So, should I run the backuppc server with the root account? (Dont' think
so..) or is there a thing that I have missed somewhere?

Thanks!

Romain
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Craig Barratt via BackupPC-users
Moving that setting to the main config file wasn't intended to be a fix -
it was simply an observation that it is simpler to put global settings in
the main config file.

The XferLOG.bad file can be accessed from the client's status page via the
web interface, or from the command line.  If HOST is the one that failed,
and the data store is in /data/BackupPC, then the XferLOG.bad file can be
found in /data/BackupPC/pc/HOST/XferLOG.bad.z.  You can uncompress it with:

/usr/local/BackupPC/bin/BackupPC_zcat /data/BackupPC/pc/HOST/XferLOG.bad.z


Please also tell us your settings for $Conf{XferMethod},
$Conf{RsyncClientPath}, $Conf{RsyncSshArgs}, $Conf{RsyncShareName},
$Conf{RsyncArgs}, $Conf{RsyncFullArgsExtra}.

Craig


On Sun, Jul 30, 2017 at 9:26 AM, Romain Pelissier <
romain.peliss...@gmail.com> wrote:

> Hi,
> I don't think it made a difference since the system starts ok with the
> setting set on each client (I made the change very quickly so you are
> right, this setting should be in the main conf file).
> But event after making the change (putting the setting in the main conf
> file) I still got the issue..
>
> Thanks
>
> 
> --
> 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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Romain Pelissier
Hi,
I don't think it made a difference since the system starts ok with the
setting set on each client (I made the change very quickly so you are
right, this setting should be in the main conf file).
But event after making the change (putting the setting in the main conf
file) I still got the issue..

Thanks
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Romain Pelissier
Hi,
So I have made the change (putting the conf in mail config file) and still
have the issue. I don't have a  XferLOG.bad file, since the backup fail as
soon as it starts..I don't know if there is a debug option or something to
have more details about the issue...
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-29 Thread Richard Shaw
On Sat, Jul 29, 2017 at 10:53 AM, Romain Pelissier <
romain.peliss...@gmail.com> wrote:

> Hi,
> I have recently upgrade my fedora server to the 26 version and it come
> with the brand new version of Backuppc!
> I have change the a couple of things to make it works, like now I use SGSI
> and alos have to add the line:
>
> $Conf{RsyncBackupPCPath} = "/usr/bin/rsync_bpc";
>
> To each client config file.
>
> But..
> Now for most of my client I got this error message:
> rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])
>
> And seriously I don't kow what to do with this.. I have read somewhere
> that some debug options could be set but I am not sure where I should set
> those otions in order to have more information about the issue...
>

I don't use the SGSI method on my Centos 7 box but rsync_bpc should only be
used on the server, not the clients. They all use standard rsync...

Richard
--
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] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-29 Thread Craig Barratt via BackupPC-users
First, you should only need to add the $Conf{RsyncBackupPCPath} setting to
the main config file.

It's likely that that $Conf{RsyncClientPath} is not set correctly based on
the old $Conf{RsyncClientCmd} setting.  What are those settings?

You should look in one of the failed backup XferLOG.bad file.  Please email
the first few dozen lines (up to and including the error), assuming it is
not too long.

Craig

On Sat, Jul 29, 2017 at 8:53 AM, Romain Pelissier <
romain.peliss...@gmail.com> wrote:

> Hi,
> I have recently upgrade my fedora server to the 26 version and it come
> with the brand new version of Backuppc!
> I have change the a couple of things to make it works, like now I use SGSI
> and alos have to add the line:
>
> $Conf{RsyncBackupPCPath} = "/usr/bin/rsync_bpc";
>
> To each client config file.
>
> But..
> Now for most of my client I got this error message:
> rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])
>
> And seriously I don't kow what to do with this.. I have read somewhere
> that some debug options could be set but I am not sure where I should set
> those otions in order to have more information about the issue...
>
> Any help will be very appreciated
>
> Thanks!
>
> 
> --
> 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/


[BackupPC-users] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-29 Thread Romain Pelissier
Hi,
I have recently upgrade my fedora server to the 26 version and it come with
the brand new version of Backuppc!
I have change the a couple of things to make it works, like now I use SGSI
and alos have to add the line:

$Conf{RsyncBackupPCPath} = "/usr/bin/rsync_bpc";

To each client config file.

But..
Now for most of my client I got this error message:
rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

And seriously I don't kow what to do with this.. I have read somewhere that
some debug options could be set but I am not sure where I should set those
otions in order to have more information about the issue...

Any help will be very appreciated

Thanks!
--
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/