SOLVED CrashPlan not connected to CrashPlan Central

Status
Not open for further replies.

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
I have no idea what that means "SSH" I assume is the Shell. IPMI no clue... assuming that is the shell what log am I looking for?
SSH stands for Secure SHell... an IPMI interface is normally built in to serverboards, which allows access to the a headless server via remote java console access via IPMI web management. SSH is something I recommend you do some research on, as it's a vital tool for linux systems, especially routers and servers. I do not recommend you SSH into FreeNAS if you don't know what SSH is, as you can seriously screw up the OS by digging around in a file system you have no experience with.

I assumed you were running a headless server instance, however you can view the log output by simply hooking a display up to the server. This will show a scrolling realtime log, the same of which is normally displayed at the bottom of the WebGUI
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I have no idea what that means "SSH" I assume is the Shell. IPMI no clue... assuming that is the shell what log am I looking for?
You know these particular items are covered ad nauseum in the forums and in documentation? These aren't inherent to a jail or a plugin.
 

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
You know these particular items are covered ad nauseum in the forums and in documentation? These aren't inherent to a jail or a plugin.
Thanks I will see if I can read up on that.
 

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
SSH stands for Secure SHell... an IPMI interface is normally built in to serverboards, which allows access to the a headless server via remote java console access via IPMI web management. SSH is something I recommend you do some research on, as it's a vital tool for linux systems, especially routers and servers. I do not recommend you SSH into FreeNAS if you don't know what SSH is, as you can seriously screw up the OS by digging around in a file system you have no experience with.

I assumed you were running a headless server instance, however you can view the log output by simply hooking a display up to the server. This will show a scrolling realtime log, the same of which is normally displayed at the bottom of the WebGUI

No, I just use the web interface. The plugin deleted finally, I guess it was just a function of time... I really appreciate the help so far. Hopefully I will be good on the install from here on out.
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
If you do get curious whether or not a log operation has caused some issue, simply hook a display up to the server and watch the real time log output. Once you learn how to utilize SSH, the same can be viewed by issuing the tail command to tail the log file
 

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
Okay, I think I am getting closer... (I hope...) stockstat -l has java listening
Code:
root@crashplan_1:/ # sockstat -l
USER  COMMAND  PID  FD PROTO  LOCAL ADDRESS  FOREIGN ADDRESS
root  java  19940 72 stream (not connected)
root  java  19940 80 stream (not connected)
root  java  19940 89 tcp4  *:4242  *:*
root  java  19940 90 tcp4  *:4243  *:*
root  python2.7  4859  3  tcp4  192.168.1.2:12352  *:*
root  syslogd  4555  4  dgram  /var/run/log
root  syslogd  4555  5  dgram  /var/run/logpriv
root  syslogd  4555  6  udp6  *:514  *:*
root  syslogd  4555  7  udp4  *:514  *:*
root@crashplan_1:/ # 

It is listening on *:4242

I changed the -Xmx1024m to -Xmx2048 in the run.config file

I edited the my.service.xml but the "<serviceHost>" format has changed. Now it says "localhost" versus an ip address. Not sure if I need to change that to 0.0.0.0 or not but that is what I did.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config id="service" modified="2016-05-04T16:07:30:853-0400" version="8">
  <configDateMs nil="true"/>
  <installVersion>1435813200460</installVersion>
  <serviceErrorInterval>3600000</serviceErrorInterval>
  <userIdleDelay>900000</userIdleDelay>
  <orgType>CONSUMER</orgType>
  <systrayOnStartup>true</systrayOnStartup>
  <location>0.0.0.0:4242</location>
  <helpNovice>STILL_RUNNING</helpNovice>
  <userHome nil="true"/>
  <windowsPriorityClass>NORMAL</windowsPriorityClass>
  <windowsPriorityBoost>false</windowsPriorityBoost>
  <macIOPriority>IOPOL_THROTTLE</macIOPriority>
  <javaMemoryHeapMax>1024m</javaMemoryHeapMax>
  <serviceUIConfig>
  <serviceHost>localhost</serviceHost>
  <servicePort>4243</servicePort>
  <connectCheck>0</connectCheck>
  <showFullFilePath>false</showFullFilePath>
  <autoLoginPasswordHash nil="true"/>
  <autoLogin>true</autoLogin>
  <locale nil="true"/>
  </serviceUIConfig>
  <servicePeerConfig>
  <authority address="central.crashplan.com:443" hideAddress="false"/>
  <lastKnownVersion>1435813200460</lastKnownVersion>
  <lastKnownBuildNumber>403</lastKnownBuildNumber>
  <upgradeVersion nil="true"/>
  <upgradeBuildNumber nil="true"/>
  <upgradePath>upgrade</upgradePath>
  <upgradeDelay>15000</upgradeDelay>
  <inboundWorkers>4</inboundWorkers>
  <securityProviderWorkers>1</securityProviderWorkers>
  <securityProviderCipherId>0</securityProviderCipherId>
  <socketSendBufferSize>-1</socketSendBufferSize>
  <socketReceiveBufferSize>-1</socketReceiveBufferSize>
  <inboundMessageBufferSize>2097152</inboundMessageBufferSize>
  <outboundMessageBufferSize>1310720</outboundMessageBufferSize>
  <siteLocalInboundMessageBufferSize>2097152</siteLocalInboundMessageBufferSize>
  <siteLocalOutboundMessageBufferSize>2621440</siteLocalOutboundMessageBufferSize>
  <maxMessageSize>31457280</maxMessageSize>
  <listenForBackup>true</listenForBackup>
