Message boards : Questions and problems : gstate.init() fails error code 192
Message board moderation
Author | Message |
---|---|
Send message Joined: 9 Feb 09 Posts: 18 |
boinc --version: 7.24.1 x86_64-pc-linux-gnu, running on Mageia 9 Starting boincmgr gives an error message that " BOINC Manager is unable to start a BOINC client. Please run the client and try again" So as root: systemctl start boinc-client.service gives the error code 192, which one search suggests client_state.xml is not writable. It isn't: -rw-r--r-- 1 boinc boinc 99884 Sep 21 11:45 client_state.xml However, after making it writable: -rw-rw-rw- 1 boinc boinc 99884 Sep 21 11:43 client_state_prev.xml -rw-rw-rw- 1 boinc boinc 99884 Sep 21 11:45 client_state.xml Sytstemctl start boinc-client.service Sep 21 13:57:24 haydn.gemmill.name systemd[1]: boinc-client.service: Failed with result 'exit-code'. Sep 21 13:57:24 haydn.gemmill.name systemd[1]: boinc-client.service: Main process exited, code=exited, status=64/USAGE Sep 21 13:57:24 haydn.gemmill.name boinc[141301]: Error Code: -192 and client_state.xml is replaced by a read-only version: -rw-rw-rw- 1 boinc boinc 99884 Sep 21 11:45 client_state_prev.xml -rw-r--r-- 1 boinc boinc 99884 Sep 21 13:57 client_state.xml Can't find anything relevant on Google,, so I would like some ideas please. Thank you Graeme |
Send message Joined: 29 Aug 05 Posts: 15571 |
client_state.xml is replaced by a read-only version EXIT_STATEFILE_WRITE 192 - The client will exit if it cannot write to the client_state.xml file. Make sure you have permission to write to the BOINC Data directory. |
Send message Joined: 28 Jun 10 Posts: 2720 |
EXIT_STATEFILE_WRITE 192 - The client will exit if it cannot write to the client_state.xml file. Make sure you have permission to write to the BOINC Data directory. sudo usermod -a -G boinc yourusernamewill add you to the boinc user group. I do this routinely on my linux installations. |
Send message Joined: 9 Feb 09 Posts: 18 |
Was already a member: boinc:x:977:graeme |
Send message Joined: 29 Aug 05 Posts: 15571 |
Have you tried changing the read-only attribute of the client_state.xml file? |
Send message Joined: 28 Jun 10 Posts: 2720 |
Message 112725 describes the problem remains after doing so. I don't know the distro in question and I haven't used Mandriva which it is a fork from for about fifteen years. I am wondering if it is a distribution specific problem. I found Mandriva messed around with things too often for me though I can't remember exactly what now. I used it's predecessor, Mandrake for about four years. |
Send message Joined: 9 Feb 09 Posts: 18 |
Yes, see the original post; the new version is made read-olny. |
Send message Joined: 17 Nov 16 Posts: 891 |
Post your boinc-client.service file contents at /etc/systemd/system/boinc-client.service.d/ Likely the service file is setting up the wrong read-write permissions. Do you have this in the file? It helps with the newer distros and clients. PrivateTmp=true ProtectSystem=strict ProtectControlGroups=true |
Send message Joined: 28 Jun 10 Posts: 2720 |
Post your boinc-client.service file contents at /etc/systemd/system/boinc-client.service.d/If it exists. It doesn't on my set up but that may be due to my having compiled from source and not installed via the package manager? |
Send message Joined: 9 Feb 09 Posts: 18 |
Actually at /usr/lib/systemd/system/ [Unit] Description=Berkeley Open Infrastructure Network Computing Client After=network.target [Service] Nice=10 User=boinc Environment="DISPLAY=:0" ExecStart=/usr/bin/boinc --dir /var/lib/boinc ExecReload=/usr/bin/boinccmd --read_cc_config ExecStopPost=/bin/rm -f /var/lib/boinc/lockfile [Install] WantedBy=multi-user.target No boinc-related service files in /etc/systemd |
Send message Joined: 28 Jun 10 Posts: 2720 |
usr/lib/systemd/system/system Has the following [Service] So different location depending on distribution I guess. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.