Tomaas

[Solved] Synology - Failed to run the package service

Recommended Posts

Hi, 

I manually installed the Resilio Sync package on my DS216+ (Braswell). 

Every time I try to launch it, I get the following error : "Failed to run the package service". 

Admin account is enabled. I tried to SSH to /usr/local/resiliosync/bin/ and launch it manually. I get the following output : "Resilio Sync forked to background. pid = 28107". 
However, it doesn't appear as running in DSM. I tried to kill the process and launch it again from DMS without success". 

Has anyone an idea ?
Cheers

Share this post


Link to post
Share on other sites

Was it clean install or update? 
try command 

/usr/local/resiliosync/bin/rslsync --config /usr/local/resiliosync/var/sync.conf
and in a while, a minute or so check if it's still running , ps aux | grep sync. 

if not, send the sync.log from /usr/local/resiliosync/var/, and dmp (if dumped) from /usr/local/resiliosync/bin/ to support. 

Share this post


Link to post
Share on other sites

It's a clean install. 

/usr/local/resiliosync/bin/rslsync --config /usr/local/resiliosync/var/sync.conf

only works when ran as SU. Otherwise I get 

Can't open pid file /usr/local/resiliosync/var/syncapp.pid. Permission denied

Cheers

Share this post


Link to post
Share on other sites

So that's the problem. go to /usr/local/resiliosync/var/ and see who owns the files. Apparently, the user who you login/ssh into NAS has no write access to the files or is not in admin group
By default it's admin, and Sync package runs as admin. 

Share this post


Link to post
Share on other sites
On 2017/2/8 at 4:07 PM, Helen said:

Was it clean install or update? 
try command 

/usr/local/resiliosync/bin/rslsync --config /usr/local/resiliosync/var/sync.conf
and in a while, a minute or so check if it's still running , ps aux | grep sync. 

if not, send the sync.log from /usr/local/resiliosync/var/, and dmp (if dumped) from /usr/local/resiliosync/bin/ to support. 

Like the post in this topic , every time I try to launch it, I get the following error : "Failed to run the package service". 

Also, Admin account is enabled. and when I tried to SSH to /usr/local/resiliosync/bin/ and launch it manually or use the solution mentioned in that post,  I get the following output : "segmentation fault (core dumped)". 

 

Share this post


Link to post
Share on other sites

@lxxxli,

That error means that you have incorrect binary architecture. What's your NAS architecture ? Check with 'uname -a' while ssh'ed to NAS. 

After that you might want to download the appropriate binary from the site and manually replace it. 

Share this post


Link to post
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.