rageek

A place for Unix Thoughts and Ideas

Fixing Crashplan Service after Solaris 11 upgrade

The upgrade from OpenSolaris/solaris 11 express to Solaris 11 11/11 had many changes.

One of those was the removal of the svc:/milestone/sysconfig milestone which breaks the a required dependency for the crashplan service.

Here is a quick fix to getting it working again.

All of the following needs to be done with root level permissions using root or sudo (pfexec no longer works).

1. Shutdown the existing CrashPlan engine if you happened to start it manually
sudo /opt/sfw/crashplan/bin/CrashPlanEngine stop

2.        Modify the crash plan service and reimport/refresh the configuration
cd /opt/sfw/crashplan/bin

Modify crashplan.xml

Change

<dependency
   name='milestone'
   grouping='require_all'
   restart_on='none'
   type='service'>
   <service_fmri value='svc:/milestone/sysconfig' />
</dependency>

To

<dependency
   name='milestone'
   grouping='require_all'
   restart_on='none'
   type='service'>
   <service_fmri value='svc:/milestone/self-assembly-complete' />
</dependency>

Now import and refresh the service

sudo svccfg import crashplan.xml
sudo svcadm refresh crashplan

and clear any possible maintenance states

sudo svcadm clear crashplan

3.         It should now be online and can be verified with:

$ svcs crashplan
STATE STIME FMRI
online 14:42:48 svc:/crashplan:default

Advertisements

4 responses to “Fixing Crashplan Service after Solaris 11 upgrade

  1. Ilya January 13, 2012 at 3:40 pm

    Hi,
    The two snippets for crashplan.xml are identical (copy/paste error?). Could you please update the second version to what it should really be?
    Also, do you know if crashplan is fixing it on their side?
    Thank you.

  2. Leandro April 25, 2013 at 6:43 pm

    Very nice fix. Thank you!

  3. m June 11, 2013 at 4:26 pm

    I arrived here looking for exactly this: solaris 11, crashplan install, didn’t know why the standard service setup wasn’t working. Kudos!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: