A strange rdiff_backup error and its solution

Author: Stephan  |  Category: Linux, Netzwerk, Sonstiges

After a longer migration of rdiff_backup repository (4 Weeks) I got this strange error

[03/20/13 13:31:44] Exception 'Found too many current_mirror incs!' raised of class
'':
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 304,
in error_check_Main
[03/20/13 13:31:44] try: Main(arglist)
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 324,
in Main
[03/20/13 13:31:44] take_action(rps)
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 280,
in take_action
[03/20/13 13:31:44] elif action == "backup": Backup(rps[0], rps[1])
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 337,
in Backup
[03/20/13 13:31:44] backup_final_init(rpout)
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 501,
in backup_final_init
[03/20/13 13:31:44] checkdest_if_necessary(rpout)
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 916,
in checkdest_if_necessary
[03/20/13 13:31:44] need_check = checkdest_need_check(dest_rp)
[03/20/13 13:31:44] File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 907,
in checkdest_need_check
[03/20/13 13:31:44] assert len(curmir_incs) == 2, "Found too many current_mirror incs!"

What happened ? Because of the very long Migration of the repository more than one current_mirror Statusfiles had been synced.
In the errormessage above it had been two files .
how to solve ?
Simply delete in all rdiff_datadirs all current_mirror* files except the newest one and your rdiff_backup is running again

Numlock Madness with my ubuntu netbook

Author: Stephan  |  Category: Linux, Netbook

Last weekend my netbook had a very strange behaviour. When pressed “O” a “6 “appeared instead .; instead of a “.” a “,” appeared and so one.
It was the behaviour of a constantly pressed FN Key.
After an hour of debugging I found the solution. I used an external keyboard some days before ( with NUM Lock ) and my system saved this setting. releasing NUM Lock and the strange behaviour was gone.

1-wire Problems with ubuntu and ds2490

Author: Stephan  |  Category: Linux, Netzwerk

After installing a new 1-Wire controller onto my Ubuntuserver the load was raising to 3 and higher and the server wasn’t manageable.
The Problem was the kernel driver. After unloading thecorrosponding modules and editing /etc/modprobe.d/blacklist
the system was operable again

blacklist wire
blacklist ds2490

After that I build owfs and everything was fine

custom hosts file for DNS-Problems

Author: Stephan  |  Category: Linux, Netzwerk, Weltgeschehen, windows

After big DNS-Problems at DENIC , manager of the .de domain, I think its not the worst idea to have a hostfile with the most important IPs.

A suggestion

209.85.229.104 google.de
213.144.235.206 ixquick.com

193.99.144.85 heise.de
208.80.152.2 wikipedia.org

213.71.15.101 tagesschau.de

79.125.5.160 robtex.com

This File belongs into the directory /etc at Linux Systems into %windir%\system32\drivers\etc at Windows Systems.
You should use this file only in case of DNS Problems
[1]
http://www.denic.de/denic-im-dialog/news/2731.html?cHash=e24c31a412