After running a Nessus scan on my VPS last night, I ran a yum update to fix a few security holes patched in newer software packages. It was pretty late, so I went to sleep after the upgrade, because everything seemed to be working fine. This morning, when I went to log in to this site’s admin dashboard, I discovered that none of my sites were working. Pings were working fine, but a quick check of the nginx error log revealed this:
2011/03/28 15:18:30 [emerg] 2661#0: eventfd() failed (38: Function not implemented)
A quick Google search turned up this forum, which indicated that the problem was related to the fact that the YUM version of nginx 0.8.53 is compiled with the –with-file-aio option, which uses libraries that were apparently not installed on my system. The solution was to re-install nginx by downloading the latest source and compiling it.
Once I did this, I changed the value of the nginx variable in /etc/init.d/nginx from /usr/sbin/nginx to /usr/local/nginx/sbin/nginx (the location of the new executable). Running service nginx restart did the trick, and my sites were back up and running.
I use the ShashinPicasa plugin for the photos on this site. I broke it today trying to upgrade my Tagline Rotator plugin, so I upgraded to the latest version of Shashin to try and get it working again (it did). After checking the version notes, I did a little dance–see, it used to be that you had to go into Shashin’s Tools page in your WordPress admin to get the unique ID associated with your Picasa photo in order to embed it. The main thing that attracted me to Shashin was the the wide variety of ways you can display photos, and the flexibility of the plugin to conform to different blog types, etc. However, while the notation used to insert a photo or a set of photos is simple and quick, having a WYSIWYG within the WordPress editor is very useful and a welcome addition to the plugin. I’d have to say that, for my purposes, Shashin is perfect and its author, Mike Toppa, deserves a good amount of praise for the work he’s done.
After upgrading my wife’s Dell Inspiron 1525 to Windows 7 this weekend, I discovered that the Bluetooth had stopped working. Downloading the driver from the Dell site did nothing, which was not too surprising considering that nothing was showing up in Device Manager.
After a little googling, I managed to stumble upon the solution in a Dell support article. Turns out if the Bluetooth is off during an upgrade, you need to run a small application to re-enable it. I ran the download (only 153KB) and Windows 7 found the Bluetooth and installed it automatically within a couple of seconds. Since I have the RTM earlier than most, I thought I’d share this info in case others have the same problem.
That’s right, a question about a previous WP hack has finally convinced me to go through the hassle of upgrading. It’s all done now. Woot! wordpress, wordpress 2.0.4, quicktags, quicktags.js, wordpress hacks, upgrade