Error: An error occurred while trying to import the certificate /path/to/cert.p12: Decryption failed Fix: import it from the command line with these two commands: openssl pkcs12 -in cert.p12 | gpgsm –import gpgsm –call-protect-tool –p12-import –store -P password cert.p12
Category: Error/Fix
Error/Fix: OOM (out of memory) killer kills mysqld every time!
Error (or undesired behavior, in this case): Out of Memory killer kills mysqld when memory runs low. I’d rather have it kill apache processes instead. Fix: specifically exclude OOM from killing the mysqld process with: echo -17 > /proc/`cat /var/run/mysqld/mysqld.pid`/oom_adj
Remove a stuck DVD/CD from a MacBook Pro
So, I burn a fresh CD in my MacBook Pro and it gets stuck. When I hit the eject key, it tries to come out but only pokes out a couple of millimeters before getting sucked back in. Searching all over the internet, Mac users were useless for helping me. Everyone suggested alternate ways to… Continue reading Remove a stuck DVD/CD from a MacBook Pro
Error/Fix: ‘SSLv2_method’ undeclared here (not in a function)
When building ruby 1.9.2 on Ubuntu 11.10 Error: ossl_ssl.c:110:1: error: ‘SSLv2_method’ undeclared here (not in a function) ossl_ssl.c:111:1: error: ‘SSLv2_server_method’ undeclared here (not in a function) ossl_ssl.c:112:1: error: ‘SSLv2_client_method’ undeclared here (not in a function) make[1]: *** [ossl_ssl.o] Error 1 make[1]: Leaving directory `/home/username/.rvm/src/ruby-1.9.2-p180/ext/openssl’ make: *** [mkmain.sh] Error 1 Fix: rvm pkg install openssl rvm… Continue reading Error/Fix: ‘SSLv2_method’ undeclared here (not in a function)
Error/Fix: Disable byobu (screen) from automatically starting on login (EC2)
Error: If you run Ubuntu 11.10 (Oneiric Ocelot) on Amazon EC2, you may notice an annoying “feature” that they enabled on this release. A byobu session is started when you login. Fix: Fortunately, this is easy to fix: rm /etc/profile.d/Z98-byobu.sh Note: Also fortunate, this will not be the case for future releases as it has… Continue reading Error/Fix: Disable byobu (screen) from automatically starting on login (EC2)
“Could not read chunk size:” error when checking out from subversion
I recently ran into this error part way through when checking out a large repository from subversion: svn: REPORT of ‘/svn/!svn/vcc/default’: Could not read chunk size: connection was closed by server (http://some.hostname.com) Since it was a rather large repository, I’m guessing it is the size of this checkout process causing the problem. Fortunately, the fix… Continue reading “Could not read chunk size:” error when checking out from subversion
Error/Fix: Disable Drag to Top to Maximize in KDE
Error: Dragging a window in KDE to the top of the screen maximizes the window (this is another personal preference Fix: Go to System Settings, Desktop, Screen Edges and uncheck “Maximize windows by dragging them to the top of the screen”, then click “Apply”
Error/Fix: changing default editor to vi from nano
Error: Default editor for common commands is nano (yes, this is an error in my eyes) Fix: sudo update-alternatives –config editor
Error/Fix: Unable to open env file: /etc/default/locale: No such file or directory
Error: Unable to open env file: /etc/default/locale: No such file or directory Fix: update-locale
Treo 755p continuously reboots when plugged into USB
I recently upgraded my systems to Kubuntu 9.10 and when I plug in my Treo 755p to charge, it keeps rebooting over and over. The fix is simple. Add the following line to /etc/modprobe.d/blacklist.conf: blacklist visor and reboot…