file "/usr/pbi/crashplan-amd64/share/crashplan/conf/my.service.xml", 262 lines

Not quite working yet... here is the last part of the cat /var/log/crashplan/engine_output.log. I noticed on line 6 that it says "Not authorized".

But good news, Java is now showing up...

Code:
[05.04.16 16:07:30.888 INFO  main  .code42.messaging.peer.PeerGroup] PG::DefaultGroup listen() location=[740948203657233107@0
.0.0.0:4242]
[05.04.16 16:07:30.891 INFO  main  up42.service.peer.PeerController] Backup LISTENING on [740948203657233107@0.0.0.0:4242]
[05.04.16 16:07:30.891 INFO  main  up42.service.peer.PeerController] PeerNetwork has changed, updating peers.
[05.04.16 16:07:30.891 INFO  main  ervice.peer.CPCAutoRegisterRetry] Create AutoRegister retry system check...
[05.04.16 16:07:30.891 INFO  main  com.backup42.service.CPService] Not authorized, skip setting up backup layer.
[05.04.16 16:07:30.922 INFO  main  om.backup42.service.AppLogWriter] WRITE app.log in 24ms
[05.04.16 16:07:30.922 INFO  main  com.backup42.service.CPService] ********************************************************
*****
[05.04.16 16:07:30.922 INFO  main  com.backup42.service.CPService]  READY!  Listening ports are PEER=4242, CPD=4243, HTTP
=4244
[05.04.16 16:07:30.922 INFO  main  com.backup42.service.CPService] ********************************************************
*****
[05.04.16 16:08:30.173 INFO  ystemWatcher p42.service.peer.CPCConnectCheck] Connect to CPC after 0ms
[05.04.16 16:08:30.283 INFO  ystemWatcher up42.service.peer.PeerController] Attempting to connect to CPC. delay=60000
[05.04.16 16:08:32.119 INFO  MQ-Peer-0  saging.security.SecurityProvider] SP:: Session secured in 853 ms. Session[id=7409572052174
86606, closed=false, isAcceptor=false, remoteIdentity=ENDPOINT, completedAuth=false, lat=2016-05-04T16:08:32:118, lrt=2016-05-04T16:
08:32:118, lwt=2016-05-04T16:08:31:852, #pending=0, enqueued=true, local=192.168.1.2:51697, remote=216.17.8.3:443, usingProtoHeaders
=true, usingEncryptedHeaders=true, WAN]
[05.04.16 16:08:32.212 WARN  DefaultGroup .code42.messaging.peer.PeerGroup] PG::DefaultGroup PeerException attempting to connect. Re
motePeer-[guid=42, server=true, state=NEW, mode=PRIVATE, location=central.crashplan.com:443, public=na, transportPbK=null, transport
PbKRequestable=true, connecting=2016-05-04T16:08:30:202, connected=0, disconnected=2016-05-04T16:08:30:176, attempts=0, connectActiv
ity=2016-05-04T16:08:30:283, keepAliveSent=0, minRetry=33673, retryDelay=0, reflector=na, #nat=0, session=Session[id=740957205217486
606, closed=false, isAcceptor=false, remoteIdentity=ENDPOINT, completedAuth=false, lat=2016-05-04T16:08:32:123, lrt=2016-05-04T16:08
:32:118, lwt=2016-05-04T16:08:32:123, #pending=0, enqueued=false, local=192.168.1.2:51697, remote=216.17.8.3:443, usingProtoHeaders=
true, usingEncryptedHeaders=true, WAN]] e=com.code42.peer.exception.InvalidConnectStateException: RP:: Illegal DISCONNECTED state at
tempt, session is open RemotePeer-[guid=42, server=true, state=NEW, mode=PRIVATE, location=central.crashplan.com:443, public=na, tra
nsportPbK=null, transportPbKRequestable=true, connecting=2016-05-04T16:08:30:202, connected=0, disconnected=2016-05-04T16:08:30:176,
attempts=0, connectActivity=2016-05-04T16:08:30:283, keepAliveSent=0, minRetry=33673, retryDelay=0, reflector=na, #nat=0, session=S
ession[id=740957205217486606, closed=false, isAcceptor=false, remoteIdentity=ENDPOINT, completedAuth=false, lat=2016-05-04T16:08:32:
123, lrt=2016-05-04T16:08:32:118, lwt=2016-05-04T16:08:32:123, #pending=0, enqueued=false, local=192.168.1.2:51697, remote=216.17.8.
3:443, usingProtoHeaders=true, usingEncryptedHeaders=true, WAN]]
[05.04.16 16:08:35.520 INFO  MQ-Peer-1  saging.security.SecurityProvider] SP:: Session secured in 694 ms. Session[id=7409572121296
99598, closed=false, isAcceptor=false, remoteIdentity=ENDPOINT, completedAuth=false, lat=2016-05-04T16:08:35:520, lrt=2016-05-04T16:
08:35:520, lwt=2016-05-04T16:08:35:129, #pending=0, enqueued=true, local=192.168.1.2:65483, remote=216.17.8.52:443, usingProtoHeader
s=true, usingEncryptedHeaders=true, WAN]
[05.04.16 16:08:35.734 INFO  MQ-Peer-2  .code42.messaging.peer.PeerLayer] PeerLayer: session authenticated RemotePeer-[guid=42, se
rver=true, state=CONNECTED, mode=PRIVATE, location=central.crashplan.com:443, public=na, transportPbK=null, transportPbKRequestable=
true, connecting=2016-05-04T16:08:34:328, connected=2016-05-04T16:08:35:734, attempts=0, connectActivity=2016-05-04T16:08:35:734, ke
epAliveSent=0, minRetry=0, retryDelay=0, reflector=reflector.crashplan.com:443, #nat=0, session=Session[id=740957212129699598, close
d=false, isAcceptor=false, remoteIdentity=ENDPOINT, completedAuth=true, lat=2016-05-04T16:08:35:733, lrt=2016-05-04T16:08:35:733, lw
t=2016-05-04T16:08:35:520, #pending=0, enqueued=true, local=192.168.1.2:65483, remote=216.17.8.52:443, usingProtoHeaders=true, using
EncryptedHeaders=true, WAN]]
[05.04.16 16:08:36.042 INFO  MQ-Peer-3  ervice.peer.PeerVersionValidator] WE have an old version, localVersion=1435813200460 (2015
-07-02T05:00:00:460+0000), remoteVersion=1452924000530 (2016-01-16T06:00:00:530+0000), remoteGuid=42
[05.04.16 16:08:36.100 INFO  ystemWatcher up42.service.peer.PeerController]  Connected to CPC after 5sec
[05.04.16 16:09:36.109 INFO  ystemWatcher ervice.peer.CPCAutoRegisterRetry] Remove AutoRegister retry system check, no longer needed
.
root@crashplan_1:/ # 
 
