Articles in the system_administration category

  1. Sendmail Mail-to-Program Failures: Check smrsh

    Posted on in System Administration

    SendmailOne of the beauties of using a Linux-based Mail Transport Agent (MTA) like Sendmail is the ability to pipe mail into programs. You can use this in conjunction with a filtering application like procmail, with a custom application that collects data about the email, or anything else you can imagine …

  2. SNMP Traps into MySQL is Sublime

    Posted on in System Administration

    I use snmptrapd to catch SNMP traps and then put them into a MySQL database using a pretty generic trap handler. This gives me the opportunity to generate such useful information as:

    > SELECT HOUR(time) AS "hour", COUNT(*) AS "bounces" FROM snmptraps
        WHERE hostname = 'XXX' AND time > '2011-07-25'
            AND trap_oid …
  3. Installing Unison 2.27.57 via MacPorts

    Posted on in System Administration

    MacPorts LogoI've mentioned before that I use Unison to keep a few important directories synchronized between my various workstations and file server. I made the switch to Ubuntu 10.04 LTS recently, and started using its unison 2.27.57 package. This breaks all of my Macs that use unison 2 …

  4. ab Results Before and After Server Move

    Posted on in System Administration

    Electronic Eye

    Behold, the benefits of virtualization!

    I spent most of the evening preparing to move a few websites. I decided to do some benchmarking just to see what sort of improvement I was getting from the new server setup. Although the old server didn't feel slow when browsing sites, the results …

  5. Ubuntu: Installing VMware Tools in 10.04 LTS

    Posted on in System Administration

    Ubuntu Circle of Friends Logo (Orange on White)Although this process is well documented on the Ubuntu community site, I decided to take notes of the exact steps that I took so that I wouldn't have to fumble through that long document next time. I'm installing the tools in a clean install of Ubuntu 10.04.2 LTS …

  6. Clear Windows DNS Server Cache From the CLI

    Posted on in System Administration

    Clearing the Windows DNS Server cache from the command line is an easy task.

    C:\> dnscmd . /clearcache
    

    The . indicates the local DNS server. You can use this command to clear the cache of remote DNS servers by replacing the . with the hostname or IP address of the remote server.

  7. MySQL + SELinux: Can't change dir (Errcode: 13)

    Posted on in System Administration

    Powered By MySQLIf you're using a non-standard MySQL data directory on your Red Hat Enterprise Linux (RHEL) server, you may have seen an error like /usr/libexec/mysqld: Can't change dir to '/mysql_data/' (Errcode: 13). The key to fixing this problem is to ensure the new MySQL data directory has the proper …

Slaptijack's Koding Kraken