Online Remote Backup with Mozy

Mozy is an online backup service – right now I’m using it to backup roughly 1.6GB of data. You can backup 2GB for free, or pay around $5 per month for unlimited backup, which I am thinking about upgrading to.  Recently they released a Mac client which makes this a better option for me.  They also offer a commercial version of the service which called MozyPro.

read more | digg story

QuickTime Streaming returns 400 Bad Request

When you are trying to view a QuickTime movies from a streaming server, sometimes you will get back a 400 Bad Request error.  At my network at work, we intercept all port 80 traffic and forward to our squid proxy server, which is why we get this error.  In order to fix this, just open up System Preferences, open the QuickTime pane, click the Advanced tab, and choose Custom… under the Transport Setup dropdown.  Choose HTTP as your protocol, and type in 7070 where is says Other.  Since making this modifications, we can view the QuickTime streams with no problems.

WebTester 5.0 Released

The newest version of WebTester, my online testing and quizzing software, has been released, along with a completely new site re-design. You can check out the site here:

WebTester Home

Feel free to check out the newly created forums:

WebTester Forums

Or, you can log into the demo, using the following information:

Username: admin
Password: admin

WebTester Admin
WebTester Engine

Take a look and tell me what you think.

InDesign Crashes Whilte Printing on Mac OS X

Sometimes, Adobe InDesign will crash when trying to print on a user account with a networked home folder under Mac OS X. Here is the fix that I use:

ditto -rsrc /System/Library/Printers /Library/Printers

I send that command to all computers with the problem via ARD (Apple Remote Desktop) and it seems to resolve all of the issues.

If that doesn’t work, you need to copy or create a Printers folder in the current users Library folder. Drop into Terminal and type the following:

mkdir ~/Library/Printers

Those two methods have resolved most of our InDesign printing issues.

Resource Temporarily Unavailable with cPanel and TeamSpeak

One of my friends, Jeremy Bergen, is running a TeamSpeak server on one of my servers, and was running into a resource temporarily unavailable while ssh’d into the box. The TeamSpeak server was also randomly shutting down, and this may have been caused by the same error. TeamSpeak uses around between 10-16 processes itself, so after a logging in a few times or doing other things, this default limit of 20 it reached.

To fix this, first I turned off cPanel’s built in ‘Prevent Shell Fork Bomb Protection’. Then, I edited the /etc/security/limits.conf. I still wanted users to be limited to 20 processes, except for the TeamSpeak user which I wanted to have 40, and root which I wanted unlimited. Here are the lines that I had:

*             soft     nproc     20
jeremy        soft     nproc     40
root          soft     nproc     unlimited

Of course, you can customize the file however you like. The key is turning off cPanel’s internal protection so your box will use this file. Also, I happen to use CentOS 4.3.

Locally Cache Mac OS X Network Login Folders

Here at the school district I was running into a problem where if several Mac OS X wireless clients logged into the network at once, everything slowed down to a crawl. After researching the problem, it looked like the user’s Library and Microsoft User Data folders were causing the problem. I tried turning on OS X’s home folder syncronization, but that didn’t work very well, and filled up our older computers fast. The solution I found was to locally cache the user’s Library and Microsoft User Data folder. To do this, create a symbolic link from the user’s networked ‘Library’ folder and point it to a local source. I chose /tmp/UserCache/username/Library. Here is the login script I created to automate the process:

#! /bin/bash

# Create local user caches of important directories
# Written by Steven Eppler 04/04/2006

export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin

# Set user variable
user="$1"

# This grabs the user's home directory server
input=`dscl localhost read Search/Users/$user NFSHomeDirectory`
nethomedir=${input:18}

# Or you can hardcode it...
# nethomedir="/Network/Servers/ServerName/Volume/$user"

# Check for blank nethomedir - otherwise you will delete
# the root /Library folder!
if [ """$nethomedir""" != "" ]; then

echo $user
echo $nethomedir

# Create local caching directories
mkdir /tmp/UserCache
mkdir /tmp/UserCache/$user
mkdir /tmp/UserCache/$user/Microsoft\ User\ Data
mkdir /tmp/UserCache/$user/Library

# Give everyone rights to them...
chmod -R ugo=rwx /tmp/UserCache

# Create Documents and Desktop folder (sometimes they don't exist)
mkdir $nethomedir/Documents
mkdir $nethomedir/Desktop

# Delete old folders or links
rm -rf $nethomedir/Library
rm -rf $nethomedir/Documents/Microsoft\ User\ Data

# Create new links
ln -s /tmp/UserCache/$user/Library $nethomedir/Library
ln -s /tmp/UserCache/$user/Microsoft\ User\ Data $nethomedir/Documents/Microsoft\ User\ Data

fi