Ubuntu Web Server – How I Fixed Apache2 After Ubuntu 14.04 Upgrade

I decided a few hours ago to take a daunting leap forward and upgrade my Ubuntu web server to 14.04. I recently upgraded another computer from Ubuntu 12.04 to 14.04. I was pleased with an outcome.

I decided to perform same upgrade on my web server. Things went pretty smooth until I realized apache2 was failing to start after this upgrade. To my dismay my web server was broken after upgrading from Ubuntu 12.04 to 14.04.

I received these error messages below.

The apache2 configtest failed.

Output of config test was:
apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/ruby.load: Cannot load /usr/lib/apache2/modules
mod_ruby.so into server: /usr/lib/apache2/modules/mod_ruby.so: cannot open shared object file: No such file or directory

Action ‘configtest’ failed.

The Apache error log may have more information.

Actually an apache error log did not have more information. I fixed that line 210 error by removing ruby as an enabled mod with this command:

rm /etc/apache2/mods-enabled/ruby.load

I then tried to start apache2 with “apache2ctl start” command. I received an error again only this time it changed to:

Need Online Computer Technical Support? Ask a Computer Technician and Solve Your Computer Problem Now.

apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

I fixed this error by creating a blank httpd.conf file using a “touch /etc/apache2/httpd.conf” command. An httpd.conf file is not needed on my web server but just creating a blank file with name of httpd.conf cleared that error. I then tried to start apache2 yet again.

Ubuntu Web Server

Well what do you know, another error message:

AH00526: Syntax error on line of /etc/apache2/apache2.conf: Invalid command ‘LockFile’, perhaps misspelled or defined by a module not included in the server configuration Action ‘start’ failed.

I resolved that error by replacing this line:

LockFile ${APACHE_LOCK_DIR}/accept.lock

with this one

Mutex file:${APACHE_LOCK_DIR} default

in /etc/apache2/apache2.conf

Finally, apache2 started successfully this time. I tested two of my web sites hosted on this newly upgraded to Ubuntu 14.04 web server. Both web sites were accessible and now I could breath a little bit easier.

USB 3.0 2.0 – Review of Inateck’s KTU3FR4P USB 3.0 PCI Express Card

I received this product free of charge to review. I tested it with three different operating systems; Windows XP, Vista and Ubuntu Linux 12.04. It came with a drivers CD and molox power to SATA power adapter.

This card is quite small and light weight. I used two different computers. On both machines this card was so short that I could not hook up all my SATA devices at once, because they would not reach this PCI Express card.

However, it is possible that an included molox to SATA power connector might fix this issue. Other than that I have no complaints about this product. I had no problems installing this PCI express card.

Inateck KTU3FR 4P

Need Online Computer Technical Support? Ask a Computer Technician and Solve Your Computer Problem Now.

On both Windows XP and Vista, installation went flawless. I installed drivers from an included CD and device manager reported a properly installed device. I quickly bench mark tested this card with HD tune.

I used a 16 gigabyte USB 2.0 flash drive to test. On both Windows XP and Vista on average speeds were faster with Inateck’s PCI express card versus an onboard USB port. What really impressed me was that this card worked out of a box on a machine running Ubuntu Linux 12.04.

Interested in more information about this Inateck KTU3FR 4P PCI express card? You can watch my video review of this product.

Desktop Email Client – How to Fix Mozilla Thunderbird When Crashing

Is your Mozilla Thunderbird email client crashing all of a sudden? I upgraded Thunderdbird to 31.2.0 and noticed it started crashing. I’m not sure if this was a coincidence.

Perhaps upgrading caused my Thunderbird profile to become corrupted or just happen chance. Anyhow, I’m using Ubuntu 12.04 on this computer with this problem. I’m going to show you how I quickly resolved this issue.

First, I tried starting Thunderbird with a different user account, in this case I ran it as root. I no longer received this crash error. Next, I renamed my .thunderbird directory in Ubuntu to .thunderbird.old.

Need Online Computer Technical Support? Ask a Computer Technician and Solve Your Computer Problem Now.

Desktop Email Client

I started Thundebird email client and it opened correctly. However, it was a generic profile with no email accounts. To fix this issue I went into my old Thunderbird email client profile that I had renamed and then copied all data from a xxxx.default folder.

I pasted that data into a new xxxxx.default folder, created in .thunderbird. When prompted I choose to over write all existing files. I started Thunderbird and this time all my email accounts were working properly.

Hopefully, these steps will help you get your crashing Thunderbird email client working properly again.