Skip to main content

Who is this article for?

CrashPlan Cloud
CrashPlan for Small Business
CrashPlan On-Premises

Find your product plan in the Code42 console on the Account menu.
Not a CrashPlan On-Premises customer? Search or browse Incydr and Instructor, CrashPlan Cloud, or CrashPlan for Small Business.

Instructor, no.

Incydr Professional, Enterprise, Horizon, and Gov F2, no.

Incydr Basic, Advanced, and Gov F1, no.

CrashPlan Cloud, no.

Retired product plans, yes.

CrashPlan for Small Business, no.

Code42 Support

Code42 server does not restart after Linux reboots or upgrades


If your Code42 server does not restart when its Linux machine reboots or upgrades, follow these instructions to determine whether a new or revised restart script will solve the problem. If so, follow the instructions to create a Code42 server restart script in /etc/systemd/system/proserver.service or to modify the existing script at /etc/init.d/proserver.


Code42 servers installed on Linux. When Linux reboots, the Code42 server fails to restart. Or a Linux upgrade process reports an error.


A Code42 server writes its restart script to a file in /etc/init.d, a long-time standard for Linux systems. At least two Linux variations require a new or revised script.

Failed upgrades
The same fixes that allow a Code42 server to restart when a system reboots may also cause the server upgrade process to fail, because it does not find the init.d script that it expects and it cannot shut down the server.

If you installed a systemd script, follow the instructions to implement an LSB-compliant init.d script.

Missing systemd script

Some Linux systems (see the list below) look for restart scripts in /etc/systemd rather than /etc/init.d. To make those systems restart a Code42 server when they reboot, you need to create a restart script at /etc/systemd/system/proserver.service.

Linux distributions that implement systemd:

  • Supported by Code42
    • Red Hat Enterprise Linux (RHEL)
    • Ubuntu 
  • Unsupported by Code42
    • CentOS 
    • Debian
    • Fedora
    • openSUSE
    • SUSE Linux Enterprise Server

For details, see Wikipedia's article on systemd.

Non-compliant init.d script

In addition, some Linux systems that use init.d scripts, or both systemd and init.d, require compliance with a standard called Linux Standard Base (LSB). To meet that standard, you need to add some header information to the file /etc/init.d/proserver.

Users have reported LSB problems on these Linux distributions:

  • Supported by Code42
    • Red Hat Enterprise Linux (RHEL)
    • Ubuntu
  • Unsupported by Code42
    • CentOS 
    • Debian 

Diagnose and solve

A Code42 server may fail to restart after its Linux machine reboots for either or both of the causes described above. Follow the instructions in the order presented below to:

  1. Determine whether your Linux machine uses systemd.
    If it does, install the systemd script, then reboot the machine.
    If your Code42 server restarts, the problem is solved. You are finished.
  2. Determine whether your Linux distribution requires LSB compliance.
    If it does, edit the init.d script.

Note that an LSB problem may not show up until after a systemd problem is solved and the system rebooted.

Verify and use systemd

Determine whether your Linux machine uses systemd

At the Linux command line, enter the command:

sudo stat /proc/1/exe | head -1

If the command returns a reference to a systemd directory, as in the example below, then your Linux distribution does use systemd to manage services. Proceed with Install the systemd script, immediately below.

>$ sudo stat /proc/1/exe | head -1
>$ File: '/proc/1/exe' -> '/usr/lib/systemd/systemd'

If your Linux distribution does not use systemd, skip ahead to Diagnose and implement LSB compliance.

Install the systemd script

  1. Copy the script below into a new file /etc/systemd/system/proserver.service.
    • Server installed for root user:
      Description=Code42 Server
      ExecStart=/opt/proserver/bin/proserver start
      ExecStop=/opt/proserver/bin/proserver stop
    • Server installed for user proserver:
      Description=Code42 Server
      ExecStart=/home/proserver/proserver/server/bin/proserver start
      ExecStop=/home/proserver/proserver/server/bin/proserver stop
  2. Edit the file paths in the script, if necessary.
    The scripts above points to the default paths. Only a nonstandard installation needs changes to the script.
  3. At the Linux command line, enter two commands:
    sudo systemctl daemon-reload
    sudo systemctl enable proserver.service
  4. Verify that the second command returns results that report creating the symlink:
Created symlink from /etc/systemd/system/ to /etc/systemd/system/proserver.service
Do not create the symlink manually because it may lead to problems of ownership and privileges.
  1. Restart your Code42 server with the new proserver.service script. The command is:
    sudo systemctl restart proserver.service
  2. Reboot your machine with this command:
    sudo shutdown -r now
  3. Test whether the Code42 server restarted with this command:
    sudo systemctl status proserver.service

If the Code42 server restarts, the problem is solved.
If the Code42 server does not restart, proceed with Diagnose and implement LSB compliance.

Diagnose and implement LSB compliance

Determine whether your Linux machine requires LSB compliance

Search through your system logs using a command like the following:

sudo grep -r proserver /var/log/*

Look for a message like this one:

insserv: warning: script 'proserver' missing LSB tags and overrides

If you find such a message, edit the existing init.d script to comply with the LSB standard.

Edit init.d script to comply with LSB

  1. Open /etc/init.d/proserver with a text editor.
  2. Copy the following 13 lines to the top of the file.

# Linux Standard Base comments
# Provides: proserver
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: PROserver service
# Description: PROserver service

  1. Reboot your machine with this command:
    sudo shutdown -r now
  2. Verify that the Code42 server restarted by connecting with a web browser, or with a command like the following:
    service --status-all

If the Code42 server restarts, the problem is solved.
If the Code42 server does not restart, contact our Customer Champions​ for Code42 for Enterprise support.