Installing CrashPlan on OmniOS


OmniOSCrashPlanI’m in the progress of switching my ZFS Server from OpenIndiana to OmniOS, mainly because OmniOS is designed only to be a server system so it’s a little cleaner, and they have a stable production release that’s commercially supported, and it has become Gea’s OS of choice for Napp-It.  One of the last things I had to do was get CrashPlan up and running, here’s a quick little howto…

# wget
# tar -zxmf CrashPlan_3.5.3_Solaris.tar.gz
# mv CrashPlan /var/spool/pkg/
# cd /var/spool/pkg/
# pkgadd
Unfortunately, I got the error below:
## Executing checkinstall script.

Reviewing Java installation

Unable to execute Java in order to determine version.  Try installing
the package from /tmp
pkgadd: ERROR: checkinstall script did not complete successfully

Installation of <CrashPlan> failed.
No changes were made to the system.
So I went to look at the checkinstall script…
# cd /var/spool/pkg/CrashPlan/install
I’m not entirely sure how I fixed it, I modified the checkinstall script to look for java in /usr/java/bin, but then ran pkgadd and the CrashPlan installer refused to run because it detected the file had been modified, so I undid my change and re-ran pkgadd and it worked…
# /usr/sbin/svccfg import /opt/sfw/crashplan/bin/crashplan.xml
# /usr/sbin/svcadm enable crashplan
Or if you have a secure network you can set serviceHost in /opt/sfw/crashplan/conf from to and then on your client change the serviceHost in C:\Program Files\CrashPlan\conf\ to your OmniOS IP Address.
I also like to move my CrashPlan install and config onto the main pool where all my storage is… I had already created a dataset called /tank/crashplan:
# cd /opt/sfw
# svcadm disable crashplan
# mkdir -p /tank/crsahplan/opt/sfw
# mv crashplan /tank/crashplan/opt/sfw/
# ln -s /tank/crashplan/opt/sfw/crashplan .
# svcadm enable crashplan
On a side note my ZFS server CrashPlan backup passed the 1TB mark today!
Here’s a video…