Entourage – times off calendar events

2) Times are always off in mail messages and/or calendar events. How can this be fixed?

First, go to the Date & Time preferences, located in:

OS X System Preferences: Date & Time

OS 9 Control Panels -> Date & Time

First, check to make sure the city listed is in the same time zone as your computer. If not, change it to a city that is. You may notice that the time has changed accordingly. Change it back to the local time. Official time can be found at the U.S. Time Service within the U.S. or the World Time Server for non-domestic locations. There is also information there on syncing your computer clock to their time server, to always keep your clock accurate to the official time.

Now, if you have Entourage 2001, you are done. In Entourage X, go back into Entourage and go to Entourage -> General Preferences. Under the Calendar tab, choose the correct time zone.


Script to copy RSA key multiple servers

I recently needed to add my rsa public key to multiple servers where the .ssh directory didn’t already exist nor the .ssh/authorized_keys in addition to the correct permissions for the .ssh directory and authorized_keys file

I found this taken from the below post on how to install it on OS X: http://thesystemisntdown.blogspot.com/2010/03/ssh-copy-id-on-os-x.html

I can’t find an official source for the ssh-copy-id. If you can, please comment a link for me.

Nevertheless, this should get you what you’re looking for:
wget http://blog.christopherpitzer.com/wp-content/uploads/ssh-copy-id -O /usr/bin/ssh-copy-id
sudo chmod +x /usr/bin/ssh-copy-id

Note: ssh-copy-id appends to authorized_keys file

I created this script to run in order to add to multiple servers:

SSH-COPY-ID=$(which ssh-copy-id)
# Array to add .ssh authorized keys to systems for access
Systems=(server1 server2 server3 server4 server 5 …)
for S in “${Systems[@]}”
#echo $S.$DOMAIN
$SSH-COPY-ID -i ~/.ssh/id_rsa.pub username@$S.$DOMAIN

Note: You need to run this script from your home directory and if you have dsa keys instead of rsa keys, make sure to use the correct name.

Resolve OS X folder with question mark

Today I applied security patches to one of my Leopard servers and rebooted only to have the server not come up.  I had to drive all the way into work to discover the folder with a question mark on it signifying that the server didn’t recognize any boot drive.

Found this very helpful post: http://support.apple.com/kb/TS1440?viewlocale=en_US

Fortunately I could see the drive and the software RAID through Disk Utility when booting from CD.

Tried all of those steps and no luck!  I really didn’t want to reformat the drive and re-install the OS and then have to re-install all applications too!

Recognizing that I had a mirror RAID with 2 disks I thought maybe one of the disks might be causing and issue so I removed one of the disks from the RAID set like this.

dlopez$ diskutil checkRAID

Name:                   Mirror
Unique ID:              2CFEC74D-5C0C-49CB-940E-6099AE3C2B97
Type:                   Mirror
Status:                 Online
Device Node:            disk4
Apple RAID Version:     2
 #      Device Node     UUID                                    Status
0       disk1s3         EF3F0D87-0E9A-4ED4-BB2B-F2A7EBFD0306    Online
1       disk3s3         B1EC4F22-9C0D-4CDB-90FE-D49347195834    Online

I wanted to remove disk3s3 from the RAID

dlopez$ sudo diskutil removeFromRAID disk3s3 disk4
AppleRAID Headers removed from disk 'disk3s3'
Changing filesystem size on disk 'disk3s3'...
Attempting to change filesystem size from 14658928640 to 14658936832 bytes
The disk has been removed from the RAID

Then I ran a disk repair on it and rebooted.  Sure enough the server was back!  Now I just need to recreate the mirror RAID again.