Ben's Pro Tips

Tech Tips Made Easy

Category Archives: Linux Server Tips

Here are some tips I’ve discovered working on Linux servers and their common applications such as Apache, BIND, Postfix, etc.

Apache: The SSLCertificateChainFile directive is deprecated, SSLCertificateFile should be used instead

Getting the above warning message when starting your Apache service? The SSLCertificateChainFile directive (/etc/apache2/sites-enabled/xxx.conf:42) is deprecated, SSLCertificateFile should be used instead Fortunately it’s an easy fix. First back up your existing Apache config and certificate files. Edit the specified conf … Continue reading

April 12, 2014 Apache Tips, Linux Server Tips

Apache 2 error: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

Had this one crop up today when debugging an apache config problem. In a moment of non-clarity (ok, stupidity) I tried running apache2 directly hoping to see the error preventing the service from restarting. The common cause of this error … Continue reading

Apache Tips, Linux Server Tips

Linux server drive filling up but with what?

I recently was diagnosing a server where the disk drive kept filling up. What’s so odd about that? Well, running “du -sc * | sort -n” would show no directories larger than a couple gigs, and definitely nothing large enough to … Continue reading

February 23, 2014 Linux Server Tips

How to tell if Apache is running MPM, Prefork, or Worker module

When configuring Apache for performance, you’ll almost definitely find a need to alter the default MaxClients, StartServers, MinSpareServers, etc settings. Pop open your apache2.conf (or httpd.conf) and … wait a sec, which one is it? The default setting here can vary … Continue reading

February 19, 2014 Apache Tips, Linux Server Tips apache2, apache2.conf, apachectl, config file, httpd.conf, module, mpm, performance, prefork, tuning, web server

Upgrading to PHP 5.5 (or PHP 5.4) on Ubuntu 12.04 Precise Pangolin

To upgrade the default PHP 5.3 to 5.5 and still receive automatic updates, you can do the following:

February 13, 2014 Linux Server Tips, PHP Tips php, php 5.4, php 5.5, ubuntu server, upgrade

Adding a drive to your RAID1 array on Debian/Ubuntu/Linux Mint

Last week we looked at making a single-disk system redundant by setting up a raid array. Today we’re going to see how to add a new disk to the array. It’s a good practice to have at least 3 disks, … Continue reading

Linux Server Tips raid, raid1, redundancy, sync

Adding a RAID1 array to an existing Ubuntu 13.10 installation

I recently had the joy of adding a RAID1 array to my Ubuntu 13.10 server. I came across a number of problems setting it up, the foremost being the lack of an up-to-date guide for Ubuntu. Most of them, including … Continue reading

February 7, 2014 Linux Server Tips hard disks, linux mint, raid, storage, ubuntu

Online Cloud backup reviews: JungleDisk, SpiderOak, Wuala, and Crashplan

SpiderOak: Horrible I’ve used SpiderOak for all my remote backups for years. I’ve tolerated it despite its awful client software. The client software is SLOW and laggy even on a fast machine. The OS X version is odd in that … Continue reading

February 6, 2014 Everything Else, Linux Server Tips

Firefox giving you a sec_error_unknown_issuer certificate untrusted error with RapidSSL?

This is an annoying one. You just buy a new SSL certificate and find though it works fine in IE, Firefox is giving you this error. Don’t panic, there’s a simple solution: you need to install a RapidSSL intermediate certificate. … Continue reading

February 8, 2011 Linux Server Tips, Webmaster tips

Is your Apache server slow as molasses? Check your KeepAlive setting!

Your Apache KeepAlive setting or MaxRequestsPerChild setting might be killing your server’s performance Continue reading

January 29, 2011 Apache Tips, Linux Server Tips