Re: [BackupPC-users] how to solve an error exteracting error

2017-11-09 Thread Mohammad Goodarzi
Hi,

What do you think I must show so that you can help me fixing the problem?

Thanks


On Thu, Nov 9, 2017 at 8:17 AM, Holger Parplies <wb...@parplies.de> wrote:

> Hi,
>
> Michael Stowe wrote on 2017-11-09 05:47:01 + [Re: [BackupPC-users] how
> to solve an error exteracting error]:
> > On 2017-11-08 13:40, Mohammad Goodarzi wrote:
> > >hi,
> > >
> > >I get this error when I do ssh -l root myservice service ssh reload
> > >
> > >ssh: unrecognized service
> >
> > ssh is [probably] telling you that "service" isn't what your distro
> > uses to reload services.
>
> actually, I think "service" is correct, but "ssh" isn't. Might be "openssh"
> or "ssh-server" or "i-named-this-script-secure-remote-login-service". Hint
> to the original poster: "ls /etc/init.d" (supposing that is where your
> system
> keeps init scripts) ... (*) (**)
>
> > Since you haven't mentioned your Linux
> > flavor -- or even *whether* you're using Linux -- it's very
> > difficult to steer you in the direction of what exact command will
> > reload ssh on the remote server.
>
> Given the large amount of missing detail, it's not even sure
> PermitRootLogin
> was the cause of the problem - it's just one possibility. With ":set terse"
> I seem to have not mentioned that.
>
> All of that said, reloading your ssh server configuration isn't *strictly*
> a BackupPC issue. I'm glad I didn't suggest "vi /etc/ssh/sshd_config" as I
> was first intending to ...
>
> Regards,
> Holger
>
> (*) For consistency, I should have said "ssh -l root myserver ls
> /etc/init.d".
> (**) Disclaimer: if your system uses systemd, things might be different. I
>  won't know until the last way around using systemd disappears.
>
> 
> --
> 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] how to solve an error exteracting error

2017-11-08 Thread Mohammad Goodarzi
hi,

I get this error when I do ssh -l root myservice service ssh reload


ssh: unrecognized service


On Wed, Nov 8, 2017 at 4:36 PM, Holger Parplies <wb...@parplies.de> wrote:

> Mohammad Goodarzi wrote on 2017-11-08 14:54:41 -0500 [[BackupPC-users] how
> to solve an error exteracting error]:
> > [...]
> > Running: /usr/bin/ssh -q -x -l root myservername /usr/bin/rsync
> > --server --sender --numeric-ids --perms --owner --group -D --links
> > --hard-links --times --block-size=2048 --recursive --ignore-times .
> > /etc/
> > [...]
> > Read EOF: Connection reset by peer
> > [...]
> > Got fatal error during xfer (Unable to read 4 bytes)
> > Backup aborted (Unable to read 4 bytes)
> > [...]
>
> ssh -l root myservername perl -pi -e 
> \''s/^(\s*PermitRootLogin\s+)no\s*$/${1}yes\n/'\'
> /etc/ssh/sshd_config
> ssh -l root myservername service ssh reload
>
> > Thanks
>
> Welcome.
>
> If you need more detailed help, consider asking a more detailed question.
>
--
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] how to solve an error exteracting error

2017-11-08 Thread Mohammad Goodarzi
File /var/lib/BackupPC//pc/myservername/XferLOG.bad.z (Extracting only
Errors)

Contents of file /var/lib/BackupPC//pc/myservername/XferLOG.bad.z, modified
2017-11-08 06:00:07 (Extracting only Errors)

full backup started for directory /etc (baseline backup #838)
Running: /usr/bin/ssh -q -x -l root myservername /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --ignore-times .
/etc/
Xfer PIDs are now 47793
Read EOF: Connection reset by peer
Tried again: got 0 bytes
Done: 0 files, 0 bytes
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)


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/