Re: [BackupPC-users] how to solve an error exteracting error
Le 09. 11. 17 à 15:59, Mohammad Goodarzi a écrit : > Hi, > > What do you think I must show so that you can help me fixing the problem? Try: ssh -l root myservice service sshd reload It's what I would do on Debian / Ubuntu > > Thanks > > > On Thu, Nov 9, 2017 at 8:17 AM, Holger Parplies <mailto: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 > <mailto:BackupPC-users@lists.sourceforge.net> > List: > https://lists.sourceforge.net/lists/listinfo/backuppc-users > <https://lists.sourceforge.net/lists/listinfo/backuppc-users> > Wiki: http://backuppc.wiki.sourceforge.net > <http://backuppc.wiki.sourceforge.net> > Project: http://backuppc.sourceforge.net/ > <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] how to solve an error exteracting error
On 2017-11-09 06:59, Mohammad Goodarzi wrote: Hi, What do you think I must show so that you can help me fixing the problem? Thanks By way of imperfect analogy, let's say you've telephoned a mechanic and said your car doesn't start. He's told you the most likely reason cars in general don't start, and now you've followed up with, "what else do you need to know?" You haven't even mentioned what kind of car is involved, much less any surrounding context. Have you driven the car off a cliff lately? Did it ever start? This isn't a fun guessing game for the mechanic. By a similar token, you haven't said what version you're running, what operating systems are involved, or provided any kind of diagnostics whatsoever, or insight into the symptoms. -- 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
Try sshd Depending on your system chkconfig --list might show all services On Thu, Nov 9, 2017 at 9:59 AM, Mohammad Goodarzi < mohammad.goda...@gmail.com> wrote: > 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 wrote: > >> Hi, >> >> Michael Stowe wrote on 2017-11-09 05:47:01 +0000 [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/ > > -- 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
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 wrote: > Hi, > > Michael Stowe wrote on 2017-11-09 05:47:01 +0000 [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
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/
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. 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. -- 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
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/
Re: [BackupPC-users] how to solve an error exteracting error
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 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
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/