Install Sync on Odroid C2


mrlazy

Recommended Posts

Hi!

I have installed Sync on various systems, rPi (raspbian), bananPi (DietPi). But I got some error  when i install it on Odroid C2 with DietPi OS (Debian).

I follow the guide provided https://help.resilio.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux

 

root@DietPi:/etc/apt/sources.list.d# sudo apt-get install resilio-sync
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  resilio-sync:armhf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,537 kB of archives.
After this operation, 12.1 MB of additional disk space will be used.
Get:1 http://linux-packages.resilio.com/resilio-sync/deb/ resilio-sync/non-free resilio-sync armhf 2.5.5-1 [9,537 kB]
Fetched 9,537 kB in 5s (1,705 kB/s)             
Selecting previously unselected package resilio-sync.
(Reading database ... 16220 files and directories currently installed.)
Preparing to unpack .../resilio-sync_2.5.5-1_armhf.deb ...
Unpacking resilio-sync (2.5.5-1) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up resilio-sync (2.5.5-1) ...
Job for resilio-sync.service failed. See 'systemctl status resilio-sync.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript resilio-sync, action "start" failed.
dpkg: error processing package resilio-sync (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
 resilio-sync
E: Sub-process /usr/bin/dpkg returned an error code (1)

Running the
"systemctl status resilio-sync.service" command gives me:

root@DietPi:~# systemctl status resilio-sync.service
 resilio-sync.service - Resilio Sync service
   Loaded: loaded (/lib/systemd/system/resilio-sync.service; disabled)
   Active: failed (Result: start-limit) since Thu 2017-07-13 12:24:12 BST; 2s ago
     Docs: https://help.getsync.com/
  Process: 2008 ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json (code=exited, status=203/EXEC)
  Process: 2005 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync (code=exited, status=0/SUCCESS)
  Process: 2002 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=0/SUCCESS)

Jul 13 12:24:11 DietPi systemd[1]: Unit resilio-sync.service entered failed state.
Jul 13 12:24:12 DietPi systemd[1]: resilio-sync.service holdoff time over, scheduling restart.
Jul 13 12:24:12 DietPi systemd[1]: Stopping Resilio Sync service...
Jul 13 12:24:12 DietPi systemd[1]: Starting Resilio Sync service...
Jul 13 12:24:12 DietPi systemd[1]: resilio-sync.service start request repeated too quickly, refusing to start.
Jul 13 12:24:12 DietPi systemd[1]: Failed to start Resilio Sync service.
Jul 13 12:24:12 DietPi systemd[1]: Unit resilio-sync.service entered failed state.
root@DietPi:~# 

journalctl -xn gives me:

root@DietPi:/etc/resilio-sync# journalctl -xn
-- Logs begin at Thu 2017-07-13 10:07:11 BST, end at Thu 2017-07-13 12:24:12 BST. --
Jul 13 12:24:11 DietPi systemd[2008]: Failed at step EXEC spawning /usr/bin/rslsync: No such file or directory
-- Subject: Process /usr/bin/rslsync could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /usr/bin/rslsync could not be executed and failed.
-- 
-- The error number returned while executing this process is 2.
Jul 13 12:24:11 DietPi systemd[1]: resilio-sync.service: control process exited, code=exited status=203
Jul 13 12:24:11 DietPi systemd[1]: Failed to start Resilio Sync service.
-- Subject: Unit resilio-sync.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit resilio-sync.service has failed.
-- 
-- The result is failed.
Jul 13 12:24:11 DietPi systemd[1]: Unit resilio-sync.service entered failed state.
Jul 13 12:24:12 DietPi systemd[1]: resilio-sync.service holdoff time over, scheduling restart.
Jul 13 12:24:12 DietPi systemd[1]: Stopping Resilio Sync service...
-- Subject: Unit resilio-sync.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit resilio-sync.service has begun shutting down.
Jul 13 12:24:12 DietPi systemd[1]: Starting Resilio Sync service...
-- Subject: Unit resilio-sync.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit resilio-sync.service has begun starting up.
Jul 13 12:24:12 DietPi systemd[1]: resilio-sync.service start request repeated too quickly, refusing to start.
Jul 13 12:24:12 DietPi systemd[1]: Failed to start Resilio Sync service.
-- Subject: Unit resilio-sync.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit resilio-sync.service has failed.
-- 
-- The result is failed.
Jul 13 12:24:12 DietPi systemd[1]: Unit resilio-sync.service entered failed state.
root@DietPi:/etc/resilio-sync# 

That is strange.

"EXEC spawning /usr/bin/rslsync: No such file or directory"

If I take a look in the /usr/bin directory and then try to run rslsync manauly gives me

root@DietPi:/usr/bin# ls rsl* -la
-rwxr-xr-x 1 root root 12023612 Jul  4 15:38 rslsync
root@DietPi:/usr/bin# ./rslsync 
-bash: ./rslsync: No such file or directory

What have I missed?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.