[BackupPC-users] Fatal error (bad version): OpenSSH_5.0p1

2008-08-04 Thread brunal2496

This is an edited version of a previous post


Thanks so much for your help!


> Can you
> 
>   backuppc < at > backuppc-server% rsync root < at > 192.168.1.2:truc.txt 
> tmp/
> 
> without any problem, manual interaction or extraneous output?
> 

Yes, it works perfect. No particular output, no needed interactions.

[...]


> You aren't running rsyncd, so the server is "rsync --server" in  
> both cases.
> BackupPC uses File::RsyncP and starts the server over an ssh  
> connection (see
> your log excerpt above). "rsync root < at > bla:truc.txt tmp/"  
> automatically runs
> "rsync --server ..." over "ssh root < at > bla". If you want to test the  
> command
> BackupPC runs, try, *as the backuppc user on the BackupPC server*,
> 
>   % rsync --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times  
> root < at > 192.168.1.2:/home/temp/ /tmp/anywhere-you-like
> 
> Does that work as expected? Does it ask any questions? Does it  
> output anything
> strange? Anything at all?
> 

thanks for this useful-debug-tool-command line!
May I suggest that this command will be added somewhere in the  
Backuppc wiki, in a "check what's wrong" section

I've tried this command and I get an error about write permission  
[see below], so I change the user from backuppc to root, do the ssh  
key exchange for root, and finally it WORKS! I've changed the user in  
the etc/BackupPC/hosts file, replacing backuppc by root, started a  
backup throught the web interface, and a backup has started. Cool!

So here comes another question :
I get a write permission error coming from the BackupServer because  
the user backuppc on the BackupServer as no write permission on a  
backuped folder. i.e :

root < at > MainServer%  ls -la /home/
d---r-xr-x  5 bruno   bruno        4096 
2007-10-09 14:07 wikiinterne

So when this folder was copied on the BackupServer, the backuppc user  
had no write permission to create the subfolder contained in the  
wikiinterne folder, that's why the backup failed. Of course now that  
it is root the user on the BackupServer, he has all rights to create  
everything.

I believe I will keep running backuppc using the root user on both  
side, but is there a workaround? Because I don't want backuppc to  
have write access on all files on my MainServer...


Anyway thank you so much for your help!
I will keep experiencing after my vacation and I will fill the wiki  
with an "howto install backuppc on a DNS-323 with rsync".

Best regards,
Bruno.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-08-04 Thread brunal
Thanks so much for your help!

> Can you
>
>   [EMAIL PROTECTED] rsync [EMAIL PROTECTED]:truc.txt tmp/
>
> without any problem, manual interaction or extraneous output?

Yes, it works perfect. No particular output, no needed interactions.

[...]

> You aren't running rsyncd, so the server is "rsync --server" in  
> both cases.
> BackupPC uses File::RsyncP and starts the server over an ssh  
> connection (see
> your log excerpt above). "rsync [EMAIL PROTECTED]:truc.txt tmp/"  
> automatically runs
> "rsync --server ..." over "ssh [EMAIL PROTECTED]". If you want to test the  
> command
> BackupPC runs, try, *as the backuppc user on the BackupPC server*,
>
>   % rsync --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times  
> [EMAIL PROTECTED]:/home/temp/ /tmp/anywhere-you-like
>
> Does that work as expected? Does it ask any questions? Does it  
> output anything
> strange? Anything at all?

thanks for this useful-debug-tool-command line!
May I suggest that this command will be added somewhere in the  
Backuppc wiki, in a "check what's wrong" section

I've tried this command and I get an error about write permission  
[see below], so I change the user from backuppc to root, do the ssh  
key exchange for root, and finally it WORKS! I've changed the user in  
the etc/BackupPC/hosts file, replacing backuppc by root, started a  
backup throught the web interface, and a backup has started. Cool!

So here comes another question :
I get a write permission error coming from the BackupServer because  
the user backuppc on the BackupServer as no write permission on a  
backuped folder. i.e :
[EMAIL PROTECTED]  ls -la /home/
d---r-xr-x  5 bruno   bruno4096 2007-10-09 14:07 wikiinterne

So when this folder was copied on the BackupServer, the backuppc user  
had no write permission to create the subfolder contained in the  
wikiinterne folder, that's why the backup failed. Of course now that  
it is root the user on the BackupServer, he has all rights to create  
everything.

I believe I will keep running backuppc using the root user on both  
side, but is there a workaround? Because I don't want backuppc to  
have write access on all files on my MainServer...


Anyway thank you so much for your help!
I will keep experiencing after my vacation and I will fill the wiki  
with an "howto install backuppc on a DNS-323 with rsync".

