0

I am running a bash script on a Scientific Linux server. The script has a loop for copying files and running some programs. The process for running the script probably takes a day or two. But I always can't finish running the script, because of the following error:

cp: cannot open `somefile' for reading: Permission denied

I suspect that the cause is due to Kerberos and/or Andrew file system on the server.

How can I make my long-running script run well to finish? Thanks.

  • Contact your cluster administrator. Again. – Michael Hampton Jan 11 '16 at 0:01
  • I can't. So I ask here. – Tim Jan 11 '16 at 0:07
  • will i have more luck on unix.se? – Tim Jan 11 '16 at 0:52
  • If you insist on not talking to the right people, then that would certainly be better than here. – Michael Hampton Jan 11 '16 at 1:01
  • Server Fault is not intended for end-user support. – Michael Hampton Jan 11 '16 at 1:08
1

You should use kstart (which is packaged in EPEL for Scientific Linux) to run your process. It will keep refreshing your Kerberos ticket, as well as run aklog if you use -t.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.