Permission issue?

Questions and Answers : Unix/Linux : Permission issue?
Message board moderation

To post messages, you must log in.

AuthorMessage
vl.adam

Send message
Joined: 4 Sep 20
Posts: 3
Credit: 540,400
RAC: 0
Message 1060 - Posted: 12 Sep 2020, 18:27:48 UTC

Hello,
Sorry not to be able to crunch for this project, all my tasks fails with the following output:

<core_client_version>7.9.3</core_client_version>
<![CDATA[
<stderr_txt>
22:48:03 (9759): wrapper (7.5.26014): starting
22:48:03 (9759): wrapper: running worker.sh ()
Jobs starts with 1 cores
NWChem/bin/gen_nwchemrc: ligne 7: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 8: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 9: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 10: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 11: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 12: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 13: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 14: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 15: /.nwchemrc: Permission non accord&#195;&#169;e
NWChem/bin/gen_nwchemrc: ligne 16: /.nwchemrc: Permission non accord&#195;&#169;e
STEP OPT : Starting
Create output archive
OPT.out
Normal termination.
22:48:05 (9759): worker.sh exited; CPU time 0.987319
22:48:05 (9759): called boinc_finish(0)

</stderr_txt>
]]>

Any idea of what is wrong with my setup (Lubuntu 18.04 64 bits)? No problem with other BOINC projects, just this one. So for the moment, I have stopped requesting new jobs, I have already sent too many errors.
Many thanks!
ID: 1060 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
damotbe
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Help desk expert

Send message
Joined: 23 Jul 19
Posts: 289
Credit: 464,119,561
RAC: 0
Message 1062 - Posted: 17 Sep 2020, 8:30:24 UTC - in response to Message 1060.  

Hello.

It is unusual... but error message is curious " /.nwchemrc: Permission non accordée"
the script should not write on / but in your home or in Boinc's working directory
for me it is in
benoit@damotaf:~$ find / -iname ".nwchemrc" 2>/dev/null
/home/benoit/boinc/0/shared/NWChem/.nwchemrc
ID: 1062 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vl.adam

Send message
Joined: 4 Sep 20
Posts: 3
Credit: 540,400
RAC: 0
Message 1065 - Posted: 19 Sep 2020, 11:55:19 UTC - in response to Message 1062.  

Hello,
Thank you for your time and your clue. I've checked the gen_nwchemrc script, it writes the file in the right directory (/var/lib/boinc-client/projects/quchempedia.univ-angers.fr_athome/NWChem) when I launch it from the command line with my account, I don't understand why it's not the same with BOINC.
I use the standard ubuntu install of BOINC client, the working directory is not in my home but in /var/lib/boinc-client. Ubuntu created and BOINC uses a "boinc" user for security purposes, who has r/w access on this directory.
If there are other people who crunch successfully with an ubuntu install, don't spend time on my particular case, but if you want to investigate further, I'm very open to any suggestion.
ID: 1065 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
damotbe
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Help desk expert

Send message
Joined: 23 Jul 19
Posts: 289
Credit: 464,119,561
RAC: 0
Message 1068 - Posted: 22 Sep 2020, 6:31:15 UTC - in response to Message 1065.  

I crunch with ubuntu (with the boinc user in the /var/lib/boinc-client/projects/quchempedia.univ-angers.fr_athome directory) and no problem... I have no idea how to solve this issue, sorry.
ID: 1068 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
PecosRiverM
Avatar

Send message
Joined: 6 Jul 20
Posts: 2
Credit: 10,384,400
RAC: 0
Message 1072 - Posted: 23 Sep 2020, 23:19:38 UTC - in response to Message 1068.  

I don't know enough about Linux but,

"my setup (Lubuntu 18.04 64 bits)?" and "standard ubuntu install of BOINC client"

I understand these are almost the same but, could this be part of the problem?
ID: 1072 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vl.adam

Send message
Joined: 4 Sep 20
Posts: 3
Credit: 540,400
RAC: 0
Message 1134 - Posted: 8 Oct 2020, 21:24:06 UTC

Hello,
Finally understood. My /var/lib/boinc-client is a symlink to another folder on another disk. Both the symlink and the folder have the right permissions BUT the parent directory up to the mount point haven't. I didn't know it could have any kind of importance but it does: I'm crunching QuChemPedIA tasks right now. The clue comes from here. At least, I've learnt something today! I hope it may help other people, even if I don't understand why it was an issue only for this project, since the other ones are running fine.
Happy crunching to all!
ID: 1134 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
damotbe
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Help desk expert

Send message
Joined: 23 Jul 19
Posts: 289
Credit: 464,119,561
RAC: 0
Message 1135 - Posted: 9 Oct 2020, 6:09:32 UTC - in response to Message 1134.  

Good news ! Maybe the difference between other project comes from the usage of shared resources or I/O.
ID: 1135 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Permission issue?

©2024 Benoit DA MOTA - LERIA, University of Angers, France