Discussion:
[BackupPC-users] Error :- No ping Response
kanti
2008-03-28 12:03:49 UTC
Permalink
Hie All ,
By the help of this forum and specially by the help of Mike i am able to configure a complete BackupPC-3.1.0. Now i want to take a backup of client machine so when i click the start full backup button it shows some error message like below.
1. No ping response.
(Note :- before that i already make a entry for that client in /etc/host file . If i will ping that client by his host name and also by its Ip address its able to pinging . But really i don't know why i m getting this type of error.)

2. And secondly some times i got the following error : -

Full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws6 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 7377
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)

plz try to help me out this problem . Plz some one help me i m in deadline .

Thanx a lot in advance.
Thanks & Bye
Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Tino Schwarze
2008-03-28 12:20:24 UTC
Permalink
Post by kanti
2. And secondly some times i got the following error : -
Full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws6 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Have you tried to run ssh manually as the backuppc user, e.g.
/usr/bin/ssh -q -x -l root scn-ws6
Post by kanti
Xfer PIDs are now 7377
Read EOF: Connection reset by peer
Maybe there are some firewalls in place?

Bye,

Tino.
--
www.craniosacralzentrum.de
www.spiritualdesign-chemnitz.de
www.forteego.de

Tino Schwarze * Lortzingstraße 21 * 09119 Chemnitz
kanti
2008-03-28 13:11:27 UTC
Permalink
Thanks for your reply . Before that I already disable the firewall .

please try to help me out this problem ..

thanks a lot in Advance .

Thanks & Bye

Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Les Mikesell
2008-03-28 18:09:02 UTC
Permalink
Post by kanti
Hie All ,
By the help of this forum and specially by the help of Mike i am able to configure a complete BackupPC-3.1.0. Now i want to take a backup of client machine so when i click the start full backup button it shows some error message like below.
1. No ping response.
(Note :- before that i already make a entry for that client in /etc/host file . If i will ping that client by his host name and also by its Ip address its able to pinging . But really i don't know why i m getting this type of error.)
Be sure the backuppc hosts entry does not have the 'DHCP' option set
(uncheck it if you use 'edit hosts' in the web screen). If it is set,
backuppc will try to use nmblook to find it, which won't work unless you
happen to have samba running with the same netbios name. Otherwise it
should be running the program configured as PingPath and it should get
the same result you get running that command as the backuppc user.
Post by kanti
2. And secondly some times i got the following error : -
Full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws6 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 7377
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)
This usually means that you don't have the ssh keys right. Test it from
the server, running as the backuppc user, execute:
ssh -l root scn-ws6 id
and you should get a response back with no password prompt.
--
Les Mikesell
***@futuresource.com
kanti
2008-03-29 05:18:41 UTC
Permalink
Thanx a lot Mike . Anyway for your kind information there is no DHCp entry for backuppc host. But its show same error no ping response.

And as u told me to run this ssh -l root scn-ws6 id . plz tell me id means key of that scn-ws6 or hostname of scn-ws6

plz try to help me out this problem. Please give me some idea how to solve that no ping response error. I have checked everything in my setup . but till i am facing same problem .

Thanks & Bye

Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Les Mikesell
2008-03-29 05:32:16 UTC
Permalink
Post by kanti
Thanx a lot Mike . Anyway for your kind information there is no DHCp entry for backuppc host. But its show same error no ping response.
Check the PingPath command in your configuraton and try to run that
program from the command line. Perhaps the path is wrong for your system.
Post by kanti
And as u told me to run this ssh -l root scn-ws6 id . plz tell me id means key of that scn-ws6 or hostname of scn-ws6
Type exactly this command:
ssh -l root scn-ws6 id
This should execute the "id" command on the remote system (which should
report that you are root). If you get some other message you may be
able to tell what is wrong.
--
Les Mikesell
***@gmail.com
kanti
2008-03-31 07:07:20 UTC
Permalink
Hie Mike sorry for late reply . Now when i run /usr/bin/ssh -q -x -l root scn-ws9 commad i got a like this

The authenticity of host 'scn-ws9 (192.168.1.109)' can't be established.
RSA key fingerprint is df:1d:98:dc:29:fb:8c:8b:9b:5c:dd:b3:90:ef:e6:31.
Are you sure you want to continue connecting (yes/no)? yes
Password:
Means its asking for password.

but when i am run /usr/bin/ssh -q -x -l root scn-ws9 id this command i got like as belows.

uid=0(root) gid=0(root) groups=0(root)

Plz try to help me out this problem .

I am waiting for ur best response.

