You are not logged in.

#1 2012-10-17 18:33:57

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

[SOLVED]Systemd and Crashplan service failed.

Hello,

Crashplan service won't start.

systemctl status crashplan.service
crashplan.service - CrashPlan Backup Engine
	  Loaded: loaded (/usr/lib/systemd/system/crashplan.service; enabled)
	  Active: failed (Result: exit-code) since Wed, 17 Oct 2012 11:21:39 -0600; 1h 11min ago
	 Process: 922 ExecStop=/opt/crashplan/bin/CrashPlanEngine stop (code=exited, status=0/SUCCESS)
	 Process: 527 ExecStart=/opt/crashplan/bin/CrashPlanEngine start (code=exited, status=0/SUCCESS)
	Main PID: 920 (code=exited, status=127)
	  CGroup: name=systemd:/system/crashplan.service

Oct 17 11:21:29 arch CrashPlanEngine[527]: Starting CrashPlan Engine ... Using standard startup
Oct 17 11:21:29 arch CrashPlanEngine[527]: OK
Oct 17 11:21:29 arch systemd[1]: Started CrashPlan Backup Engine.
Oct 17 11:21:29 arch CrashPlanEngine[922]: Stopping CrashPlan Engine ... /opt/crashplan/bin/CrashPlanEngine: line 144: kill: (920) - No such process
Oct 17 11:21:39 arch CrashPlanEngine[922]: OK

Please let me know what information can I provide to sort out this issue.

Thanks.

Last edited by donniezazen (2012-10-18 07:04:11)

Offline

#2 2012-10-17 18:56:48

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOLVED]Systemd and Crashplan service failed.

The [Service] section of the systemd unit should have 'Type=forking'.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2012-10-17 21:56:13

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: [SOLVED]Systemd and Crashplan service failed.

/usr/lib/systemd/system/crashplan.service

[Unit]
Description=CrashPlan Backup Engine
After=network.target

[Service]

Type=forking
PIDFile=/opt/crashplan/CrashPlanEngine.pid
EnvironmentFile=/opt/crashplan/bin/run.conf

WorkingDirectory=/opt/crashplan

ExecStart=/opt/crashplan/bin/CrashPlanEngine start
ExecStop=/opt/crashplan/bin/CrashPlanEngine stop

[Install]
WantedBy=multi-user.target

Offline

#4 2012-10-17 22:14:24

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOLVED]Systemd and Crashplan service failed.

I swear that wasn't there when I looked... Anyways, I should have taken a closer look at that output; crashplan is crashing with a -1 exit status. Does crashplan work if you run it manually?


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2012-10-18 06:50:53

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: [SOLVED]Systemd and Crashplan service failed.

CrashPlanDesktop required CrashPlanEngine which is not running. When I run CrashPlanDesktop in terminal, it doesn't do anything.

UPDATE:- Should have paid attention to logs. I am using jdk from AUR. Crashplan couldn't find /usr/bin/java. I rebuilt the package with /opt/java/jre/bin/java and it worked like charm.

Thanks.

Last edited by donniezazen (2012-10-18 07:03:51)

Offline

Board footer

Powered by FluxBB