Best regards,
Bruno.


>
> brunal wrote on 2008-08-01 11:20:47 +0200 [Re: [BackupPC-users]  
> Fatal error (bad version): OpenSSH_5.0p1]:
>> Can somebody explain me why source and destination are inverted in
>> the backuppc command, compare to the usual rsync use?
>
> See "rsync basics" above. The command you are referring to starts  
> the server.
> The rsync server command line syntax is of little interest to us.  
> BackupPC
> knows which order the parameters have to be in, so we don't.
>
>> I did the following on 192.168.1.2 :
>> - stop all firewall and protection
>> - allow root to connect by ssh
>
> Please verify that backuppc can 'ssh -l root' without password prompt.
> The rsync command I gave you above does that, but once more: you  
> need to run
> it as the backuppc user.
>
>> I've tried this command in bash :
>> /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --server --
>> sender --numeric-ids --perms --owner --group -D --links --hard-links
>> --times --block-size=2048 --recursive --ignore-times . /home/racine/
>> wikiinterne/
>>
>> Nothing happend and the command freeze. Why?
>
> See above.
>
>> I tried this command in a bash, (same as above, wihtout --server --
>> sender) :
>> /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --verbose --
>> numeric-ids --perms --owner --group -D --links --hard-links -- 
>> times --
>> block-size=2048 --recursive --ignore-times . /home/racine/wikiinterne
>>
>> It copies all the content of the /root/ folder to the /home/racine/
>> wikiinterne folder, all of this happend on the client, nothing is
>> transfered on the backup server.
>
> That's what it is supposed to do. Neither source (".") nor destination
> ("/home/racine/wikiinterne") are remote, so it's a local copy you  
> requested.
>
> Hope that helps.
>
> Regards,
> Holger


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-08-01 Thread Nils Breunese (Lemonbit)
Holger Parplies wrote:

> brunal wrote on 2008-07-30 11:49:12 +0200 [Re: [BackupPC-users]  
> Fatal error (bad version): OpenSSH_5.0p1]:
>> [...]
>> So I deleted the message in /etc/issue.net and also comment the
>> "banner /etc/issue.net" line in /etc/ssh/sshd_config.
>
> Well, removing the "banner" directive should have been enough, I  
> guess ...

I backup multiple machines that have an SSH banner configured, but  
that works just fine. SSH sends this text before the authentication is  
handled, so I guess that's why it doesn't interfere.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-08-01 Thread Holger Parplies
Hi,

brunal wrote on 2008-07-29 13:03:00 +0200 [[BackupPC-users] Fatal error (bad 
version): OpenSSH_5.0p1]:
> [...]
> What is strange is that I can ssh without problem nor error from the  
> backup server to the server to backup (192.168.1.2).
> I also can run a command like
> [Code]
> rsync -t 192.168.1.2:~/truc.txt ./tmp/
> [/Code]
> wihtout any problem, which use ssh and a public key.

ah, but that is *not exactly* what BackupPC does. Can you

[EMAIL PROTECTED] rsync [EMAIL PROTECTED]:truc.txt tmp/

without any problem, manual interaction or extraneous output?

brunal wrote on 2008-07-30 11:49:12 +0200 [Re: [BackupPC-users] Fatal error 
(bad version): OpenSSH_5.0p1]:
> [...]
> So I deleted the message in /etc/issue.net and also comment the
> "banner /etc/issue.net" line in /etc/ssh/sshd_config.

Well, removing the "banner" directive should have been enough, I guess ...

> Now the ssh+date command *only* output the date.

Good. That was necessary in any case.

> [...]
> But when I get :
> /ffp/bin/ssh -q -x -l root 192.168.1.2 rsync --server --sender -- 
> numeric-ids --perms --owner --group -D --links --hard-links --times -- 
> block-size=2048 --recursive --ignore-times . /home/temp/
> 
> Nothing happend and the command just freeze. (crying again).

Yes. That is what you asked for. You started an rsync server, so you'll have
to be an rsync client ... start typing ;-).

rsync basics in brief:
The way rsync works is by exchanging a special protocol between the rsync
client and an rsync server. The server can be an rsyncd or an invocation of
"rsync --server" automatically started over a remote shell. The client can be
an invocation of "rsync" (without "--server") or File::RsyncP.

You aren't running rsyncd, so the server is "rsync --server" in both cases.
BackupPC uses File::RsyncP and starts the server over an ssh connection (see
your log excerpt above). "rsync [EMAIL PROTECTED]:truc.txt tmp/" automatically 
runs
"rsync --server ..." over "ssh [EMAIL PROTECTED]". If you want to test the 
command
BackupPC runs, try, *as the backuppc user on the BackupPC server*,