Thnks & Bye
Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Tino Schwarze
2008-03-31 08:17:06 UTC
Permalink
Post by kanti
Hie Mike sorry for late reply . Now when i run /usr/bin/ssh -q -x -l root scn-ws9 commad i got a like this
The authenticity of host 'scn-ws9 (192.168.1.109)' can't be established.
RSA key fingerprint is df:1d:98:dc:29:fb:8c:8b:9b:5c:dd:b3:90:ef:e6:31.
Are you sure you want to continue connecting (yes/no)? yes
This might have been the problem - the host key was not known.
Post by kanti
Means its asking for password.
but when i am run /usr/bin/ssh -q -x -l root scn-ws9 id this command i got like as belows.
uid=0(root) gid=0(root) groups=0(root)
Looks good. Make sure that you run the above command as the backuppc
user and that passwordless login works.

HTH,

Tino.
--
„There is no way towards peace. Peace is the way.” (Mahatma Gandhi)

www.craniosacralzentrum.de
www.forteego.de
Les Mikesell
2008-03-31 15:31:05 UTC
Permalink
Post by kanti
Hie Mike sorry for late reply . Now when i run /usr/bin/ssh -q -x -l root scn-ws9 commad i got a like this
The authenticity of host 'scn-ws9 (192.168.1.109)' can't be established.
RSA key fingerprint is df:1d:98:dc:29:fb:8c:8b:9b:5c:dd:b3:90:ef:e6:31.
Are you sure you want to continue connecting (yes/no)? yes
This is expected the first time you connect with ssh (and is one of the
reasons to try the test command). After you answer yes once, you won't
get this prompt again unless the machine is changed or someone
reinstalls the OS or ssh.
Post by kanti
Means its asking for password.
This should not happen if you have the keys set up correctly.
Post by kanti
but when i am run /usr/bin/ssh -q -x -l root scn-ws9 id this command i got like as belows.
uid=0(root) gid=0(root) groups=0(root)
Do you have this working without the password prompt now or did you have
to type the password to get the response. When it works with no prompt,
backuppc should work.
--
Les Mikesell
***@futuresource.com
kanti
2008-03-31 08:55:51 UTC
Permalink
Hie thanx for ur valuable reply , now every thing is fine . But when i am trying to take a backup of client it tell that unable to read 4 bytes .

Plz try to help me out this problem .
I am waiting for best response.

Thanx a lot in Advance ..
Thanks & Regards,
Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
kanti
2008-04-01 05:12:28 UTC
Permalink
Hie thanx for ur valuable reply , now every thing is fine . But when i am trying to take a backup of client again that same error has occurred. (Unable to read 4 bytes).
The error is like as follows :-
full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws9 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 11798
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)


Plz try to help me out this problem .
I am waiting for best response.

Thanx a lot in Advance ..
Thanks & Regards,
Appu

+----------------------------------------------------------------------
|This was sent by ***@softwiretechnologies.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Les Mikesell
2008-04-01 15:29:42 UTC
Permalink
Post by kanti
Hie thanx for ur valuable reply , now every thing is fine . But when i am trying to take a backup of client again that same error has occurred. (Unable to read 4 bytes).
The error is like as follows :-
full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws9 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 11798
What happens if you try to execute that exact command line as the
backuppc user yourself? It should send some odd character as the start
of the transfer protocol and wait - hit a control-C to exit. If you get
a password prompt or ssh error, you still don't have the keys set up
correctly. If you see some other text message it may be coming from the
login scripts on the remote side and causing trouble with the rsync
protocol.
--
Les Mikesell
***@futuresource.com
Wayne Gemmell
2008-04-14 13:10:15 UTC
Permalink
Post by Les Mikesell
Post by kanti
Hie thanx for ur valuable reply , now every thing is fine . But when i am
trying to take a backup of client again that same error has occurred.
(Unable to read 4 bytes). The error is like as follows :-
full backup started for directory /
Running: /usr/bin/ssh -q -x -l root scn-ws9 /usr/bin/rsync --server
--sender --numeric-ids   --perms --owner  --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times . / Xfer PIDs are
now 11798
What happens if you try to execute that exact command line as the
backuppc user yourself? It should send some odd character as the start
of the transfer protocol and wait - hit a control-C to exit.  If you get
a password prompt or ssh error, you still don't have the keys set up
correctly.  If you see some other text message it may be coming from the
  login scripts on the remote side and causing trouble with the rsync
protocol.
I have a very similar problem to Kanti so I'm going to finish where he left
off. The command is run pointing to a dhcp client. The nmblookup works but
the rsync command above fails because the IP address isn't passed from the
lookup to ssh. Do I then tell my server to do a nmblookup when searching for
the host name?
--
Regards
Wayne
Paul Horn
2008-04-14 13:46:37 UTC
Permalink
Hosts with a dash in the name are not resolved by nmb-lookup. I ended up
putting reserved addresses in my local DHCP server so that such
workstations always receive a "known" ip when on my network, then made a
corresponding entry in /etc/hosts on the backuppc server.

