rageek

A place for Unix Thoughts and Ideas

Monthly Archives: December 2011

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