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

Published
Categorized as Error/Fix

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)

Published
Categorized as Error/Fix

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)

Published
Categorized as Error/Fix

“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

Published
Categorized as Error/Fix

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”