- Paul
Post by Wayne Gemmell
Post by kanti
Running: /usr/bin/ssh -q -x -l root scn-ws9 /usr/bin/rsync --server
<snip>
Post by Wayne Gemmell
I have a very similar problem to Kanti so I'm going to finish where he left
off. The command is run pointing to a dhcp client. The nmblookup works but
the rsync command above fails because the IP address isn't passed from the
lookup to ssh. Do I then tell my server to do a nmblookup when searching for
the host name?
Wayne Gemmell
2008-04-14 13:57:55 UTC
Permalink
Post by Paul Horn
Hosts with a dash in the name are not resolved by nmb-lookup. I ended up
putting reserved addresses in my local DHCP server so that such
workstations always receive a "known" ip when on my network, then made a
corresponding entry in /etc/hosts on the backuppc server.
I knew it wasn't a great plan hijacking another thread. The workstations I am
trying to debug are dude and bob2, no funny characters. The nmblookup does
work, it just doesn't seem to use the result in the rsync.
--
Regards
Wayne
Nils Breunese (Lemonbit)
2008-04-14 14:20:08 UTC
Permalink
Post by Wayne Gemmell
Post by Paul Horn
Hosts with a dash in the name are not resolved by nmb-lookup. I ended up
putting reserved addresses in my local DHCP server so that such
workstations always receive a "known" ip when on my network, then made a
corresponding entry in /etc/hosts on the backuppc server.
I knew it wasn't a great plan hijacking another thread. The
workstations I am
trying to debug are dude and bob2, no funny characters. The
nmblookup does
work, it just doesn't seem to use the result in the rsync.
Have you read 'How BackupPC Finds Hosts'? http://backuppc.sourceforge.net/faq/BackupPC.html#how_backuppc_finds_hosts

Nils Breunese.
Wayne Gemmell
2008-04-14 15:08:04 UTC
Permalink
Post by Nils Breunese (Lemonbit)
Have you read 'How BackupPC Finds Hosts'?
http://backuppc.sourceforge.net/faq/BackupPC.html#how_backuppc_finds_hosts
Yes, the following is part of my output when running
$> /usr/share/backuppc/bin/BackupPC_dump -v dalek

---
NetBiosInfoGet: success, returning host dalek, user dalek
full backup started for directory /home
started full dump, share=/home
Running: /usr/bin/ssh -q -x -l root
dalek /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive -D --ignore-times . /home/
Xfer PIDs are now 12711
xferPids 12711
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)
cmdSystemOrEval: about to system /bin/ping -c 1 192.168.0.17
cmdSystemOrEval: finished: got output PING 192.168.0.17 (192.168.0.17) 56(84)
bytes of data.
64 bytes from 192.168.0.17: icmp_seq=1 ttl=64 time=0.228 ms
----

When I run the rsync part on its own it says unknown host. Running

$>ssh -l root 192.168.0.17 whoami
I get "root"

The rsync versions are the same on both hosts.

This leaves me confused.
--
Regards
Wayne
Paul Mantz
2008-04-17 18:13:12 UTC
Permalink
Okay, this may be a simple error. If you see 'unable to read 4
bytes', what this usually means is that you have a communication
error. BackupPC is receiving data, but something is mis-configured.
My first suspect is the ssh keys. Does the 'backuppc' user on your
backup machine have the keys it needs in its .ssh/ directory?
Post by Wayne Gemmell
Post by Nils Breunese (Lemonbit)
Have you read 'How BackupPC Finds Hosts'?
http://backuppc.sourceforge.net/faq/BackupPC.html#how_backuppc_finds_hosts
Yes, the following is part of my output when running
$> /usr/share/backuppc/bin/BackupPC_dump -v dalek
---
NetBiosInfoGet: success, returning host dalek, user dalek
full backup started for directory /home
started full dump, share=/home
Running: /usr/bin/ssh -q -x -l root
dalek /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive -D --ignore-times . /home/
Xfer PIDs are now 12711
xferPids 12711
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)
cmdSystemOrEval: about to system /bin/ping -c 1 192.168.0.17
cmdSystemOrEval: finished: got output PING 192.168.0.17 (192.168.0.17) 56(84)
bytes of data.
64 bytes from 192.168.0.17: icmp_seq=1 ttl=64 time=0.228 ms
----
When I run the rsync part on its own it says unknown host. Running
$>ssh -l root 192.168.0.17 whoami
I get "root"
The rsync versions are the same on both hosts.
This leaves me confused.
--
Regards
Wayne
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
--
Paul Mantz
http://www.mcpantz.org
Zmanda - Open source backup and recovery http://www.zmanda.com/
Loading...