Archive for the 'System Administration' Category

The Mysterious “Search Page”

Tuesday, July 15th, 2008

I was working on getting the latest GTK# to compile from source using Microsoft’s tool chain the other night. I eventually gave up because of too many errors that I just did not want to take the time to fix. However, while I was coercing the build environment trying to get things to work I kept typing “vim” out of habit on the Windows CMD window. Eventually I got tired of trying to remember that I must use either Notepad or Wordpad. So I decided to download and install Vim for Windows. I typed in vim.org on my browser’s address bar and this is what I got:

This shows up instead of the real vim.org home page.

I have seen this page before. Berger had the same problem when we were moving our arsenic.ph domain to our shiny new server. Here’s what he was getting at the time:

Berger\'s Arsenic.ph \"Page\"

It also appears that we were not the only ones affected by this issue. There are others who are also getting this strange page.

(more…)

Updated encfs Source Packages for Arch Linux

Sunday, July 13th, 2008

So I wanted to decrypt an encfs encrypted directory on my laptop recently. I was greeted with the following error:

encfs: error while loading shared libraries: librlog.so.1: cannot open shared object file: No such file or directory

It turns out that there has been a recent update to rlog and the encfs package was somehow left out of the rebuild. It also appears that the encfs package has disappeared from the Arch Linux Community Repository.

I have been rolling my own Arch Linux packages for quite a while now. I have been using a few locally built packages on my system. Since I already have two custom packages that I wrote myself, I figured it would be a good idea to share them. I’m too lazy to register with AUR and upload these packages and it would be likely that I would forget about updating them as well. So I am posting them here for consumption by the general public.

Download the Arch Linux source package for encfs here. To build this:

  1. Make a directory to hold the files contained in the encfs source package.
  2. Unpack the tarballed source package into the directory you created.
  3. Install boost. Boost is a C++ library that is used by recent versions of encfs. You will also need to install fuse in case you don’t have it yet.
  4. Change into the encfs source package directory you made and run makepkg -c. This will download the source for the current version of encfs. When makepkg finishes you will end up with an installable package in your current directory.
  5. Install the package using pacman encfs-1.4.2-1-i686.pkg.tar.gz (replace encfs-1.4.2-1-i686.pkg.tar.gz with the correct filename for your custom-built package.)

There you go. You should have encfs working now.

You can also find pyme in my AUR directory.

MySQL Performance Tuning on Centos 5.1

Saturday, May 17th, 2008

Last week I installed SugarCRM for arsenic.ph to try it out. While I was playing around with adding new users and roles, I noticed that it took over a minute for SugarCRM to finish creating one user. I began investigating and slow queries notwithstanding, MySQL turned out to be the performance bottleneck. This server is still new and I still have not come around to tuning MySQL as I have already begun moving most of my work to Postgres. Unfortunately there are still a large number of good software packages out there that require MySQL so I was left with no choice but to tune it.

(more…)

On the Recent Debian OpenSSL Debacle

Friday, May 16th, 2008

I can think of only two words that best describe the whole deal: Epic fail.

It’s been quite a spectacle ever since I saw that security vulnerability report on the NVD RSS feed. Even though the bug has been patched and fixed, system administrators are now left with the task of cleaning up the mess. It would have been OK if it only affected Debian and Debian-based systems. But it turns out the damage is far reaching. Even if you don’t run Debian, if you are using SSL certificates generated by a CA who generated the certificate using a Debian system, your SSL certificate will have to be revoked and replaced! See here.

Amazing what a couple of lines of code can do.