Freenas Crashplan Plugin

Status
Not open for further replies.

Freesnofla

Patron
Joined
Oct 27, 2013
Messages
216
Hi Guys, since 3 days I do have trouble with the Crashplan plugin. I run actually the newest FreeNas version 9.2.1.8. The update was done the 2014/09/30. Never faced any problem with Crashplan so far. But now it switched to off.

On the terminal footer I can see that when I switch the FreeNas plugin on I got the following message:

linux: pid 18859 ( java ) syscall epoll_create not implemented.

Hopefully somebody can give me hints what to do.

best regards
freesnofla
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
hello,
i am hoping i can get some help here.

i used the fix that @Entity pointed to and now i can get the crashplan plugin to stay on. The problem i am having is that it seems I am not tunneling into the freenas server.


I can ssh into the jail, i have changed the ui file to change the port on my pc to 4200.

when u do sockstat -4 this is what i see:
[root@freenas] ~# jexec crashplan_1 sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root sshd 4147 5 tcp4 192.168.1.103:22 192.168.1.83:53226
root java 3952 56 tcp4 127.0.0.1:4243 *:*
root java 3952 57 tcp4 *:4242 *:*
root java 3951 56 tcp4 127.0.0.1:4243 *:*
...



but i do not see this line which i have seen in other tutorials:
crashplan sshd 4149 5 tcp4 192.168.1.103:22 192.168.1.83:53226

but if i run cpuset -l 0 /usr/local/share/crashplan/bin/CrashPlanEngine status it shows that it is running.

im not sure how to troubleshoot this or how to start sshd under the crashplan user.

i ssh into the jail by -ssh -L 4200:127.0.0.1:4243 crashplan@jail_ip_address
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Please post your ui file from the server. and also the output of 'netstat -n' after you have made the ssh connection list above. I would also like the output to 'cat /etc/rc.conf' and 'ps auxw|grep sshd'. all of these are from inside the jail.

what I'm looking for is:
1. is sshd running?
2. is the ssh connection working?
3. is sshd set to enabled.

These items are always a good thing to start with with any problem.
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
How can I access the ui file?

this is netstat -n

Code:
[root@freenas ~]# jexec 2 /bin/tcsh                                           
root@crashplan_1:/ # netstat -n                                               
Active Internet connections                                                   
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)     
tcp4       0      0 192.168.1.4.22         192.168.1.10.13174     ESTABLISHED 
tcp4       0      0 192.168.1.4.36474      216.17.8.7.443         ESTABLISHED 
Active UNIX domain sockets                                                    
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr        
fffffe009887fc30 stream      0      0        0 fffffe009887f870        0      
0                                                                             
fffffe009887f870 stream      0      0        0 fffffe009887fc30        0      
0                                                                             
fffffe0055fae780 stream      0      0        0        0        0        0     
fffffe0055fae000 stream      0      0        0        0        0        0     
fffffe0055fae960 dgram       0      0        0 fffffe0055faec30        0      
0                                                                             
fffffe0055faec30 dgram       0      0 fffffe009393f9d8        0 fffffe0055fae960
        0 /var/run/logpriv                                                    
fffffe0055faeb40 dgram       0      0 fffffe009393fbd0        0        0      
0 /var/run/log                                                                
root@crashplan_1:/ #                                                          
root@crashplan_1:/ # 


this is cat /etc/rc.conf
Code:
root@crashplan_1:/ # cat /etc/rc.conf                                         
portmap_enable="NO"                                                           
sshd_enable="YES"                                                             
sendmail_enable="NO"                                                          
sendmail_submit_enable="NO"                                                   
sendmail_outbound_enable="NO"                                                 
sendmail_msp_queue_enable="NO"                                                
devfs_enable="YES"                                                            
devfs_system_ruleset="devfsrules_common"                                      
crashplan_enable="YES"                                                        
root@crashplan_1:/ # 


and this is ps auxw

Code:
root@crashplan_1:/ # ps auxw | grep sshd                                      
root       6974  0.0  0.0   46876   784 ??  IsJ  Thu12AM 0:00.01 /usr/sbin/sshd
root      75364  0.0  0.1   72136  5276 ??  IsJ   9:54AM 0:00.04 sshd: crashplan
[priv] (sshd)                                                                
crashplan 75368  0.0  0.1   72136  5256 ??  IJ    9:54AM 0:00.00 sshd: crashplan
@pts/0 (sshd)                                                                 
root      75442  0.0  0.0   16312  1920  1  S+J   9:57AM 0:00.00 grep sshd    
root@crashplan_1:/ # 
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You said you modified the file in an earlier post so I assumed you knew how to look at it.

