Technobabble


7 Comments

CrashPlan cache getting too large on Mac OS X

This article helps you to clean up the cache directory that CrashPlan uses to storage its metadata.  Apparently CrashPlan does not clean up it’s own cache files in an effective way at this point on Mac OS X. The “cleanest” way is to just uninstall and reinstall the application however sometimes you don’t have the time for this so try this out.

Symptom:  /Library/Caches/CrashPlan directory or /Library/Logs/CrashPlan/engine_output.log is taking up several GB of space and just growing (5+ GB of space).

Solution:  Setup new cache files and remove the old cache.

Here is how you do it:

Open CrashPlan: [(CommandKey) + (SpaceBar) and type: “CrashPlan”]
Double click on the CrashPlan Logo in the upper right corner (looks like a green house).
A command window (below) will open up.
Type “backup.replace 42” into the command window.
Image

Now it is time to shutdown CrashPlan, remove the old cache files and then restart the process.
Open up a Terminal window [Press (CommandKey) + (SpaceBar), then type: “terminal”]

Shutdown the CrashPlan process:
My-Mac:~ username$ sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
Delete
the cache files:
My-Mac:~ username$ sudo rm -r /Library/Caches/CrashPlan/*
My-Mac:~ username$ sudo rm -f /Library/Logs/CrashPlan/engine_output.log
Restart
the CrashPlan process:
My-Mac:~ username$ sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist

Use this command to view if the engine is running:
My-Mac:~ username$  ps auxww | grep -i CrashPlanService

The output will look something like this:
root        63   0.1  6.1   873644 126976   ??  SNs  Tue03PM  43:01.37 /System/Library/Frameworks/JavaVM.framework/Commands/java -Dapp=CrashPlanService -Xmn10m -Xms15m -Xmx512m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -DCP_USER_NAME= -DCP_USER_HOME= -cp lib/com.backup42.common.jar:lib/com.backup42.service.jar:lib/com.code42.backup.jar:lib/com.code42.bplusj.jar:lib/com.code42.messaging.jar:lib/com.code42.os.jar:lib/com.code42.peer.jar:lib/com.code42.utils.jar:lib/com.jniwrapper.jniwrap.jar:lib/com.jniwrapper.macpack.jar:lib/com.jniwrapper.winpack.jar:lib/jtux.jar:lib/trove-2.0.1.jar:lang com.backup42.service.CrashPlanService

Now you should be good to go and the cache file should grow over time.  You may need to do this once a quarter or so.

I gathered this information from two websites: http://support.macitsolutions.com/entries/20181626-clean-up-large-crashplan-cache and  http://support.crashplan.com/doku.php/recipe/stop_and_start_engine


1 Comment

Making a new Identity in Outlook 2011 on Mac

This post is for those who are having problems with their Outlook client syncing mail, or the database rebuild did not result in a fix to your problem or if you just want to test out someone else’s exchange account for a while.  I will show you how to build a new Identity in Oultlook.  On a Windows machine this would be call a new Profile.

Here is the Microsoft article on the subject (look for step 5): http://support.microsoft.com/kb/2360509

To summarize:

  • Kill all Microsoft Office applications processes (i.e. close them all, including Word, etc).
  • Press the Option (Alt) key while clicking on Outlook to open it.
  • It will go into the Microsoft Database Utility mode where you can rebuild the Identity (Database).
  • Click the plus [+] sign on the bottum left.
  • Name your new identity.
  • Then select your new identity and click on the configuration icon config icon
  • Choose Set as Default
  • Close this window and open up Outlook.
  • Here you will need to know how to configure your exchange email account.
  • Then you should be in business again.  Please note that it could take more than a day for all your mail to sync if you have a large mailbox (multiple gigs)


5 Comments

Outlook 2011 on Mac not syncing mail?

I occasionally have the issue of my Outlook either crashing and then it won’t sync my mail in outlook. It is sad when your phone becomes the more reliable email client. So there is a potential fix for most of you out there.

The Database for the Outlook profile can get corrupted over time and may need to be rebuilt on Outlook 2011 on Mac. To do this you can follow these instructions from Microsoft:

http://support.microsoft.com/kb/2360509

To summarize:

  • Kill all Microsoft Office applications processes (i.e. close them all, including Word, etc).
  • Backup (or copy) your Office 2011 identities folder located in “~/Documents/Microsoft User Data/Office 2011 identities/”
  • Press the Option (Alt) key while clicking on Outlook to open it.
  • It will go into the Microsoft Database Utility mode where you can rebuild the Identity (Database).
  • Choose the Identity you want, normally “Main Identity“. The click Rebuild.
  • Go to lunch. This will take a while.

If this doesn’t work, check out how to make a new Identity in Outlook 2011 on Mac.

If however only one folder does not sync but the rest of them do, i.e. your inbox only has yesterdays mail while the rules that send email to other folders are still recieving new mail, then you can try the to “Empty the Cache” which is to say you can re-sync that folder with the Exchange server by doing the following:

  • Right click (Control + Click) the folder in the folder list on the left side panel of Outlook
  • Click Folder Properties
  • Click the “Empty the cache” button on the bottom.

This will take a while, especially if you have a mailbox with of several gigs of data.


24 Comments

Move the Mac Outlook 2011 Database to another location

Microsoft Outlook 2011 for Mac (and previous versions) likes to put all the data in your Documents folder:

~/Documents/Microsoft User Data

Microsoft User Data folder

This is really annoying if you want to do a search for a document within your Documents folder without having to sort through a lot of irrelevant results.  But there is a simple fix!!!

The “Microsoft User Data” folder can be moved to another location and work perfectly fine.

Warning: You should shutdown Outlook 2011 and all other Microsoft Office applications prior to making a change like this.  In addition backup up your machine using Time Machine or what ever app you prefer.  Please wait until it is done.  Once you feel confident that you have a clean backup then move forward.

Open up a Terminal. [Press (CommandKey) + (SpaceBar), then type: “terminal”]

My-Mac:~ username$ cd ~/Documents
My-Mac:~ username$ mv “Microsoft User Data” ~/Library/Preferences/

And you are done!  Start up Outlook and you should be good to go.


Leave a comment

iTunes Wi-Fi Sync issue with Phone 4, iPhone 4S, and iTunes 10.5+

Have you recently updated your iPhone to iOS 5.1.x or had to replace the hardware only to discover that Wi-Fi Sync no longer works? Well that is exactly what happened to me and I have found a solution.

There are multiple guide to do the basic troubleshooting or configuring iTunes Wi-Fi Sync including Apples steps located here: http://support.apple.com/kb/TS4062
If you followed those steps and it still does not work, here are the other options that have helped me fix the problem.

Symptoms:
While iTunes is open and your iPhone is configured for Wi-Fi Sync, your iPhone “Sync Now” button is not greyed out (Settings > General > iTunes Wi-Fi Sync) but when you press the “Sync Now” button, it says something like looking for “<ComputerName>”, cannot find “<ComputerName>”, or Sync will resume when “<ComputerName>” is available.

There are a couple of additional steps that you can take that should clear this up prior to a trip to the genius bar:

  1. Reinstall the newest version of iTunes. Reboot your computer. Do not open iTunes. Then download the file from Apple (http://www.apple.com/itunes/download) and install* over the previous version. Follow the steps on how to setup Wi-Fi Sync (http://support.apple.com/kb/HT1386). Did this work for you? Great! If not, go to step two.
  2. Backup your iPhone and restore it to factory default (http://support.apple.com/kb/HT1766), then try again.

*Note for windows users, you might need to repeat option 1 but by uninstalling iTunes first then doing a fresh install. If you have a lot of data in iTunes, I would likely go to the genius bar before this option and then also backup the iTunes database before starting the uninstallation.

Managing iTunes library, for your reference:
iTunes: Back up your iTunes library by copying to an external hard drive.
http://support.apple.com/kb/HT1751
iTunes: How to re-create your iTunes library and playlists
http://support.apple.com/kb/HT1451

PS- This worked just fine for Jailbroken iPhones.