Last edited:

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
So I decided, just to rule out an issue with the GUI side to reinstall the Crashplan program on my windows machine. I did so, but when I went to edit the .ui_info file it was gone. Now, there was a .identity file instead.

This is what it said:
#CrashPlan identity properties
#Wed May 04 17:06:44 EDT 2016
offlinePasswordHash=
transportPrivateKey={long series of numbers/letters/symbols}
guid={18 digit #}
transportPublicKey={an other long series of numbers/letters/symbols}
orgType=CONSUMER

EDIT:

I uninstalled and reinstalled and the .ui_info file was back. Only difference was in the way I did the install. The first time I did it only for my user (this was from a other thread discussion). The second time I did it for all users.
 
Last edited:

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
So I believe I got it all working (finally). I have no idea what finally "fixed" it as I kept tweaking the different files and didn't keep very good track of what I was tweaking.

In case it helps someone else this is where I ultimately ended up in the configuration files:

Code:
4243,{key},0.0.0.0

Code:
4243,{key},192.168.1.2

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config id="service" modified="2016-05-04T21:37:06:278-0400" version="8">
<configDateMs>1462412236494</configDateMs>
<installVersion>1435813200460</installVersion>
<serviceErrorInterval>3600000</serviceErrorInterval>
<userIdleDelay>900000</userIdleDelay>
<orgType>CONSUMER</orgType>
<systrayOnStartup>true</systrayOnStartup>
<location>0.0.0.0:4337</location>
<helpNovice>INTRO,STILL_RUNNING,INTRO</helpNovice>
<userHome>C:\Users\Andrew M. Herold Jr</userHome>
<windowsPriorityClass>LOW</windowsPriorityClass>
<windowsPriorityBoost>false</windowsPriorityBoost>
<macIOPriority>IOPOL_THROTTLE</macIOPriority>
<javaMemoryHeapMax>2048m</javaMemoryHeapMax>
<serviceUIConfig>
<serviceHost>192.168.1.2</serviceHost>
<servicePort>4338</servicePort>
<connectCheck>0</connectCheck>

Code:
SRV_JAVA_OPTS="-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider Dfile.encoding=UTF-8 -Dapp=CrashPlanService-DappBaseName=CrashPlan -Xms20m -Xmx1024m-Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false"                        
GUI_JAVA_OPTS="-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider-Dfile.encoding=UTF-8 -Dapp=CrashPlanDesktop-DappBaseName=CrashPlan -Xms20m -Xmx512m-Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false"
 
Status
Not open for further replies.
Top