New plugin available: Crashplan

Status
Not open for further replies.

Jens

Dabbler
Joined
Sep 27, 2013
Messages
13
ok will try now.
is there a way in without needing to ssh forward, just connection crashplan to jail ip?
 

Jens

Dabbler
Joined
Sep 27, 2013
Messages
13
that could be great, where do i need to change to make that happen. my freenas is behind a router/firewall.
 

zottelbeyer

Dabbler
Joined
Mar 18, 2013
Messages
10
When I try to login with the CrashPlanClient it freezes at "please wait" and a console message "Oct 20 16:17:52 freenas kernel: linux: pid 10756 (java): syscall inotify_init not implemented" appears...
any ideas why the client wont load the interface ? it does login into crashplan btw, which i can see when checking my account.
 

ndboost

Explorer
Joined
Mar 17, 2013
Messages
78
followed everyones steps here, it crashplan desktop whines about not finding the remote engine... also ssh tunnel is showing the connections refused for some reason.

rc.conf has sshd_enable=yes already, and i created a crashplan user with alt group of wheel.. i can ssh into the jail from my macbook fine.

The tunnel connects fine, yet for some reason the jail is denying ssh tunnel requests..

Ive also modified sshd_config with "AllowTcpForwarding Yes" and tried restarting sshd service
 

zottelbeyer

Dabbler
Joined
Mar 18, 2013
Messages
10
So is there anyone other than William who has this working ? I would really like this to work for me and others too...
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I don't have an account or I'd try it. I can't afford to be buying accounts for stuff like Crashplan and I'm pretty sure they won't just give me an account with some really small amount of storage just to experiment with in a VM for helping out others in the forum. :(
 

Klox

Dabbler
Joined
Sep 29, 2013
Messages
21
Crashplan is free for all use except cloud-syncing. You can use the client on multiple computers and back up between them for free. Hence my interest in getting it running on FreeNAS (although I did buy the 10 user license deal a few months ago for my whole family).

I am also struggling to get this working. Same problems as others hav estated but I can't ssh into my jail. I've tried going into it with jexec and then running passwd. I just get a permission died after 3 attempts. Probably hav esomething else wrong =/

edit Nevermind, I can adduser just fine. No problem SSHing but perhaps some forwarding problems (although seems to ssh in just fine with all the arguments). This is the error I get:

Code:
channel 3: open failed: connect failed: Connection refused


over and over until Crashplan says it can't connect. Periodically it throws in a

Code:
channel 3: open failed: administratively prohibited: open failed


I've added tcp forwarding and restarted the service.

edit There are the errors I get now, following Mike's steps too.


Code:
debug1: Connection to port 4200 forwarding to 127.0.0.1 port 4243 requested.
debug2: fd 6 setting TCP_NODELAY
debug2: fd 6 setting O_NONBLOCK
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug2: channel 2: zombie
debug2: channel 2: garbage collecting
debug1: channel 2: free: direct-tcpip: listening port 4200 for 127.0.0.1 port 4243, connect from 127.0.0.1 port 46090, nchannels 3


It cycles through a bunch of ports before failing.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Crashplan is free for all use except cloud-syncing. You can use the client on multiple computers and back up between them for free. Hence my interest in getting it running on FreeNAS (although I did buy the 10 user license deal a few months ago for my whole family).

I am also struggling to get this working. Same problems as others hav estated but I can't ssh into my jail. I've tried going into it with jexec and then running passwd. I just get a permission died after 3 attempts. Probably hav esomething else wrong =/

edit Nevermind, I can adduser just fine. No problem SSHing but perhaps some forwarding problems (although seems to ssh in just fine with all the arguments). This is the error I get:

Code:
channel 3: open failed: connect failed: Connection refused


over and over until Crashplan says it can't connect. Periodically it throws in a

Code:
channel 3: open failed: administratively prohibited: open failed


I've added tcp forwarding and restarted the service.

edit There are the errors I get now, following Mike's steps too.


Code:
debug1: Connection to port 4200 forwarding to 127.0.0.1 port 4243 requested.
debug2: fd 6 setting TCP_NODELAY
debug2: fd 6 setting O_NONBLOCK
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug2: channel 2: zombie
debug2: channel 2: garbage collecting
debug1: channel 2: free: direct-tcpip: listening port 4200 for 127.0.0.1 port 4243, connect from 127.0.0.1 port 46090, nchannels 3


It cycles through a bunch of ports before failing.

Tried using the root account from the jail?
 

Klox

Dabbler
Joined
Sep 29, 2013
Messages
21
I updated /etc/ssh/sshd_config to allow for root ssh on the jail. Still came up with the same set of connection refused messages =/
 

Jaknell1011

Dabbler
Joined
Aug 28, 2013
Messages
49
I get to the point that I enter the command:

"ssh -L 4200:127.0.0.1:4243 crashplan@xxx.xxx.xxx.xxx -N -v -v"

I am not sure where to go from here. When I type in this command, the last thing I get on the screen is:

