Articles in the system_administration category

  1. Lion + Cisco VPN DNS Workaround

    Posted on in System Administration

    When I upgraded to OS X 10.7 (Lion), I started using the built-in IPSec VPN client rather than Cisco's VPNClient. I experienced problems immediately. At first it appeared that the connection was being made, but no traffic was passing. When I tried pinging by IP address, I found that …

  2. Mac OS X terminal and GNU screen scrollback

    Posted on in system_administration

    If you're a frequent user of GNU screen on your Mac, you are probably tired of using ctrl-a [ to enter scrollback mode. Adding the following lines to the .screenrc configuration file in your home directory in order to scroll with your mouse:

    defscrollback 5000
    termcapinfo xterm* ti@:te@
    
  3. Killing Old popper Processes in Solaris 8

    Posted on in System Administration

    I've dealt with a few servers that have long lived popper (POP3) processes. These processes should be closed once the connection is closed, but they occasionally hang around. Once they get in this state, they will never close on their own. After a while, hundreds of these processes will just …

  4. 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 …

  5. 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 …
  6. 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 …

Slaptijack's Koding Kraken