July 25, 2010

Posted by: Oscar Trelles

Category: Uncategorized

Tags:

Twitter Weekly Updates for 2010-07-25

  • Time Capsule is officially a piece of garbage #
  • Congratulations to @pereiraodell for their Small Agency of the Year Award! #
  • On my way to #Dumbo #
  • it took 15 minutes to get this guy to tell me how to log into my wireless router *sigh* #Verizon #support #n00b #
  • that after being told that they don't support Linux computers and had to either get a PC or a Mac to troubleshoot *their* connection issues #
  • Brightkite adds badges with levels – http://tcrn.ch/bJxdnn #
  • my iPhone just took about 5 minutes to restart… definitely not missing that! #
  • there should be a simple way to take screenshots on (not rooted) #Android devices. #missingfeature #
  • This is why I never did print: http://short.to/32t3v #Starbucks #
  • really? using Google Sites for spam? you worthless low lives… #spammers #
  • RT @lordalex: Foundation Flash Catalyst in available for Pre-order now at a very reasonable price: http://amzn.to/apjQiF #
  • Fastest/smoothest security check ever at LGA, mobile boarding pass FTW! #
  • visiting the @domanistudios digs in Chicago today and tomorrow, brought some thunderstorms with me. #
  • Nirvana is setting the tone this afternoon at DSCHI, mostly tunes from the "Unplugged" album #
  • On a death-defying cab ride to O'Hare, see you next time Chicago! #
  • Waiting to board flight back home, hoping for no delays, but it's really coming down out there! #
  • Flight delayed #bigmouth #
  • That's a first: flight attendant refused to give me an unopened can of soda. Seriously @Delta, has it come to that? #FAIL #ilikemybubbles #
  • Throwing Ethernet cables around the house. Some devices are just meant for wired connections, I can now extend the wifi reach #happy #geek #

Upgrading to PHP 5 and MySQL 5 without Plesk’s Permission

Last week my personal server was stuck with Plesk 8.6 and PHP 4.3! Having been using PHP 5 for years in commercial projects, I was in shock and couldn’t believe how long it had been since I made any updates to the underlying software in my own box. I needed to install a WordPress plugin that required PHP 5, so I decided this was as good a moment as any to do the right thing and let yum take care of the situation:

$ yum update

Now, it could be because I am still running CentOS 4 here, or because yum didn’t want to mess with Plesk (for good reason), but after installing 250+ updates I ended up with the most up to date possible version of PHP 4.3… ugh.

My next thought was to upgrade Plesk to its latest version in the hopes that it would require my desired updates and thus resolve any dependencies within itself. I’ve been using Plesk for a while and feel pretty comfortable using its Updater tool (except if hosting with Rackspace, you are better off asking them to get it done for you), so I went straight to Plesk 9.5.2 and waited…

No dice… if only other pieces of software had this level of backward compatibility! Well done Plesk, but this was not really what I needed. At this point, I was ready to compile PHP 5 from source, but if you know your control panels, and Plesk in particular, you understand that it is not a good idea to upgrade basic packages independently of the panel software.

Short story long, I Googled the hell out of the issue and couldn’t find a convincing solution, so I decided to go against with my instincts and against my better judgment:

$ yum --enablerepo=centosplus update

This simple command unleashed the longest chain of dependency resolution I have ever seen in my life. Could I have just updated the php and mysql packages? Sure, but if I was going to do something wrong, I had to do it right. In the end I had PHP 5 and MySQL 5 running like I wanted, my blog worked just fine and I finally got to activate that nice plugin… but Plesk was now dead:

ERROR: PleskFatalException
bad column in table: `backup_time` time NOT NULL default '00:00:00',
[...]

Fortunately, as explained here, this is a known issue related to database tables in need of update. The following solved my problem:

$ yum upgrade mysql
$ mysql_upgrade -u admin -p
$ /etc/init.d/mysqld restart

Not all systems are created equal, so be careful if you attempt something similar.

July 18, 2010

Posted by: Oscar Trelles

Category: Uncategorized

Tags:

Twitter Weekly Updates for 2010-07-18

  • such a nerd… laughing at this Amazon EC2 instace id that starts with "0b1…" #
  • Remember when Princess Leia was captured… in the #nyc subway? http://short.to/366zn #
  • will @Alyssa_Milano get those $100,000 from the @OldSpice man? – http://bit.ly/ayQuDc #
  • After quite an intense week, an intense weekend #onlyappropriate #
  • getting the Vaio's webcam to work with OpenSuSE is proving challenging… one more try before switching from the laptop to the grill #
  • Success! Not quite the video quality it is capable of, but the Vaio webcam is now working under OpenSuSE. #
  • Today's burgers: equal parts beef/sausage, onions and capers, served in sesame buns with slices of Gouda #
  • Watching "The Storyteller" on Netflix, blast from the past #
  • At Prospect Park Lake, mourning the geese #nothereanymore http://short.to/360tk #
  • people should notice the date of a blog post before commenting on it #context #

July 11, 2010

Posted by: Oscar Trelles

Category: Uncategorized

Tags:

Twitter Weekly Updates for 2010-07-11

  • Cool, just saw the back of my house in "Law & Order – CI". So not worth the mess they made when they filmed :) #
  • Installed Open SuSE on my Vaio. Taking it for a spin today, see if it can shadow my activities on the MBP. #
  • Stuck in the F train due to signal problems #needcoffeenow #
  • Those were 45 minutes I'll never get back #stuckintrain #
  • what is your favourite multi-network IM app for Linux (Open SuSE)? #
  • Liking Open SuSE so far. Way to inject new life and purpose into a 4 year old laptop. #
  • Stupid busy this week, but taking a break tonight. Just sitting outside enjoying the breeze #thelittlethings #
  • so, who is working on a hack to get Silverlight running on the iPad? #
  • Got home just in time for the German gold #GER vs. #URU #worldcup #

July 4, 2010

Posted by: Oscar Trelles

Category: Uncategorized

Tags:

Twitter Weekly Updates for 2010-07-04