Fri Apr 5 13:50:17 -03 2019 restic resiliency in case of corruption/loss/damage in its backup repository files: -> Summary of the conversation with the main developer (fd0) on irc://irc.freenode.net/#restic: 03:04 < fd0> [...] ah, the example isn't great [referring to "look for "boom" here: https://restic.readthedocs.io/en/latest/045_working_with_repos.html?highlight=%22boom%22 03:05 < fd0> [...] the index can be recreated with 'rebuild-index' if it's corrupted 03:05 < fd0> for other things, it depends what's broken 03:05 < fd0> if the key file is lost, you're screwed 03:05 < fd0> it isn't cache on the client (on purpose) 03:06 < fd0> if some file below data/ is lost, there are two cases: 03:06 < fd0> 1) it contained data blobs (parts of files), then all files referencing these blobs cannot be restored completely 03:06 < fd0> 2) it contained tree blobs (metadata), then all dirs described by the metadata cannot be restored 03:06 < fd0> including any dirs referenced by the missing metadata 03:07 < fd0> for the rest, there's a good chance most of it can be restored 03:07 < fd0> there's even the the (relatively new) 'recover' command, which looks for trees that aren't referenced anywhere, and creates a new snapshot containing them Sat Sep 13 08:00:13 PDT 2014 /bin/less aborting with message "Cannot allocate memory (press RETURN)" when searching for strings in a largish (~1GB) file: -> Never saw that before; a google search also returned nothing useful; -> Happened while I was searching log files in a Linux Ubuntu 10.04 (Kernel 2.6.32) 8GB ECC RAM AMD Phenon II machine which just had a complete lockup and had to be hardware-reset. -> An strace on the /bin/less process showed calls to mmap2() returning ENOMEM (even as the machine had more than enough RAM free to load the entire file in memory, which /bin/less doesn't do). -> After a few attempts trying to debug this situation, the machine hang completely again. -> I opened the case to examine it; lo and behold, it had a seized (ie, non-turning) rear fan. Also, touching the on-board chipset heatsink was distinctly umcomfortable, the CPU heatsink even more so (I estimate it was at least at 65oC, perhaps more). -> Turning the machine off and waiting for it to cool, and at the same time replacing the broken rear fan seems to have solved the problem: after turning the machine back on, no more weird behavior from /bin/less, and it has not locked up again. Sun Aug 24 05:47:46 PDT 2014 How to get the equivalent of Stop-A on a Oracle (ex-Sun) SPARC T4-2 server using a common PC (ie, non-Oracle) USB keyboard: -> Just press combination; the commonly reported did not work (at least on an Oracle T4-2 server). -> Perhaps related, we also uncommented the following line in /etc/default/kbd KEYBOARD_ABORT=alternate and then run "kbd -i". -> Also note that, to gain use of the graphics console, we had to use ILOM to set auto-boot to false and then reboot into OpenBoot to set these two OpenBoot variables: setenv input-device keyboard setenv output-device screen reset-all -> Before all that, we also had to install patch 142373-04 which is an update for the graphics card driver. With the above, the machine now works perfectly with a common "VGA" (ie, DB-15 connector) LCD monitor plugged to its rear video connector, and an USB keyboard connected to one of the front USB ports. Thu Aug 22 07:46:18 PDT 2013 Java stops working on Seamonkey in Ubuntu 10.04 -> Happens because the latest (2013/07/24) update to openjdk-6-jre-headless (from version 6b27-1.12.5-0ubuntu0.10.04.1, 6b27-1.12.6-1ubuntu0.10.04.2) is FUBAR. -> Symptoms: -> pages with Java applets are broken; -> The following is displayed when seamonkey is called from a shell: java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.2) OpenJDK Server VM (build 20.0-b12, mixed mode) java.lang.NullPointerException at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1858) at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1828) at javax.swing.JWindow.(JWindow.java:185) at javax.swing.JWindow.(JWindow.java:137) at net.sourceforge.jnlp.runtime.JNLPSecurityManager.(JNLPSecurityManager.java:121) at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:238) at sun.applet.PluginAppletSecurityContext.(PluginAppletSecurityContext.java:245) at sun.applet.PluginMain.main(PluginMain.java:109) Something very bad happened. I don't know what to do, so I am going to exit :( -> Solution: -> Downgrade to previous version of the above package, also of related packages to avoid problems with APT: cd /tmp wget https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4519908/+files/openjdk-6-jre-headless_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb \ https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4519908/+files/icedtea-6-jre-cacao_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb \ https://launchpad.net/~ubuntu-security/+archive/ppa/+build/4519908/+files/openjdk-6-jre_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb sudo dpkg -i openjdk-6-jre-headless_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb \ icedtea-6-jre-cacao_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb \ openjdk-6-jre_6b27-1.12.5-0ubuntu0.10.04.1_i386.deb -> To prevent APT inadvertently upgrading the packages and undoing the above: for openjdk-6-jre icedtea-6-jre-cacao openjdk-6-jre-headless openjdk-6-jre-lib; do sudo dpkg --set-selections; done apt --get-selections| grep -- -jre gcj-4.4-jre-lib install icedtea-6-jre-cacao hold openjdk-6-jre hold openjdk-6-jre-headless hold openjdk-6-jre-lib hold sun-java6-jre install -> Avoid using seamonkey for anything non-essential, specially acessing untrusted sites as above rolled back a lot of security upgrades; -> Bug the developers so they fix it ASAP: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1215487 Tue May 6 16:32:31 EST 2008 Installing the flash player plugin in Ubuntu 8.04 (Hardy Heron) -> Won't install from the "install plugin" dialog in Firefox, complais about broken repositories; -> Managed to install it with: cd /tmp wget http://us.archive.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-nonfree_9.0.124.0ubuntu2_i386.deb sudo dpkg -i flashplugin-nonfree_9.0.124.0ubuntu2_i386.deb Tue May 6 16:22:15 EST 2008 Blue Screen Of Death on Windows XP install in machine with PCI-Express X16 video card Message: "The video driver failed to initialize" Codes: "STOP: 0x000000B4 (0x00000000,0x00000000,0x00000000,0x00050000)" Situation: Installing Windows XP SP1 from CD on a new machine (motherboard AOpen i975Xa-YDG with a PCI-Express X16 Geforce 7900GT video card); Windows XP hangs in the middle of installation, right in the beginning of the first graphical boot. Solution: Move the video card from the second X16 slot (nearer the power supply) to the first (farther from the power supply) and restart the install. After Windows XP is installed and upgraded to SP2, you can move the video card to the second slot if you want (I did as it provided for better airflow inside the computer). ==Eof==