Archive for the ‘Linux’ Category

CloudWatch INSUFFICIENT_DATA for Linux System Metric

Tuesday, March 24th, 2015

I recently had to recreate images for our production systems on EC2 because they didn’t have ephemeral storage that we require to keep our temporary tcp dumps. Considering that they are EC2 instances, it was quite easy. We use mon-get-instance-stats.pl to monitor system metrics such as memory utilization and disk space. Naturally, I copied alarms […]

DD-WRT: OpenVPN Server Using Certificates

Monday, October 14th, 2013

GUI confuses me sometimes, so I prefer to make configurations in text files. For DD-WRT, OpenVPN server is available in OpenVPN, OpenVPN Small, Big, Mega, and Giga builds: K2.6 Build Features. Since I have never used any router with USB storage capabilities, I can’t be sure but I think OpenVPN can be installed using ipkg […]

CrashPlan 3.5.3 Headless Upgrade

Saturday, April 20th, 2013

A headless installation of CrashPlan will fail when it tries to update itself. This short post assumes that you already have it setup and successfully running before, and is targeted only to help you save some time by identifying important files to copy. Running the installer again will also work, but we actually spend more […]

Leverage Browser Caching

Saturday, January 7th, 2012

In the previous post I wrote about enabling compression for your pages so that they would load faster to the visitor. Today I’m going to write about how you can make use of browser caching to save some bandwidth. Some people told me that their ISP or hosting provider requested that they upgrade the hosting […]

Error Compiling djbdns and daemontools

Tuesday, July 20th, 2010

While attempting to compile djbdns 1.05 and daemontools 0.76 on a CentOS 5.5 I received the error: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o The problem can be eliminated by adding: -include /usr/include/errno.h In conf-cc files for each tarball. Don’t forget to install gcc first, if you have a […]

Do I need to reboot the machine after increasing the maximum number of open files at /etc/security/limits.conf?

Friday, July 24th, 2009

No, you don’t need to. This morning I struggled to convince someone that the server does not need a reboot. It was because of this: Increasing the number of file handles on Linux workstations. ulimit – Provides control over the resources available to the shell and to processes started by it, on systems that allow […]

Setting DD-WRT Cron Job Through Command Line

Saturday, September 13th, 2008

I managed to get OpenVPN running on my DD-WRT v2.2 router, with the instructions from the wiki. However after a few reboot tests I saw that OpenVPN died immediately after it started, with no traceable reasons. Sep 12 00:51:10 192.168.xx.xx openvpn[3940]: TUN/TAP device tap0 opened . . . Sep 12 00:51:11 192.168.xx.xx openvpn[3949]: Initialization Sequence […]

OpenVZ On Ubuntu Or Debian

Monday, September 8th, 2008

As a SysAdmin I have been using OpenVZ since it was introduced, and trust me it has not always been this easy. I used to take care of 20 physical servers with yearly replacement of about 5 machines. Since some of the servers are running different Linux distributions and different hardware it was decided that […]

OSCC: The Silent Mirror

Sunday, September 7th, 2008

All hyped out about sharing Linux knowledge with friends especially dirn, I wanted to download Ubuntu for my own use mainly because I am a strict Debian user. Browsing the mirror list in Ubuntu official site I am disappointed by the speed of most of the mirrors I selected, and the fastest I can get […]

PHP 5 In CentOS 4.5

Friday, August 10th, 2007

Just a short sharing note, for users of CentOS 4.5 who is looking to update PHP to version 5 instead of the default 4.3.9 there is a clean and easy way to upgrade your PHP. Open up /etc/yum.repos.d/CentOS-Base.repo and look for the section centosplus: [centosplus] name=CentOS-$releasever – Plus mirrorlist=http://mirrorlist.centos.org/… #baseurl=http://mirror.centos.org/… gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=2 protect=1 […]

Compiz Fusion

Sunday, June 24th, 2007

Have you seen or used Windows Vista? Like the eye candies and effects that it provides? Wished that something like that is available on your other favorite *NIX OS? Wish no more, Compiz Fusion is here. This project is a merger between Compiz and Beryl. Beryl was a fork of Compiz, where there was some […]

Etch is Stable

Tuesday, April 10th, 2007

The current “stable” distribution of Debian GNU/Linux is version 4.0r0, codenamed etch. It was released on April 8th, 2007. Testing is now codenamed lenny. Release notes here.

Iceweasel

Wednesday, February 14th, 2007

Have you ever heard of the browser named Iceweasel? Of course not, if you’re not using Debian. One of my machine at home is running a Debian Etch installation (my torrent box), and a few days ago I ran apt-get upgrade to upgrade the packages. I was quite annoyed at first, as it’s trying to […]

ALSA Support in Skype

Thursday, July 20th, 2006

Finally, Skype has released a beta version with alsa support: 1.3.0.30_API Hopefully all the troubles with “Problem with Sound Device” will be history. However for users with very old kernels, and prefer to use OSS, the option is still there. The problem with Skype utilizing OSS on modern systems is that it keeps on failing […]

Storage Emergency

Saturday, June 24th, 2006

My 17-days old Seagate Barracuda 7200.9 300GB disk was giving a lot of error two days ago. There were a bunch of errors in my syslog: ata1: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ 0x3/11/04 ata1: status=0x51 { DriveReady SeekComplete Error } ata1: error=0x40 { UncorrectableError } ata1: translated ATA stat/err 0x51/40 to SCSI SK/ASC/ASCQ […]