sirkkalap / freenas-crashplan-howto

How-to install and configure Crashplan to run on FreeNAS server. Updated and converted to project from https://gist.github.com/desimone/7073074
79 stars 10 forks source link

The upgrade version 1435813200470 broke the plugin #15

Closed facastagnini closed 8 years ago

facastagnini commented 8 years ago

Since I receive the upgrade 1435813200470 crashplan wont start in the jail.

Upgrade

root@crashplan_1:~ # tail -4 /usr/pbi/crashplan-amd64/share/crashplan/log/history.log.0
I 07/11/16 02:24PM Downloading a new version of CrashPlan.
I 07/11/16 02:24PM Download of upgrade complete - version 1435813200470.
I 07/11/16 02:24PM Installing upgrade - version 1435813200470
I 07/11/16 02:24PM Upgrade installed - version 1435813200470

Error

root@crashplan_1:~ # service crashplan status
crashplan is not running.
root@crashplan_1:~ # echo > /usr/pbi/crashplan-amd64/share/crashplan/log/engine_error.log
root@crashplan_1:~ # service crashplan start
ps: cmd: keyword not found
Starting CrashPlan Engine ... Using standard startup
OK
root@crashplan_1:~ # service crashplan status
crashplan is not running.
root@crashplan_1:~ # cat /usr/pbi/crashplan-amd64/share/crashplan/log/engine_error.log
/usr/pbi/crashplan-amd64/share/crashplan/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
jloh commented 8 years ago

Yeah I've got this as well. Its super annoying, I can't figure out a way past it and this is the first time I've seen someone else with it as well.

facastagnini commented 8 years ago

I find the answer here

This is where I added the LD_LIBRARY_PATH line:

root@crashplan_1:/home/federico # head /usr/pbi/crashplan-amd64/share/crashplan/bin/CrashPlanEngine
#!/bin/bash

#############################################################
# Init script for CrashPlanEngine
#############################################################

# Common functions used for startup operations
standard_startup() {
root@crashplan_1:/home/federico # vi /usr/pbi/crashplan-amd64/share/crashplan/bin/CrashPlanEngine
root@crashplan_1:/home/federico # head /usr/pbi/crashplan-amd64/share/crashplan/bin/CrashPlanEngine
#!/bin/bash

#############################################################
# Init script for CrashPlanEngine
#############################################################

export LD_LIBRARY_PATH=/usr/pbi/crashplan-amd64/share/crashplan/jre/lib/i386/jli

# Common functions used for startup operations
standard_startup() {