"debug1: Entering interactive session."

Can someone please point me in the right direction on what to do next? Do i need to install the desktop client on a windows machine in order to go on? Any help would be greatly appreciated!


EDIT** Basically I am at step 7 from this page, and not sure how to go about doing this.

https://gist.github.com/desimone/7073074

Klox,

I was having the same problems you are having, but just recently fixed it. Check out my thread for my final few solutions.

http://forums.freenas.org/threads/c...unnel-to-jail-or-freenas-ip.16208/#post-82791
 

Shastada

Cadet
Joined
Sep 14, 2012
Messages
7
My crashplan engine appears to be running in the jail as my sockstat -4 is showing

# sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root sshd 37019 5 tcp4 *:22 *:*
root java 35903 56 tcp4 127.0.0.1:4243 *:*
root java 35903 57 tcp4 *:4242 *:*
root java 35902 56 tcp4 127.0.0.1:4243 *:*
root java 35902 57 tcp4 *:4242 *:*
root java 35901 56 tcp4 127.0.0.1:4243 *:*
root java 35901 57 tcp4 *:4242 *:*
root java 35900 56 tcp4 127.0.0.1:4243 *:*
root java 35900 57 tcp4 *:4242 *:*
root java 35899 56 tcp4 127.0.0.1:4243 *:*
root java 35899 57 tcp4 *:4242 *:*
root java 35898 56 tcp4 127.0.0.1:4243 *:*
root java 35898 57 tcp4 *:4242 *:*
root java 35897 56 tcp4 127.0.0.1:4243 *:*
root java 35897 57 tcp4 *:4242 *:*
root java 35896 56 tcp4 127.0.0.1:4243 *:*
root java 35896 57 tcp4 *:4242 *:*
root java 35895 56 tcp4 127.0.0.1:4243 *:*
root java 35895 57 tcp4 *:4242 *:*
root java 35894 56 tcp4 127.0.0.1:4243 *:*
root java 35894 57 tcp4 *:4242 *:*
root java 35893 56 tcp4 127.0.0.1:4243 *:*
root java 35893 57 tcp4 *:4242 *:*
root java 35892 56 tcp4 127.0.0.1:4243 *:*
root java 35892 57 tcp4 *:4242 *:*
root java 35891 56 tcp4 127.0.0.1:4243 *:*
root java 35891 57 tcp4 *:4242 *:*
root java 35890 56 tcp4 127.0.0.1:4243 *:*
root java 35890 57 tcp4 *:4242 *:*
root java 35889 56 tcp4 127.0.0.1:4243 *:*
root java 35889 57 tcp4 *:4242 *:*
root java 35888 56 tcp4 127.0.0.1:4243 *:*
root java 35888 57 tcp4 *:4242 *:*
root java 35887 56 tcp4 127.0.0.1:4243 *:*
root java 35887 57 tcp4 *:4242 *:*
root java 35886 56 tcp4 127.0.0.1:4243 *:*
root java 35886 57 tcp4 *:4242 *:*
root java 35885 56 tcp4 127.0.0.1:4243 *:*
root java 35885 57 tcp4 *:4242 *:*
root java 35884 56 tcp4 127.0.0.1:4243 *:*
root java 35884 57 tcp4 *:4242 *:*
root java 35883 56 tcp4 127.0.0.1:4243 *:*
root java 35883 57 tcp4 *:4242 *:*
root java 35882 56 tcp4 127.0.0.1:4243 *:*
root java 35882 57 tcp4 *:4242 *:*
root java 35881 56 tcp4 127.0.0.1:4243 *:*
root java 35881 57 tcp4 *:4242 *:*
root java 35880 56 tcp4 127.0.0.1:4243 *:*
root java 35880 57 tcp4 *:4242 *:*
root java 35879 56 tcp4 127.0.0.1:4243 *:*
root java 35879 57 tcp4 *:4242 *:*
root java 35878 56 tcp4 127.0.0.1:4243 *:*
root java 35878 57 tcp4 *:4242 *:*
root java 35877 56 tcp4 127.0.0.1:4243 *:*
root java 35877 57 tcp4 *:4242 *:*
root java 35876 56 tcp4 127.0.0.1:4243 *:*
root java 35876 57 tcp4 *:4242 *:*
root java 35875 56 tcp4 127.0.0.1:4243 *:*
root java 35875 57 tcp4 *:4242 *:*
root java 35874 56 tcp4 127.0.0.1:4243 *:*
root java 35874 57 tcp4 *:4242 *:*
root java 35873 56 tcp4 127.0.0.1:4243 *:*
root java 35873 57 tcp4 *:4242 *:*
root java 35872 56 tcp4 127.0.0.1:4243 *:*
root java 35872 57 tcp4 *:4242 *:*
root java 35871 56 tcp4 127.0.0.1:4243 *:*
root java 35871 57 tcp4 *:4242 *:*
root java 35870 56 tcp4 127.0.0.1:4243 *:*
root java 35870 57 tcp4 *:4242 *:*
root java 35869 56 tcp4 127.0.0.1:4243 *:*
root java 35869 57 tcp4 *:4242 *:*
root java 35868 56 tcp4 127.0.0.1:4243 *:*
root java 35868 57 tcp4 *:4242 *:*
root python2.7 33272 3 tcp4 192.168.78.55:12350 *:*
root syslogd 32981 7 udp4 *:514 *:*

