Questions and Answers :
Unix/Linux :
Permission issue?
Message board moderation
Author | Message |
---|---|
Send message Joined: 4 Sep 20 Posts: 3 Credit: 540,400 RAC: 0 |
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ée NWChem/bin/gen_nwchemrc: ligne 8: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 9: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 10: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 11: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 12: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 13: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 14: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 15: /.nwchemrc: Permission non accordée NWChem/bin/gen_nwchemrc: ligne 16: /.nwchemrc: Permission non accordé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! |
Send message Joined: 23 Jul 19 Posts: 289 Credit: 464,119,561 RAC: 0 |
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 |
Send message Joined: 4 Sep 20 Posts: 3 Credit: 540,400 RAC: 0 |
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. |
Send message Joined: 23 Jul 19 Posts: 289 Credit: 464,119,561 RAC: 0 |
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. |
Send message Joined: 6 Jul 20 Posts: 2 Credit: 10,384,400 RAC: 0 |
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? |
Send message Joined: 4 Sep 20 Posts: 3 Credit: 540,400 RAC: 0 |
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! |
Send message Joined: 23 Jul 19 Posts: 289 Credit: 464,119,561 RAC: 0 |
Good news ! Maybe the difference between other project comes from the usage of shared resources or I/O. |
©2024 Benoit DA MOTA - LERIA, University of Angers, France