Greg


Error Apache PHP Suexec FastCGI session_start open O_RDWR Permission Denied

Note to self: Fix this Error in Apache PHP Suexec FastCGI session_start open O_RDWR Permission Denied Warning: session_start(): open(path-to-tmp-dir, O_RDWR) failed: Permission denied(13) The solution was simple, but in most of my PHP scripts it didn’t even show this error. The fix: Go to your /var/tmp directory. (or wherever you […]


Zend Framework 2 Global Database Adapter Object and Config Variables

I wrote this up on Stackoverflow.com too as an answer to my own question. (links below) So basically , I want some config variables available app-wide in my Zend Framework 2 apps. I also want a database adapter object available and connection. Controllers don’t have preDispatch by default now.  I […]


Exclude ZFS filesystems from zfs-auto-snapshot on Ubuntu and remove them 2

Just ran into this quick blurb… zfs set com.sun:auto-snapshot=false butank/DATA/backups So I have backups running to a secondary storage ZFS pool in my server and today I realized my disk space was consumed by ZFS snapshots.  I thought, there’s no way even my backups are using that much data, even […]


UnixODBC on Ubuntu 12.04 broken and unable to connect error 3

Recently I upgrade to Ubuntu 12.04. We had UnixODBC running fine in 10.04, but something changed because the odbc drivers couldn’t be found.  I got an error while running isql: isql -v gregtest [01000][unixODBC][Driver Manager]Can’t open lib ‘/usr/lib/odbc/libmyodbc.so’ : file not found We also couldn’t run our Acucobol apps anymore […]


Carbon Copy Cloner backup saves productivity and downtime during OSX Mountain Lion upgrade 2

Carbon Copy Cloner backup saves productivity and downtime during OSX Mountain Lion upgrade because of a damaged disk error. I could’t wait, I had to install OSX Mountain Lion on my main, production MacBook Pro.  Yeah, shouldn’t have done that.  Well, I had a Mac Mini that I already upgraded […]


Netatalk Time Machine backups to Ubuntu Linux 10.04 Lucid AFP Network Share Configuration Guide 2

Well… not much of a guide really.  Just a very quick how-to on what I did to get Time Machine on my Macbook Pro with OSX Lion 10.7 to save the backup data to my Linux server network share using AFP, rather than SMB (Windows Share), a Time Capsule, or […]


UnixODBC example setup and configuration on Ubuntu Lucid with Mysql and PostgreSQL using the command line only 10

Below is a very quick example of what I did to configure a system DSN connection to a Mysql and PostgreSQL database using UnixODBC drivers on Ubuntu Lucid server from command line only.   # Do the obvious, install mysql an postgresql first. :) # install unixodbc apt-get install unixodbc […]