% rsync --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times [EMAIL 
PROTECTED]:/home/temp/ /tmp/anywhere-you-like

Does that work as expected? Does it ask any questions? Does it output anything
strange? Anything at all?

brunal wrote on 2008-08-01 11:20:47 +0200 [Re: [BackupPC-users] Fatal error 
(bad version): OpenSSH_5.0p1]:
> Can somebody explain me why source and destination are inverted in  
> the backuppc command, compare to the usual rsync use?

See "rsync basics" above. The command you are referring to starts the server.
The rsync server command line syntax is of little interest to us. BackupPC
knows which order the parameters have to be in, so we don't.

> I did the following on 192.168.1.2 :
> - stop all firewall and protection
> - allow root to connect by ssh

Please verify that backuppc can 'ssh -l root' without password prompt.
The rsync command I gave you above does that, but once more: you need to run
it as the backuppc user.

> I've tried this command in bash :
> /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --server -- 
> sender --numeric-ids --perms --owner --group -D --links --hard-links  
> --times --block-size=2048 --recursive --ignore-times . /home/racine/ 
> wikiinterne/
> 
> Nothing happend and the command freeze. Why?

See above.

> I tried this command in a bash, (same as above, wihtout --server -- 
> sender) :
> /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --verbose -- 
> numeric-ids --perms --owner --group -D --links --hard-links --times -- 
> block-size=2048 --recursive --ignore-times . /home/racine/wikiinterne
> 
> It copies all the content of the /root/ folder to the /home/racine/ 
> wikiinterne folder, all of this happend on the client, nothing is  
> transfered on the backup server.

That's what it is supposed to do. Neither source (".") nor destination
("/home/racine/wikiinterne") are remote, so it's a local copy you requested.

Hope that helps.

Regards,
Holger

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-08-01 Thread brunal

> I notice that you had to provide the full path to rsync in your
> /usr/bin/rsync --version example, but you don't have the full path in
> the backuppc rsync command. Maybe that's a clue (although I would be
> surprised that /usr/bin isn't in root's path).

Thanks John, but it doesn't change anything.

Can somebody explain me why source and destination are inverted in  
the backuppc command, compare to the usual rsync use?

Here are my last experiences, altough the backuppc error message is  
still

Running: /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync -- 
server --sender --numeric-ids --perms --owner --group -D --links -- 
hard-links --times --block-size=2048 --recursive --ignore-times . / 
home/racine/wikiinterne/
Xfer PIDs are now 2465
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)

What can I do to understand better my problem, and so find a solution  
for it?

I did the following on 192.168.1.2 :
- stop all firewall and protection
- allow root to connect by ssh

I've tried this command in bash :
/ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --server -- 
sender --numeric-ids --perms --owner --group -D --links --hard-links  
--times --block-size=2048 --recursive --ignore-times . /home/racine/ 
wikiinterne/

Nothing happend and the command freeze. Why?

I tried this command in a bash, (same as above, wihtout --server -- 
sender) :
/ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --verbose -- 
numeric-ids --perms --owner --group -D --links --hard-links --times -- 
block-size=2048 --recursive --ignore-times . /home/racine/wikiinterne

It copies all the content of the /root/ folder to the /home/racine/ 
wikiinterne folder, all of this happend on the client, nothing is  
transfered on the backup server.

What can I test to make it work?

Reagrds,
bruno

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-07-31 Thread John Rouillard
On Wed, Jul 30, 2008 at 11:49:12AM +0200, brunal wrote:
> But still doesn't work, same old story with "Unable to read 4 bytes".  
> (crying).
> 
> So after filling a few kleenex, I tried these commands :
> 
> /ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --version
> 
> Answer :
> rsync  version 2.6.9  protocol version 29
> Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
> 
> Capabilities: 64-bit files,  blablabla
> ... General Public Licence for details.
> 
> Seems to work!
> 
> But when I get :
> /ffp/bin/ssh -q -x -l root 192.168.1.2 rsync --server --sender -- 
> numeric-ids --perms --owner --group -D --links --hard-links --times -- 
> block-size=2048 --recursive --ignore-times . /home/temp/
> 
> Nothing happend and the command just freeze. (crying again).
> 
> i tried to dig in /var/log in the host-to-backup-192.168.1.2 to fing  
> a relevant log file but I found nothing.
> 
> Please light my way, it's getting darker

