This site hosts the documentation for CrashPlan PROe version 3.8.2010.
Looking for documentation on PROe version 3, released in April of 2012? Please visit our current documentation.

Automatically Start the CrashPlan Service on Boot in Ubuntu 9

Overview

We have received reports that the CrashPlan engine does not start at boot time for Ubuntu 9 installations. The issue only occurs at system boot time; the process may be started at any time using /etc/init.d/crashplan or bin/CrashPlanEngine without issue. This problem is only present on Ubuntu 9; it has not been reported on any previous version of Ubuntu or on any other Linux distribution.

Solution

We will be fixing our installation process to provide a more robust fix for this issue, but for now the following workaround should resolve the issue.

  1. Shut down the CrashPlan engine if it is running
  2. Open bin/CrashPlanEngine and replace this line:
nice -n 19 ${JAVACOMMON} ${SRV_JAVA_OPTS} -classpath "${CP}:./lang" com.backup42.service.CPService > ${TARGETDIR}/log/engine_output.log 2> ${TARGETDIR}/log/engine_error.log &

with the following:

FULL_CP="$CP:./lang"
start-stop-daemon -v --pidfile $PIDFILE --make-pidfile --background --chdir $TARGETDIR --start --nicelevel 19 --exec $JAVACOMMON -- $SRV_JAVA_OPTS -classpath $FULL_CP
com.backup42.service.CPService > $TARGETDIR/log/engine_output.log 2> $TARGETDIR/log/engine_error.log

Everything from “start-stop-daemon” on should appear on a single line.

recipe/resolve_startup_failure_on_ubuntu_9.txt · Last modified: 2009/08/23 15:04 by mcoopet