Featured »

June 18, 2013 – 8:06 pm |

In the past few days my Postfix server has been having occasional problems talking to the mail gateway. They problem would come and go. The Postfix server would timeout trying to connect to the gateway and keep …

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Archive by Category

Articles in Applications

Watch the Log

June 18, 2013 – 8:06 pm |

In the past few days my Postfix server has been having occasional problems talking to the mail gateway. They problem would come and go. The Postfix server would timeout trying to connect to the gateway and keep …

Install Pflogsumm PostFix Log Summarizer

March 12, 2013 – 9:58 am |

Pflogsumm is yet another log analyzer/summarizer for Postfix. It is written in Perl and has been around for a while. Very simple to install, so I writing this post mostly as a note to myself. …

Installing Sendmail Analyzer on RHEL/CentOS

March 11, 2013 – 11:35 pm |

The Sendmail Analyzer can be useful for visualizing your Sendmail/Postfix log. The commands below can be copy-pasted as root on default installations of RHEL and CentOS 5/6 with default Postfix and httpd. If your configuration …

Dealing with Blank Lines in WordPress functions.php

October 17, 2012 – 1:06 am | 5 Comments
Dealing with Blank Lines in WordPress functions.php

This is an annoying little problem plaguing many WordPress themes: blank lines in the themes’ functions.php cause various random issues. The most common manifestation of this condition is the failure to save the “image” custom field. Below are a few commands to apply a quick fix. Unfortunately, these steps would need to be repeated every time you upgrade your theme, until the developers catch on. To simplify this task, I arranged the commands into a little script that will create a backup of your original functions.php and make the necessary changes.

OpenSUSE 11.4 Installation Overview

July 10, 2011 – 5:38 pm | 5 Comments
OpenSUSE 11.4 Installation Overview

After enjoying taking apart Microsoft’s “cloud” Office 365 for the numerous shortcomings of its installation process, having to do the same for my favorite Linux distro – openSUSE – is rather upsetting. OpenSUSE installation routine went from nearly-flawless in 11.1 to mildly annoying in 11.3, arriving to moderately obnoxious in 11.4. What happened? Same as with Microsoft, poor installation workflow is to blame. One can always feel when desktop support people take over workflow tasks from server admins.

Microsoft Launches Office 365. Fails.

June 28, 2011 – 3:47 pm | 7 Comments
Microsoft Launches Office 365. Fails.

To much fanfare Microsoft launched its first “cloud” version of the Office – the Office 365. Silly name, I know, but I still decided to give it a shot. Call me an optimist, but sometimes I feel there is a chance Microsoft will come out with a product more useful than Xbox 360. For the sake of brevity, let me just say that Office 365 was not that product. I can’t really tell you how good or bad it is, because I never got past the convoluted installation procedure. My many years of experience as a sysadmin did not help.

Shadowbox JS Plugin Breaks WordPress

June 2, 2011 – 12:24 am | 4 Comments
Shadowbox JS Plugin Breaks WordPress

Just a quick alert: the latest version (v. 3.0.3.3) of the popular Shadowbox JS plugin for WordPress has a serious bug that exposes your WordPress installation to a major security risk. Incorrectly coded handling of the “player” tag causes all of your NexGEN Gallery images to be displayed on any page that also has single images embedded via WordPress “Add an Image” function.

Disabling WordPress X-FRAME-OPTIONS Support

May 30, 2011 – 3:37 pm | 10 Comments
Disabling WordPress X-FRAME-OPTIONS Support

Staring with version 3.1.3, WordPress introduced X-FRAME-OPTIONS support for the admin and login pages. This is a simple defensive measure against sneaky characters trying to encapsulate your blog within their own Web sites using iframes. So this new security was a welcome addition to WP for most users. I was not one of those users.

Useful iPhone Apps

March 16, 2011 – 1:49 am | 2 Comments
Useful iPhone Apps

Useful iPhone apps? Really? Yeah, there are a few. These may not be the best-written apps, or the easiest to use, or the most aesthetically appealing, but they perform a function that benefits your bottom line. And what else can you want from computer software if not that? So let me get started in no particular order.

Fixing Your Crappy Cell Phone Photos

February 10, 2011 – 10:11 pm | 13 Comments
Fixing Your Crappy Cell Phone Photos

Some of today’s cell phones feature camera resolution that rivals digital SLRs from two year ago. An 8-megapixel cell phone camera is no longer a novelty. Unfortunately, high resolution is the only good thing cell phone cameras have to offer and it does not translate into better pictures. If you compare photos taken with the most advanced cell phone camera to those taken with a $200 point-and-shoot digital camera, the cell phone invariably loses.

WordPress 3.0.4 – the Return of the Custom Field Bug

January 31, 2011 – 4:20 pm | 4 Comments
WordPress 3.0.4 – the Return of the Custom Field Bug