I notice that you had to provide the full path to rsync in your
/usr/bin/rsync --version example, but you don't have the full path in
the backuppc rsync command. Maybe that's a clue (although I would be
surprised that /usr/bin isn't in root's path).

-- 
-- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-244-9084 (cell)
603-643-9300 x 111

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-07-30 Thread brunal
Hi,

first of all, thanks all for your help!


>>> server --sender --numeric-ids --perms --owner --group -D --links --
>>> hard-links --times --block-size=2048 --recursive --ignore-times . /
>>> home/racine/archives/
>>> Xfer PIDs are now 624
>>> Got remote protocol 1852141647
>>> Fatal error (bad version): OpenSSH_5.0p1
>
> That means File::RsyncP does not accept "OpenSSH_5.0p1" as version  
> number of
> the remote rsync. That's fine, because it isn't. Your ssh should  
> not be
> interfering in the rsync data stream. It is essential that, eg.
>
>   [EMAIL PROTECTED] ssh -x -l root 192.168.1.2 date
>
> does not output *anything* except the date (adjust the remote  
> command to match
> your taste, but 'date' is harmless enough). Just adjust the command  
> to omit
> the -v switch and you should be fine.

I tried it, but unfortunately it doesn't work :

first of all I tried the -v option to try to understand why I get  
this error :

Running: /ffp/bin/ssh -q -x -l root 192.168.1.2 rsync --server -- 
sender --numeric-ids --perms --owner --group -D --links --hard-links  
--times --block-size=2048 --recursive --ignore-times . /home/racine/ 
archives/
Xfer PIDs are now 13480
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)