I'm still stuck. Can't connect to my Crashplan plugin. I'm using this command to do the port forward from my windows box, not sure if this is right or not, can anyone verify?


netsh interface portproxy add v4tov4 listenport=4200 listenaddress=127.0.0.1 connectport=4243 connectaddress=%PLUGIN_IP%

 

Jens

Dabbler
Joined
Sep 27, 2013
Messages
13
I am also stuck at connecting client. if i dmesg i get a "(java): syscall inotify_init not implemented" in the log.
do i need to recompile the Kernel?
 

multivacac

Cadet
Joined
Nov 11, 2013
Messages
1
My crashplan engine appears to be running in the jail as my sockstat -4 is showing



I'm still stuck. Can't connect to my Crashplan plugin. I'm using this command to do the port forward from my windows box, not sure if this is right or not, can anyone verify?

I might have missed this earlier, but how are you connecting ssh to the jail?

Not sure about the windows command but unless you have an ssh connection to tunnel through I don't think it will work. If I missed something and you are connecting through ssh and just want to verify if the problem is with the netsh command or with the jail you could try connecting through Putty. I have a linux VM running Crash Plan (until I get the plugin working properly) and I always connected through SSH in Putty with the SSH tunneling setup, and then the Crash Plan client could connect.

Right now my issue seems to be that Crash Plan isn't listening, not sure where I missed a step.
Code:
crashplan@crashplan_1:/home/crashplan % sockstat
USER    COMMAND    PID  FD PROTO  LOCAL ADDRESS        FOREIGN ADDRESS
crashplan sshd      14820 4  stream -> ??
crashplan sshd      14820 5  tcp4  192.168.1.89:22      192.168.1.68:57630
root    sshd      14815 5  tcp4  192.168.1.89:22      192.168.1.68:57630
root    sshd      14815 6  stream -> ??
root    sshd      10556 4  tcp6  *:22                  *:*
root    sshd      10556 5  tcp4  *:22                  *:*
root    java      9423  32 stream (not connected)
root    java      9422  32 stream (not connected)
root    java      9415  32 stream (not connected)
root    java      9414  32 stream (not connected)
root    java      9413  32 stream (not connected)
root    java      9412  32 stream (not connected)
root    java      9411  32 stream (not connected)
root    java      9410  32 stream (not connected)
root    java      9409  32 stream (not connected)
root    java      9408  32 stream (not connected)
root    java      9407  32 stream (not connected)
root    java      9406  32 stream (not connected)
root    python2.7  3363  3  tcp4  192.168.1.89:12346    *:*
root    cron      3187  4  dgram  -> /var/run/logpriv
root    syslogd    3092  4  dgram  /var/run/log
root    syslogd    3092  5  dgram  /var/run/logpriv
root    syslogd    3092  6  udp6  *:514                *:*
root    syslogd    3092  7  udp4  *:514                *:*
 

Jaknell1011

Dabbler
Joined
Aug 28, 2013
Messages
49
I finally got the crashplan UI to connect to the crashplan jail, however when I try to login on the UI, I get:

"! Unable to connect, check your network"

Does anyone have any idea on what I need to do, a search reveals nothing so far. I'm thinking it has something to do with my freenas box (or perhaps the jail) accessing the internet. I can "ping google.com" and do a "whois google.com" from a ssh session to both the jail and the freenas itself. Any ideas?

**Update** I tried the telnet tests from crashplan from the page here:
http://support.code42.com/CrashPlan...ng_A_Telnet_Test_to_Verify_Network_Connection

These tests worked both in the freenas itself and the jail. This also worked from the PC using the crashplan UI.
 

sirkkalap

Dabbler
Joined
Jan 2, 2014
Messages
12
I followed the nice instructions desimone had posted to gist. I noticed that the plugin was updated to 3.5.3_1 and it was now FreeBSD. I forked the instructions and rewrote them to match the new versions: https://github.com/sirkkalap/freenas-crashplan-howto

However, I recently noticed Crashplan is rolling out 3.6.3 version. I wonder who could I contact to be able to help with releasing updated plugin with the new version of Crashplan?

PM or email me, please: sirpete@iki.fi
 

Thorsten

Dabbler
Joined
Mar 15, 2014
Messages
19
Does anyone have the plugin working on 9.3?
Is there still develpment on this plugin?
(Or a way to support the people who are working on it)

I would really like to backup my FreeNAS to Crashplan. It was actually one of the reasons why I chose FreeNAS ...
 
Status
Not open for further replies.
Top