Shell: xargs with a pipe to send logs to logstash

I have been playing with Logstash this weekend and I believe I have everything setup the way I want, so to put Kibana 3 to que test, I wanted to inject all my MediaTemple logs into Logstash to start searching and get used to querying Kibana. Hence something like this… Continue reading

Hosting: Enabling Redis class on MediaTemple’s gridserver (gs)

Here's how I enabled access to a Redis server from my (GS) gridserver: 1. Store your SITEID in a variable: export SITEID=`pwd | awk -F\/ '{ print $3 }'`   2. Create a folder to store the redis.so module mkdir /home/$SITEID/data/lib mkdir /home/$SITEID/data/lib/php/   3. Get the Redis PECL package… Continue reading

Hosting: Backing up your MediaTemple using rsync and a linux box

Follow these steps to setup a decent backup solution for your MT hosting (you can adapt this to any other hosting that offers SSH and RSYNC access). First you'll want your linux box to be able to SSH into your hosting without a password using a SSH key instead. Then,… Continue reading

(gs)MT- REQUEST ID #680057 / STATUS: Pending Resolution

James S. Thank you for the phone call. Here is a brief summary of our conversation: You called because you were unable to access phpMyAdmin and phpPgAdmin from your AccountCenter and could not connect to the databases through a SSH client. While looking into this issue I found that the… Continue reading

(gs)MT- REQUEST ID #670588 / STATUS: Resolved

Rob C. Thank you for the phone call. Here is a brief summary of our conversation: You called in to report that your Postgres server was not working. Your web application was displaying error messages, you couldn’g connect via the command-line and phpPgAdmin was not working. I notified an engineer… Continue reading

(gs)MT- REQUEST ID #657010 / STATUS: Resolved

Robert V. Thank you for the phone call. Here is a brief summary of our conversation: Due to the repeated inconvenience of your PostgreSQL database running out of memory intermittently since you started this account, I am reassigning this Support Request to our Billing Department to add a database container… Continue reading

(gs)MT- REQUEST ID #551946 / STATUS: Resolved

MaurĂ­cio: I have been receiving “Cannot allocate memory” errors when trying to connect to a postgresql database I believe I’m not doing anything weird on my end, and since it’s a website I just started developing I’m probably the only one opening the page. Can you guys look at what the… Continue reading