I still have this error (sniff... :-( ).

Second, I tried your ssh+date command, and I realized that I have a  
welcome message before login on the ssh server. So I deleted the  
message in /etc/issue.net and also comment the "banner /etc/ 
issue.net" line in /etc/ssh/sshd_config. Now the ssh+date command  
*only* output the date.

But still doesn't work, same old story with "Unable to read 4 bytes".  
(crying).

So after filling a few kleenex, I tried these commands :

/ffp/bin/ssh -q -x -l root 192.168.1.2 /usr/bin/rsync --version

Answer :
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

Capabilities: 64-bit files,  blablabla
... General Public Licence for details.

Seems to work!

But when I get :
/ffp/bin/ssh -q -x -l root 192.168.1.2 rsync --server --sender -- 
numeric-ids --perms --owner --group -D --links --hard-links --times -- 
block-size=2048 --recursive --ignore-times . /home/temp/

Nothing happend and the command just freeze. (crying again).

i tried to dig in /var/log in the host-to-backup-192.168.1.2 to fing  
a relevant log file but I found nothing.

Please light my way, it's getting darker


> As for the -v switch to rsync (probably in $Conf{RsyncArgs}), it  
> *is* in the
> example in the default config file (however, the example clearly  
> states that
> it should be added *after* the default args), but I can't really  
> imagine why
> you would want it, and I'm sceptical that it would work. You seem  
> to have
> added switches for debugging before having a problem to debug,  
> which are now
> causing a problem ... generating extra output to track down why  
> something is
> not working as expected is best done when invoking the commands  
> from a command
> line, not within BackupPC operation [or any other software that  
> automatically
> runs commands and interprets their output].

Yes I modified by myself the $Conf{RsyncCmd} to try different things.

Cheers!
Bruno

>
> Regards,
> Holger


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-07-29 Thread Holger Parplies
Hi,

Rob Owens wrote on 2008-07-29 10:55:39 -0400 [Re: [BackupPC-users] Fatal error 
(bad version): OpenSSH_5.0p1]:
> There was a Debian/Ubuntu bug in ssh a few months back.

that is unrelated in this case.

> Before that, brunal had written:
> > 
> > Everything is fine but when I try to launch a (full and first) backup  
> > I get this error :
> > [Code]
> > full backup started for directory /home/racine/archives
> > Running: /ffp/bin/ssh -v -x -l root 192.168.1.2 /ffp/bin/rsync -v -- 

ssh -v? You don't want the -v.

> > server --sender --numeric-ids --perms --owner --group -D --links -- 
> > hard-links --times --block-size=2048 --recursive --ignore-times . / 
> > home/racine/archives/
> > Xfer PIDs are now 624
> > Got remote protocol 1852141647
> > Fatal error (bad version): OpenSSH_5.0p1

That means File::RsyncP does not accept "OpenSSH_5.0p1" as version number of
the remote rsync. That's fine, because it isn't. Your ssh should not be
interfering in the rsync data stream. It is essential that, eg.

[EMAIL PROTECTED] ssh -x -l root 192.168.1.2 date

does not output *anything* except the date (adjust the remote command to match
your taste, but 'date' is harmless enough). Just adjust the command to omit
the -v switch and you should be fine.

As for the -v switch to rsync (probably in $Conf{RsyncArgs}), it *is* in the
example in the default config file (however, the example clearly states that
it should be added *after* the default args), but I can't really imagine why
you would want it, and I'm sceptical that it would work. You seem to have
added switches for debugging before having a problem to debug, which are now
causing a problem ... generating extra output to track down why something is
not working as expected is best done when invoking the commands from a command
line, not within BackupPC operation [or any other software that automatically
runs commands and interprets their output].

Regards,
Holger

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-07-29 Thread Rob Owens
There was a Debian/Ubuntu bug in ssh a few months back.  Update your ssh 
server and client software and then try again to see if you get the same 
error.  Note that the update will recreate your server keys, and you'll 
need to create new public/private keypairs for your users (backuppc 
user, in particular).

-Rob

brunal wrote:
> Hi all,
> 
> I'm using backuppc on a Dlink DNS-323 with fun_plug.
> 
> Everything is fine but when I try to launch a (full and first) backup  
> I get this error :
> [Code]
> full backup started for directory /home/racine/archives
> Running: /ffp/bin/ssh -v -x -l root 192.168.1.2 /ffp/bin/rsync -v -- 
> server --sender --numeric-ids --perms --owner --group -D --links -- 
> hard-links --times --block-size=2048 --recursive --ignore-times . / 
> home/racine/archives/
> Xfer PIDs are now 624
> Got remote protocol 1852141647
> Fatal error (bad version): OpenSSH_5.0p1
> Sent exclude: /home/racine/rd/audio/banque2sons
> Sent exclude: /home/racine/rd/audio/loops
> ...
> 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)
> [/Code]
> 
> So on linux machine I want to backup (192.168.1.2), it's a Ubuntu  
> 7.04, and the openssh package install is 4.3p2-8ubuntu1.4 . I've just  
> upgrade the server packages. It seems that ubuntu 8.04 got openssh  
> package 5.0p1, but I don't want to dist-upgrade now, because I want  
> to backup the server before upgrading (vicious cycle isn't it?)
> 
> On the backup server where backuppc is running, the openssh package  
> is OpenSSH_5.0p1 .
> 
> Does anyone have an idea, how I can solve this problem? The error is  
> bad version : but does it means OpenSSH_5.0p1 is the bad version or  
> is it 4.3p2-8 the bad version?
> 
> What is strange is that I can ssh without problem nor error from the  
> backup server to the server to backup (192.168.1.2).
> I also can run a command like
> [Code]
> rsync -t 192.168.1.2:~/truc.txt ./tmp/
> [/Code]
> wihtout any problem, which use ssh and a public key.
> 
> ???
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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/


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Fatal error (bad version): OpenSSH_5.0p1

2008-07-29 Thread brunal
Hi all,

I'm using backuppc on a Dlink DNS-323 with fun_plug.

Everything is fine but when I try to launch a (full and first) backup  
I get this error :
[Code]
full backup started for directory /home/racine/archives
Running: /ffp/bin/ssh -v -x -l root 192.168.1.2 /ffp/bin/rsync -v -- 
server --sender --numeric-ids --perms --owner --group -D --links -- 
hard-links --times --block-size=2048 --recursive --ignore-times . / 
home/racine/archives/
Xfer PIDs are now 624
Got remote protocol 1852141647
Fatal error (bad version): OpenSSH_5.0p1
Sent exclude: /home/racine/rd/audio/banque2sons
Sent exclude: /home/racine/rd/audio/loops
...
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)
[/Code]

So on linux machine I want to backup (192.168.1.2), it's a Ubuntu  
7.04, and the openssh package install is 4.3p2-8ubuntu1.4 . I've just  
upgrade the server packages. It seems that ubuntu 8.04 got openssh  
package 5.0p1, but I don't want to dist-upgrade now, because I want  
to backup the server before upgrading (vicious cycle isn't it?)

On the backup server where backuppc is running, the openssh package  
is OpenSSH_5.0p1 .

Does anyone have an idea, how I can solve this problem? The error is  
bad version : but does it means OpenSSH_5.0p1 is the bad version or  
is it 4.3p2-8 the bad version?

What is strange is that I can ssh without problem nor error from the  
backup server to the server to backup (192.168.1.2).
I also can run a command like
[Code]
rsync -t 192.168.1.2:~/truc.txt ./tmp/
[/Code]
wihtout any problem, which use ssh and a public key.

???

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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/