NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bishoptf
Feb 12, 2012Aspirant
Crashplan for Dummies, aka Step by Step :)
I have just went through this and have seen several folks post that they wish there was an all inclusive guide, I just bought a Pro 2 and so far I am pleased with what I see under the hood (looks like debian to me, kernel 2.6.37) I'm a *nix guy so I thought I would try to make an all inclusive step-by-step to help anyone that might want to try and install crashplan. So here goes, the normal warning goes here - There are no warranties implied or otherwise, DO THIS AT YOUR OWN RISK! If you find any thing that needs to be updated or doesn't make sense please post and let me know...
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. Install the Enable Root SSH addon - http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin Complete installation by rebooting your readynas.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (putty) - http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe, nothing to install, just download and place on your desktop or somewhere you can find it.
7. Open putty and SSH into your readynas, enter the IP address and when it prompts for username enter "root" and then your normal raidar/frontpage "password". Once logged in verify java operation by entering the following :
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_Linux.tgz" or whichever version you downloaded, this will extract all of the files
and place them in a folder called "CrashPlan-install".
enter "cd "CrashPlan-install" and then run the installer, enter "./install.sh", this will start the installer
ask for you to accept the terms and conditions and ask questions where to install etc..You can accept the defaults
for most, however when it prompts you for the default crashplan backup directory, you can go with the default or
provide a directory that you have already established for that purpose, e.g., "/crash-backup" whatever your share
that you created without any slashes, this actual is a pointer to "crash-backup -> /c/crashplan-backup"
Here are the questions, most you accept the defaults, in this case I chose to specify a different Directory -
Do you accept and agree to be bound by the EULA? (yes/no) yes
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
What directory do you wish to link the CrashPlan executable to? [/usr/local/bin]
What directory do you wish to store backups in? [/usr/local/var/crashplan] /crash-backup
What directory contains your SYSV init scripts? [/etc/init.d]
What directory contains your runlevel init links? [/etc/rc2.d]
Your selections:
CrashPlan will install to: /usr/local/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /crash-backup
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d
Is this correct? (y/n) [y] y
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*Note while configuring the Crashplan client -the client will show your shares twice - as links (with an arrow as part of the icon)
and under the "C" folder. It won't back up the links, you need to select the folders under the "C" folder. If you try the other way, the
backup "succeeds", but doesn't back anything up. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
1. See Step one below
2. See Step two below
3. See Step three below
4. Once logged onto your readynas as "root" your ready to get the the software setup. Keep in mind that when you are running as root, you have elevated priviliges and you can do anything you want, including messing things up, so go slow and take your time :)
- First thing we need to do is edit the sources.list, we are going to use vi which is not a friendly editor
but is installed on any base *nix system and in this case will get the job done. Lets edit the file, at
the prompt - vi /etc/apt/sources.list, arrow down to the last line and then arrow over to the
last letter and hit the "a" button for append and then hit "enter" to get a new line and then paste
"deb http://archive.debian.org/debian-backports etch-backports main non-free" .
- To get out of vi and save the file "shift:" will get you the colon prompt at the bottom, then to save
and exit enter "x", if you made a mistake and you do not want to save your work at the colon enter "q!"
and that will quit without saving any changes. Once you exit and save your sources list should look
like this, "more /etc/apt/sources.list" -
deb http://www.readynas.com/packages 4.2.19/
deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian-backports etch-backports main non-free
5. Now we need to update our package list and install Java.
- enter "apt-get update"
- Now we need to modify configuration dialog selection so we can accept the java Terms and conditions.
- enter "dpkg-reconfigure debconf"
This will ask you to select a dialong frontend, select option 1 - Dialog, then it will ask you for
the level, select option 3 - Medium.
- Now lets install java, enter "apt-get install sun-java6-jre", it will download the package and start to
install it where it will ask for you to accept the terms and conditions, select yes and complete the
installation.
- Modify the deb configuration and change it back, enter "dpkg-reconfigure debconf"
This will ask you to select a dialong frontend, select option 6 - Noninteractive, then it will
ask you for the level, select option 3 - Medium (not sure if this was the default).
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. Install the Enable Root SSH addon - http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin Complete installation by rebooting your readynas.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (putty) - http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe, nothing to install, just download and place on your desktop or somewhere you can find it.
7. Open putty and SSH into your readynas, enter the IP address and when it prompts for username enter "root" and then your normal raidar/frontpage "password". Once logged in verify java operation by entering the following :
java -version
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_Linux.tgz" or whichever version you downloaded, this will extract all of the files
and place them in a folder called "CrashPlan-install".
enter "cd "CrashPlan-install" and then run the installer, enter "./install.sh", this will start the installer
ask for you to accept the terms and conditions and ask questions where to install etc..You can accept the defaults
for most, however when it prompts you for the default crashplan backup directory, you can go with the default or
provide a directory that you have already established for that purpose, e.g., "/crash-backup" whatever your share
that you created without any slashes, this actual is a pointer to "crash-backup -> /c/crashplan-backup"
Here are the questions, most you accept the defaults, in this case I chose to specify a different Directory -
Do you accept and agree to be bound by the EULA? (yes/no) yes
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
What directory do you wish to link the CrashPlan executable to? [/usr/local/bin]
What directory do you wish to store backups in? [/usr/local/var/crashplan] /crash-backup
What directory contains your SYSV init scripts? [/etc/init.d]
What directory contains your runlevel init links? [/etc/rc2.d]
Your selections:
CrashPlan will install to: /usr/local/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /crash-backup
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d
Is this correct? (y/n) [y] y
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*Note while configuring the Crashplan client -the client will show your shares twice - as links (with an arrow as part of the icon)
and under the "C" folder. It won't back up the links, you need to select the folders under the "C" folder. If you try the other way, the
backup "succeeds", but doesn't back anything up. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
306 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
I also upgraded to 2 GB, which does seem to help overall performance with Crashplan. Though I have experienced at least one disconnected issue after that.bishoptf wrote: I was seeing the disconnected issue quite often, I upgraded my memory to 2Gb and so far that has cured my crashplan disconnected issue that I was seeing, so far everything appears to be running better. :) - irohitmishraAspirantvery helpful post.........
Rohit Mishra - joepezAspirantHopefully someone can help me out with this problem.
I tried to follow the steps from the first post, but on a 516 running 6.1.2 the FrontView installer refuses to recognize the EJRE installer as a valid pacakge.
So I tried an alternative method found here (http://www.shasam.net/blog/2012/3/21/crashplan-on-the-netgear-readynas-x86.html), but there is no apt-get for the Sun Java 7 packages, so I installed the OpenJDK 7 package.
Install went fine for OpenJDK 7 . I run java -version and get the following:java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
I followed through on the rest of the steps and download and extracted the latest CrashPlan client (3.5.3). When I try and run install.sh I get the following error message:Error: Could not find or load main class com.code42.utils.JavaEnvironment
The current version of Java () is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7
I know Java is installed, everything appears to be there, but I'm stumped.
Can anyone help me figure out what's missing? - InterClawAspirantTry to install EJRE 1.6 instead maybe?
- joepezAspirantTried swithcing back to 1.6 and now I get this:
Exception in thread "main" java.lang.NoClassDefFoundError: com/code42/utils/JavaEnvironment
Caused by: java.lang.ClassNotFoundException: com.code42.utils.JavaEnvironment
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.code42.utils.JavaEnvironment. Program will exit.
The current version of Java () is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7
Or I see this:Exception in thread "main" java.lang.NoClassDefFoundError: com/code42/utils/JavaEnvironment
Caused by: java.lang.ClassNotFoundException: com.code42.utils.JavaEnvironment
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
The current version of Java () is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7 - InterClawAspirantIt seems like it's still running off of the JDK 1.7, no? Try to uninstall the EJRE installer and do the java -version thing after that and see what you get.
- scienideAspirantHad the same problem in Ubuntu 13.04. Installed latest OpenJDK (1.7.0_25), but installer returned the message
Error: Could not find or load main class com.code42.utils.JavaEnvironment
The current version of Java () is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7
I inspected the install.sh and found a variable JAVA_SPECIFICATION_VERSION that didn't seem to contain any value, probably because the com.code42.utils.JavaEnvironment class fails to load.
If you are absolutely sure that your Java-installation is OK, then you can read on.
The script compares the version list "1.5 1.6 1.7" against the previously mentioned variable, but since it doesn't contain anything (hence the empty parentheses in the error message) the script fails.
What I simply did to try to get CrashPlan installed was to add JAVA_SPECIFICATION_VERSION="1.7" below OKJAVA="1.5 1.6 1.7" in the script (line 21). Hadn't too much hope to get it installed properly after running install.sh, but the installation finished with no errors.
The client loads fine, and I can log in to my account and add files with no problems. - chaugAspirantHere is something for anyone who has experienced problems with a full OS partition (i.e. when things are no longer working as they should and NASMON* displays "Disk Usage: / 100% (4.0G)" in the top righthand corner) or who would like to avoid it: :arrow: do not accept the default install directory for the crashplan cache:
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
When my OS partition was full a couple of days ago and I had to let Netgear support fix it via remote access, the technician told me that the reason for the full OS partition was that a process called "crashplan" was writing cache files (a total of 2.7 GB) into /usr/local/crashplan, causing the root partition to fill up.
Unfortunately, I'm not an expert with servers (I don't even know exactly which directories are located in the root partition), so before I start fiddling around with things, I'd like to ask here:
:?: What other directory would be appropriate? Does the install directory affect the functioning of crashplan at all?
:?: What can I do now that I already installed crashplan according to the instructions given in this thread? Can I somehow move the installation or do I need to uninstall and re-install completely?
Cheers,
Christoph
* http://www.readynas.com/forum/viewtopic.php?f=48&t=24817 (I would have liked to insert this as a proper link above, but it seems to be impossible in this forum) - StephenBGuru - Experienced UserI would try a soft link first.
(a) stop crashplan (you can stop the service if you double-click on the house in the crashplan client - that will give you some extra commands).
(b) rename \usr\local\crashplan\cache to something else (\usr\local\crashplan\ocache for instance).
(c) create a cache folder on \c\ (perhaps use frontview)
(d) create a soft link (http://www.cyberciti.biz/faq/creating-s ... olic-link/) ln -s \c\cache \usr\local\crashplan\cache
(e) restart the NAS to restart the crashplan service.
I'm not certain this will work, but I would try it before doing a full reinstall.
Another option is to create \c\cache, and edit myservice.xml to point to it (replacing the reference to \usr\local\crashplan\cache).
The crashplan logs can also be moved, though they are less problematic than the the cache.
You can also try creating a soft link to\c\cache - InterClawAspirantThis got me interested. Found this on their site for those who would like to clear the cache. It doesn't solve your problem, but it might be useful information for those watching this thread. :)
https://helpdesk.crashplan.com/entries/ ... uick-fixes
I noticed that I have about 3.5 GB of data in /usr/local/crashplan/cache, but it hasn't given me any problems. Should it have? :)
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!