libdb2.so.1: cannot open shared object file: No such file or directory – … ibm_db.so

Got this error while deploying a Rails app on Nginx: libdb2.so.1: cannot open shared object file: No such file or directory - ... ibm_db.so This means that the ibm_db adapter is installed, but it can't find the DB2 libraries. The issue is that IBM_DB_HOME and some other environment variables are not set. The best solution … Continue reading libdb2.so.1: cannot open shared object file: No such file or directory – … ibm_db.so

Circular dependency detected while autoloading constant

I recently ran into this frustrating and intermittent error in Ruby on Rails 4 (JRuby, actually): Circular dependency detected while autoloading constant Googling turned up several articles advising one to abide by the Rails conventions, but that was not the issue. The application I'm writing uses background threads. The problem shows up when trying to … Continue reading Circular dependency detected while autoloading constant

Adobe password breach as the world’s greatest crossword puzzle

Adobe was recently breached and 150,000,000 user accounts were stolen. Adobe was following the one of the worst practices of password storage -- reversible encryption (rather than hashing with a salt using a good, slow algorithm like bcrypt). A very, very old throwaway password of mine was among those leaked. XKCD has referred to this … Continue reading Adobe password breach as the world’s greatest crossword puzzle

The specified bucket is not S3 v2 safe

I ran into this error when running ec2-upload-bundle:The specified bucket is not S3 v2 safe (see S3 documentation for details)This was due to uppercase letters or underscores. Later I also ran into an issue with periods in bucket names which showed up as this error message:ERROR: Error talking to S3: Server.AccessDenied(403): Access DeniedHere is an … Continue reading The specified bucket is not S3 v2 safe