[BackupPC-users] Problems on Ubuntu 9.10-Client

2009-12-15 Thread Georg Schilling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi folks,

after adding a Ubuntu-Client to our BackupPC-Server I'm struggeling in
some kind of rsync-problems. Apart from that. all other Ubuntu-Clients
(!=9.10)work like a charm. Our BackupPC-server is a Solaris10-X86-machine.

Here comes the XferLOG.bad:
- -8-
Executing DumpPreUserCmd: /etc/BackupPC/Notify_start_backup full
sarpc04.sar.de gep
full backup started for directory /bin (baseline backup #53)
Running: /usr/bin/ssh -q -x -l root sarpc04.sar.de /usr/bin/rsync
- --server --sender --numeric-ids --perms --owner --group -D --links
- --hard-links --times --block-size=2048 --recursive --ignore-times . /bin/
Xfer PIDs are now 26244
Rsync command pid is 26244
Fetching remote protocol
Got remote protocol 1752392034
Fatal error (bad version): bash: warning: setlocale: LC_ALL: cannot
change locale (de)

Checksum seed is 1635196986
Got checksumSeed 0x6177203a
Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Executing DumpPostUserCmd: /etc/BackupPC/Notify_stop_backup full
sarpc04.sar.de 0 gep
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)
- -8-

According to some google-searches I tried a manual rsync from the
server, which work:

- -8-
rsync -e ssh --numeric-ids --perms --owner --group -D --links
- --hard-links --times --block-size=2048 --recursive --one-file-system
- --ignore-times --exclude=/media --exclude=/mnt --exclude=/proc
- --exclude=/sys r...@sarpc04:/ /tmp/foo
- -8-

My opinion is, that there is a kind of version-problems (servers
perl-modules?), but after a painful way of finding the problem, I'm
happy if someone of you can enlighten me.

Always remember to have fun,
Georg
- --
georg schilling systemhaus SAR gmbh
 tel: +49 2401 9195-33   http://www.sar.de   arnold-sommerfeld-ring 27
  fax: +49 2401 9195-66  52499 baesweiler
 amtsgericht aachen - hrb. 5729 - gf hans-juergen schenkelberg
- ---
- -Projektmanagement in der Praxis - 3. SAR-Business-Lunch am 20.01.2010-
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAksnZQYACgkQ7qDbnjwfyy/kIgCZAcoonHdWY0OlMnAeMs8GuE4Q
o5MAoIV8/r/vEAaZ7UxLO6s4mJfJ0nH6
=oR7j
-END PGP SIGNATURE-

!DSPAM:2639,4b27650626299252938490!



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] Problems on Ubuntu 9.10-Client

2009-12-15 Thread Holger Parplies
Hi,

Georg Schilling wrote on 2009-12-15 11:29:26 +0100 [[BackupPC-users] Problems 
on Ubuntu 9.10-Client]:
 [...]
 after adding a Ubuntu-Client to our BackupPC-Server I'm struggeling in
 some kind of rsync-problems. Apart from that. all other Ubuntu-Clients
 (!=9.10)work like a charm. Our BackupPC-server is a Solaris10-X86-machine.
 
 Here comes the XferLOG.bad:
 - -8-
 Executing DumpPreUserCmd: /etc/BackupPC/Notify_start_backup full
 sarpc04.sar.de gep
 full backup started for directory /bin (baseline backup #53)
 Running: /usr/bin/ssh -q -x -l root sarpc04.sar.de /usr/bin/rsync
 - --server --sender --numeric-ids --perms --owner --group -D --links
 - --hard-links --times --block-size=2048 --recursive --ignore-times . /bin/
 Xfer PIDs are now 26244
 Rsync command pid is 26244
 Fetching remote protocol
 Got remote protocol 1752392034
 Fatal error (bad version): bash: warning: setlocale: LC_ALL: cannot
 change locale (de)

this is the problem: your remote end outputs 'bash: warning: setlocale:
LC_ALL: cannot change locale (de)', which it mustn't. Apart from localized
root error messages being a real pain for the administrator of the machine
(but that's just my opinion), BackupPC rsync backups need a data stream free
of extraneous output. You need to be able to run

ssh -q -x -l root sarpc04.sar.de /bin/true

(as backuppc user on the BackupPC server) without getting *any* output. For
tar backups, the locale settings would matter, for rsync backups I don't
believe they do. They just need to be correct so you don't get any warning
messages (maybe you need to use 'de_DE' instead of 'de' somewhere?). You
probably need to check the bash startup files for root and the global ones or
basically anything you might have changed to set the locale to 'de'.

Hope that helps.

Regards,
Holger

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] Problems on Ubuntu 9.10-Client

2009-12-15 Thread Georg Schilling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holger Parplies schrieb:
 Hi,

Hi,

 Georg Schilling wrote on 2009-12-15 11:29:26 +0100 [[BackupPC-users] Problems 
 on Ubuntu 9.10-Client]:
 [...]
 after adding a Ubuntu-Client to our BackupPC-Server I'm struggeling in
 some kind of rsync-problems. Apart from that. all other Ubuntu-Clients
 (!=9.10)work like a charm. Our BackupPC-server is a Solaris10-X86-machine.

 Here comes the XferLOG.bad:
 - -8-
 Executing DumpPreUserCmd: /etc/BackupPC/Notify_start_backup full
 sarpc04.sar.de gep
 full backup started for directory /bin (baseline backup #53)
 Running: /usr/bin/ssh -q -x -l root sarpc04.sar.de /usr/bin/rsync
 - --server --sender --numeric-ids --perms --owner --group -D --links
 - --hard-links --times --block-size=2048 --recursive --ignore-times . /bin/
 Xfer PIDs are now 26244
 Rsync command pid is 26244
 Fetching remote protocol
 Got remote protocol 1752392034
 Fatal error (bad version): bash: warning: setlocale: LC_ALL: cannot
 change locale (de)
 
 this is the problem: your remote end outputs 'bash: warning: setlocale:
 LC_ALL: cannot change locale (de)', which it mustn't. Apart from localized
 root error messages being a real pain for the administrator of the machine
 (but that's just my opinion),

FULL ACK!

 BackupPC rsync backups need a data stream free
 of extraneous output. You need to be able to run
 
   ssh -q -x -l root sarpc04.sar.de /bin/true

As you mentioned there is no output.

 (as backuppc user on the BackupPC server) without getting *any* output. For
 tar backups, the locale settings would matter, for rsync backups I don't
 believe they do. They just need to be correct so you don't get any warning
 messages (maybe you need to use 'de_DE' instead of 'de' somewhere?). You
 probably need to check the bash startup files for root and the global ones or
 basically anything you might have changed to set the locale to 'de'.

After some tests on the bash I found the problem. Within the config.pl
for sarpc04 $Conf{ClientCharset} was set to 'de'. After removing de
backup works fine.

Holger, YMMD!

Remember to have fun,
Georg
- --
georg schilling systemhaus SAR gmbh
 tel: +49 2401 9195-33   http://www.sar.de   arnold-sommerfeld-ring 27
  fax: +49 2401 9195-66  52499 baesweiler
 amtsgericht aachen - hrb. 5729 - gf hans-juergen schenkelberg
- ---
- -Projektmanagement in der Praxis - 3. SAR-Business-Lunch am 20.01.2010-
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAksniTUACgkQ7qDbnjwfyy9zjwCgm7jhzTel71dNXGkuUtgZQPqK
MoQAoLDMqDrwpaH8DwcOg1AlFY5IoACF
=JtXS
-END PGP SIGNATURE-

!DSPAM:2639,4b27893826291401036103!



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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/