After upgrading to the latest stable WordPress version 3.0.4 I ran into an old issue I haven’t see for almost two years. Clicking “Publish” or “Save Draft” when writing a new post seems to remove some custom fields. If you re-add the custom field and click “Update”, the entry stays. But it goes away again once you use the “Save Draft” or “Publish”.

Converting 1080i to 720p for XBMC

January 23, 2011 – 7:22 am | 2 Comments
Converting 1080i to 720p for XBMC

If you are using XBMC as your video player, you might have encountered a problem playing 1080i AVCHD (*.ts or *.m2ts) videos. When playing such files, you may see just a gray screen with some …

Windows 7 Black Screen After Booting

October 5, 2010 – 4:07 am | 10 Comments
Windows 7 Black Screen After Booting

I had to power-cycle my Windows 7 64-bit laptop. The bootup sequence looked normal and reached a point where I could see the black screen with the mouse cursor. After this stage my desktop would usually appears, but not this time. I could move the mouse and I could even establish a remote desktop connection to my laptop. But I could not log in. Every time it would reach the same point – the black screen with the mouse cursor – and it would stop.

WordPress 3.0 and 3.0.1 Upgrade Bug

August 23, 2010 – 4:01 pm | 3 Comments
WordPress 3.0 and 3.0.1 Upgrade Bug

Ignoring my own advice to never install latest WordPress releases as soon as they come out, I upgraded my installation to WP 3.0 and shortly after to 3.0.1. Doing so broke a few things. Automatic plugin updates or installs seem to hang and so does automatic WordPress upgrade. Let me illustrate. According to this screenshot, I need to update one of the plugins.

How to Really Kill Computer Viruses

February 21, 2010 – 6:34 am | 13 Comments
How to Really Kill Computer Viruses

How do you know if your computer has a virus? Is it connected to the Internet? Then it has a virus. Many computer viruses and other malicious applications are very resilient and will actively resist any attempts to deactivate and remove them. Some viruses can even delete your antivirus application or prevent it from working properly. Many viruses cannot be effectively removed once they are loaded in memory and active.

Upgrading from Vista to Windows 7

January 27, 2010 – 10:45 pm | 8 Comments
Upgrading from Vista to Windows 7

Recently I upgraded a client’s Vista computer (Toshiba Qosmio, 4Gb, Intel Core Duo P7350, 7200-RPM 200-Gb disk) from Vista Ultimate 64-bit to Windows 7 Ultimate 64-bit. Being a Unix sysadmin this is not something I usually do. How did the experience compare to upgrading HP-UX, Solaris or SLES? In a nutshell: I’d rather walk around all day in wet underwear than attempt to upgrade Vista ever again.

NetBackup Command Guide

December 27, 2009 – 7:17 pm | 15 Comments
NetBackup Command Guide

NetBackup is an enterprise-level distributed backup and recovery application. The environment consists of the master server, media server, storage library, networking hardware, and client agents. NetBackup supports a wide variety of Unix, Linux, VMS, and Windows systems. The original backup solution was developed by Control Data Corp., later acquired by Openvision, which gave the product its “NetBackup” name. NetBackup was then bought by Veritas and is currently owned and supported (poorly) by Symantec.

Copying Data: Are We There Yet?

December 27, 2009 – 7:12 pm | 3 Comments
Copying Data: Are We There Yet?

I am sure this will sound familiar: you are copying a large amount of data – either locally or over the network – and you are wondering how long it will take and if there is a way to make things go faster.You may be surprised, but it does matter what type of files you are copying: 1Gb-worth of many small files will take considerably longer to copy than two 500Mb files. The hardware you are using is an important consideration, but it’s not the only factor limiting data transfer speed.

Building a Home Theater Computer

December 24, 2009 – 7:23 am | 10 Comments
Building a Home Theater Computer

Ever wanted to build a kick-ass home theater computer? Here we have some highly detailed instructions for putting together just such a device. It is not a DVR like TiVo or your Verizon HDTV box. …

Printing from SuSE/SLES to a Windows Printer

December 10, 2009 – 5:05 pm | 3 Comments
Printing from SuSE/SLES to a Windows Printer

The following document explains how to configure your SuSE or SLES system to be able to print to a remote printer shared from a Windows server. The first step is to install Unix print support …

Remove Duplicate Posts in WordPress

December 5, 2009 – 10:28 pm | 11 Comments
Remove Duplicate Posts in WordPress

Below is the SQL script that will attempt to identify and remove duplicate posts in your WordPress database. This script can be useful for autoblogging. If you use plugins like WP-o-Matic to pull full-text RSS …

WordPress Backup Script

October 23, 2009 – 1:04 pm | 7 Comments
WordPress Backup Script

Whenever a new WordPress version comes out, I get an itch to upgrade as quickly as possible. Generally, this is not a good idea, unless you enjoy working out new software bugs and dealing with …