Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts published in April, 2009

Simple Sorts

No comments

Since I am apparently unable to remember how to do a simple sort, I'm going to throw it into my blog so I can refer to it later. In this particular case, I was attempting to pull out all of the "from=" entries in the server's mail logs. I won't go into the details of [...]

If you encounter the following error when running the Urchin stats update it can easily be corrected. "Unable to open database for writing since it has been archived" The error occurs whenever Urchin has archived its log tracking databases. The fix for this is pretty simple. 1. Navigate to /usr/local/urchin/data/reports/[profile] 2. Unznip the [date]-archive.zip files [...]

Lets suppose you have a shared httpdocs directory on your server in which you would like to have your developers gain access. However, there is going to be more than one developer and each one will have their own login credentials. This becomes a problem because of file ownership permissions. If one developer has uploaded [...]

I routinely deal with Read Only file systems and always have to remember the commands to remove the journal and run a file system check. Since some days I am better at remembering than others, I thought I'd just write it down in this post so I can find it later. First, remove the journal: [...]