if you run this command it will print everything out and the important part is the server port.

cat /usr/local/share/crashplan/conf/ui.properties
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
oh sorry, i modified the ui.properties on my desktop running the crashplan client.

This is the ui.properties from the server
Code:
root@crashplan_1:/ # cat /usr/local/share/crashplan/conf/ui.properties        
#Fri Dec 09 09:50:22 CST 2005                                                 
#serviceHost=127.0.0.1                                                        
#servicePort=4243                                                              
#pollerPeriod=1000  # 1 second                                                
#connectRetryDelay=10000  # 10 seconds                                        
#connectRetryAttempts=3                                                       
#showWelcome=true                                                             
                                                                              
#font.small=                                                                  
#font.default=                                                                
#font.title=                                                                  
#font.message.header=                                                         
#font.message.body=                                                           
#font.tab=                                                                    
root@crashplan_1:/ #  



and this is the ui.properties from my desktop

Code:
#Fri Dec 09 09:50:22 CST 2005
#serviceHost=127.0.0.1
servicePort=4200 #pollerPeriod=1000  # 1 second
#connectRetryDelay=10000  # 10 seconds
#connectRetryAttempts=3
#showWelcome=true

#font.small=
#font.default=
#font.title=
#font.message.header=
#font.message.body=
#font.tab=
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
I have an update, now when i connect via ssh i see the line i said i was missing but when i try to open crashplan on my desktop when the tunnel is open i get a message saying that it is unable to connect to the backup engine. but the engine is running on my freenas server. Any ideas on what the problem could be?


Code:
root@crashplan_1:/ # cpuset -l 0 /usr/local/share/crashplan/bin/CrashPlanEngine
status                                                                         
CrashPlan Engine (pid 5852                                                     
6082                                                                           
6083                                                                           
6084                                                                           
6085                                                                           
6116                                                                           
6122                                                                           
6123                                                                           
6136) is running.                                                              
root@crashplan_1:/ #   


Code:
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
root     java       7444  58 tcp4   127.0.0.1:4243        *:*                  
root     java       7444  59 tcp4   *:4242                *:*                  
crashplan sshd      7440  5  tcp4   192.168.1.4:22        192.168.1.10:21169   
root     sshd       7436  5  tcp4   192.168.1.4:22        192.168.1.10:21169   
root     java       6867  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6867  59 tcp4   *:4242                *:*                  
root     java       6866  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6866  59 tcp4   *:4242                *:*                  
root     java       6865  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6865  59 tcp4   *:4242                *:*                  
root     java       6864  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6864  59 tcp4   *:4242                *:*                  
root     java       6863  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6863  59 tcp4   *:4242                *:*                  
root     java       6862  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6862  59 tcp4   *:4242                *:*                  
root     java       6861  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6861  59 tcp4   *:4242                *:*                  
root     java       6860  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6860  59 tcp4   *:4242                *:*                  
root     java       6859  58 tcp4   127.0.0.1:4243        *:*                  
root     java       6859  59 tcp4   *:4242                *:*                  
:  
 

alexthefourth

Dabbler
Joined
Sep 3, 2013
Messages
28
i tried 42000 and it still didnt connect. not sure why im having so much trouble on this. Does the version of java i have installed on the pc where the client is running matter?

this is what my ui.log file contains

Code:
#############################
# Backup ui.log.properties
# Code 42 Software, Inc. 2005
#############################
log4j.rootLogger=INFO, FILE

# ui.log file appender; log file location is defined in code, if it's not here
log4j.appender.FILE                    = com.code42.logging.C42RollingFileAppender
log4j.appender.FILE.layout            = com.code42.logging.Layout42
log4j.appender.FILE.MaxFileSize        = 52MB
log4j.appender.FILE.MaxBackupIndex    = 1
log4j.appender.FILE.append            = true
 

babaz83

Dabbler
Joined
Nov 10, 2014
Messages
19
Hi Everybody, this crashplan plugin won't work. I've accept the conditions but it still doesn't want to stay ON. It always goes on OFF .
Anyone has a solution?
Thank you so much.
 
Status
Not open for further replies.
Top