Announcement

Collapse
No announcement yet.

BOINC - cannot change working dir

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [System] BOINC - cannot change working dir

    Hi,
    I'm trying to change boinc working dir from /var/lib/boinc-client to /home/boinc...
    Following more and old suggestions, I
    1. created target dir and assigned owner boinc (mkdir, chown)
    2. stopped the service (/etc/init.d/boinc-client stop)
    3. copied the original dir to target (cp -a ...)
    4. renamed original dir to ".ori" (mv)
    5. created sym-link to target
    6. started service (/etc/init.d/boinc-client start)

    but now I get (/etc/init.d/boinc-client status)
    Code:
    [INDENT][FONT=lucida console]● boinc-client.service - Berkeley Open Infrastructure Network Computing Client
     Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2018-11-24 11:06:49 CET; 36min ago
       Docs: man:boinc(1)
    Process: 1073 ExecStopPost=/bin/rm -f lockfile (code=exited, status=200/CHDIR)
    Process: 1065 ExecStart=/usr/bin/boinc (code=exited, status=200/CHDIR)
    Main PID: 1065 (code=exited, status=200/CHDIR)
    
    nov 24 11:06:49 gianni-fisso systemd[1]: Started Berkeley Open Infrastructure Network Computing Client.
    nov 24 11:06:49 gianni-fisso systemd[1065]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
    nov 24 11:06:49 gianni-fisso systemd[1065]: boinc-client.service: Failed at step CHDIR spawning /usr/bin/boinc: No such file or directory
    nov 24 11:06:49 gianni-fisso systemd[1]: boinc-client.service: Main process exited, code=exited, status=200/CHDIR
    nov 24 11:06:49 gianni-fisso systemd[1073]: boinc-client.service: Changing to the requested working directory failed: No such file or directory
    nov 24 11:06:49 gianni-fisso systemd[1073]: boinc-client.service: Failed at step CHDIR spawning /bin/rm: No such file or directory
    nov 24 11:06:49 gianni-fisso systemd[1]: boinc-client.service: Control process exited, code=exited status=200
    nov 24 11:06:49 gianni-fisso systemd[1]: boinc-client.service: Failed with result 'exit-code'.[/FONT]
    [/INDENT]
    Some information

    Code:
    [LIST][*]uname -a [/LIST][INDENT]Linux gianni-fisso 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    [/INDENT]
    [LIST][*]lsb_release -a [/LIST][INDENT]No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.1 LTS
    Release:        18.04
    Codename:       bionic
    [/INDENT]
    [LIST][*]boinc -version [/LIST][INDENT]7.9.3 x86_64-pc-linux-gnu
    [/INDENT]
Working...
X