Re: [BackupPC-users] Funny ssh Problems

2006-06-14 Thread Craig Barratt
Nils Breunese (Lemonbit Internet) writes:

 Travis Fraser wrote:
 
  What version of rsync are you using? Later versions need --devices
  changed to -D in $Conf{RsyncArgs}.
 
 I guess I need to change this for $Conf{RsyncRestoreArgs}  as well?

Yes.

Craig


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Randall Barlow wrote:

 Sorry for the post - as fate would have it I resolved the issue just
 minutes after posting it.  It turns out that I had only attempted to
 connect to remotehost.remotedomain as I was testing how well the  
 ssh key
 pair worked, but backuppc was just trying to connect to remotehost
 (thus, the name remotehost hadn't been added to the known_hosts and it
 was asking the yes/no question which backuppc wasn't expecting/ 
 shouldn't
 expect :))

I have the same problem (fileListReceive failed):

Running: /usr/bin/ssh -q -x -l root full-hostname /usr/bin/rsync -- 
server --sender --numeric-ids --perms --owner --group --devices -- 
links --times --block-size=2048 --recursive --exclude=/proc --ignore- 
times . /
Xfer PIDs are now 12189
Got remote protocol 29
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)

I'm using the rsync transfer method. However, when I do 'su -  
backuppc' I can run 'ssh root@full-hostname' just fine and I end up  
at the prompt of the client machine. Where else do I check what's wrong?

Nils Breunese.

 Randall Barlow wrote:
 OK,

So I have the system backing up my localhost OK, and two other
 windows machines, but I'm having trouble getting it to work with  
 rsync
 over ssh for a remote host.  I am running backuppc as user apache,  
 and
 so I've created a public/private key pair and stored it in
 ~apache/.ssh/id_rsa on the local server, and have added it to the  
 root
 user's authorized keys for the remote server.  Now if I su apache,  
 I am
 allowed to ssh to the remote host without being asked for a password.
 However, when I try to backup the remote machine via the CGI, I  
 get the
 error: fileListReceive failed.  Inspecting the logs:

 Fatal error (bad version): Xlib: connection to :0.0 refused by  
 server
 Xlib: Read EOF: Tried again: got 0 bytes
 fileListReceive() failed
 Done: 0 files, 0 bytes
 Got fatal error during xfer (fileListReceive failed)
 Backup aborted (fileListReceive failed)

 Has anybody seen this problem before?  It seems like it's trying  
 to open
 up an X window for some reason, any ideas?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Travis Fraser
On Mon, 2006-06-12 at 19:22 +0200, Nils Breunese (Lemonbit Internet)
wrote:
 Randall Barlow wrote:
 
  Sorry for the post - as fate would have it I resolved the issue just
  minutes after posting it.  It turns out that I had only attempted to
  connect to remotehost.remotedomain as I was testing how well the  
  ssh key
  pair worked, but backuppc was just trying to connect to remotehost
  (thus, the name remotehost hadn't been added to the known_hosts and it
  was asking the yes/no question which backuppc wasn't expecting/ 
  shouldn't
  expect :))
 
 I have the same problem (fileListReceive failed):
 
 Running: /usr/bin/ssh -q -x -l root full-hostname /usr/bin/rsync -- 
 server --sender --numeric-ids --perms --owner --group --devices -- 
 links --times --block-size=2048 --recursive --exclude=/proc --ignore- 
 times . /
 Xfer PIDs are now 12189
 Got remote protocol 29
 fileListReceive() failed
 Done: 0 files, 0 bytes
 Got fatal error during xfer (fileListReceive failed)
 Backup aborted (fileListReceive failed)
 
 I'm using the rsync transfer method. However, when I do 'su -  
 backuppc' I can run 'ssh root@full-hostname' just fine and I end up  
 at the prompt of the client machine. Where else do I check what's wrong?
 
What version of rsync are you using? Later versions need --devices
changed to -D in $Conf{RsyncArgs}.

 Nils Breunese.
 
  Randall Barlow wrote:
  OK,
 
 So I have the system backing up my localhost OK, and two other
  windows machines, but I'm having trouble getting it to work with  
  rsync
  over ssh for a remote host.  I am running backuppc as user apache,  
  and
  so I've created a public/private key pair and stored it in
  ~apache/.ssh/id_rsa on the local server, and have added it to the  
  root
  user's authorized keys for the remote server.  Now if I su apache,  
  I am
  allowed to ssh to the remote host without being asked for a password.
  However, when I try to backup the remote machine via the CGI, I  
  get the
  error: fileListReceive failed.  Inspecting the logs:
 
  Fatal error (bad version): Xlib: connection to :0.0 refused by  
  server
  Xlib: Read EOF: Tried again: got 0 bytes
  fileListReceive() failed
  Done: 0 files, 0 bytes
  Got fatal error during xfer (fileListReceive failed)
  Backup aborted (fileListReceive failed)
 
  Has anybody seen this problem before?  It seems like it's trying  
  to open
  up an X window for some reason, any ideas?
 
 
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
 
-- 
Travis Fraser [EMAIL PROTECTED]



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Travis Fraser wrote:

 What version of rsync are you using? Later versions need --devices
 changed to -D in $Conf{RsyncArgs}.

My test client has rsync 2.6.8. I changed that and it seems my first  
backup is finally rolling in. Where would I have missed that in the  
documentation?

Thanks a lot,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Les Mikesell
On Mon, 2006-06-12 at 21:50 +0200, Nils Breunese (Lemonbit Internet)
wrote:
 Travis Fraser wrote:
 
  What version of rsync are you using? Later versions need --devices
  changed to -D in $Conf{RsyncArgs}.
 
 My test client has rsync 2.6.8. I changed that and it seems my first  
 backup is finally rolling in. Where would I have missed that in the  
 documentation?

The change in rsync 2.6.8 is fairly recent.  You'd only find it 
mentioned in the mailing list archives.

-- 
 Les Mikesell
   [EMAIL PROTECTED]




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Nils Breunese (Lemonbit Internet)
Travis Fraser wrote:

 What version of rsync are you using? Later versions need --devices
 changed to -D in $Conf{RsyncArgs}.

I guess I need to change this for $Conf{RsyncRestoreArgs}  as well?

Nils Breunese.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Funny ssh Problems

2006-06-12 Thread Travis Fraser
Nils Breunese (Lemonbit Internet) wrote:
 Travis Fraser wrote:

   
 What version of rsync are you using? Later versions need --devices
 changed to -D in $Conf{RsyncArgs}.
 

 I guess I need to change this for $Conf{RsyncRestoreArgs}  as well?
   
I would think so, although I haven't tested that part yet.

Travis


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/