Search the Community
Showing results for tags 'pid'.
The search index is currently processing. Current results may not be complete.
Hi, when I start rslsync I get the error: Can't lock pid file. It seems Resilio Sync is already running with pid NNNNN I suppose that rslsync either crashed or was killed and the pid file was not deleted. Now it is blocking any new instance of rslsync. Where is the pid file that I can delete it manually? Thanks!
hi I'm trying to change the user resilio-sync runs under from rslsync to osmc. I've followed the instructions here https://help.getsync.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux., and I can successfully change the user, however once changed I can no longer access the http GUI - page doesn't load.... Before rslsync user change After I edit file /usr/lib/systemd/user/resilio-sync.service and change "WantedBy=multi-user.target" to "WantedBy=default.target". Save. Then enable the service: systemctl --user enable resilio-sync Reboot, and sudo service resilio-sync status indicates sync running well as osmc user- But no GUI ......coincided with change of user. Do I need to make something executable to allow another part of sync to run, such as the tiny webserver which serves the GUI? If I look at service status mostly looks OK, except for 'failed to read PID from file'. Perhaps I need to make osmc user 777 on sync.pid? any suggestions, cheers, Geoff.
Just a heads up for any one using the aur package on arch linux. It seems like the resilio sync from aur has the wrong pid_file option in the default config in /etc/. This line "pid_file" : "/var/run/btsync/btsync.pid" should be "pid_file" : "/var/run/rslsync/rslsync.pid". The error disabled the startup service. systemctl status rslsync.service returned ● rslsync.service - Resilio Sync service Loaded: loaded (/usr/lib/systemd/system/rslsync.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2016-11-11 14:25:25 CET; 19min ago Main PID: 10007 (code=exited, status=1/FAILURE) Nov 11 14:25:22 PC-NAME systemd: Started Resilio Sync service. Nov 11 14:25:22 PC-NAME rslsync: [14:25:22.163] Debug log mask has been set to FFFFFFFF Nov 11 14:25:22 PC-NAME rslsync: [14:25:22.163] Features mask has been set to 0 Nov 11 14:25:22 PC-NAME rslsync: [20161111 14:25:22.166] ZIP: Can't locate [version] in zip, error -100. Nov 11 14:25:22 PC-NAME rslsync: [20161111 14:25:22.167] I! Configuration from file "/etc/rslsync.conf" has been ap Nov 11 14:25:25 PC-NAME systemd: rslsync.service: Main process exited, code=exited, status=1/FAILURE Nov 11 14:25:25 PC-NAME systemd: rslsync.service: Unit entered failed state. Nov 11 14:25:25 PC-NAME systemd: rslsync.service: Failed with result 'exit-code'.