Hi,
I've successfully debuged and installed krb4-devel, PSR and
OpenPBS-2.3.16 on my server (redhat 7.3).
After installation, I made pub key and sec key using "mkpsrauthrkeys"
and generated my epass key using "pbspwstore" into $HOME/.psr_authr/
directory. But I cannot get my token when I submited interactive jobs.
There are some questions puzzles me:
1.How to ensure that evething is working, to submit an interactive job
and then run "tokens"?
2.Is it nesscary submit interactive jobs? Why?
As an average user, after I login, I got a token simultaneously. But
when I run "qsub -I jobname",
it reports :
[hpcsvr02] /afs/ihep.ac.cn/users/p/pemxz > qsub -I jobi
qsub: waiting for job 12.hpcsvr02.ihep.ac.cn to start
qsub: job 12.hpcsvr02.ihep.ac.cn ready
-bash: [: -: integer expression expected
-bash: [: -ge: unary operator expected
then I run "tokens", returns nothing:
[hpcsvr02] /afs/ihep.ac.cn/users/p/pemxz > tokens
Tokens held by the Cache Manager:
--End of list--
3. I tried to submit an non-interactive job. But the status of the job
finally shows "E". Then I found the error reports
by "qstat -f":
....
sched_hint = Post job file processing error; job
15.hpcsvr02.ihep.ac.cn on host hpcsvr02.ihep.ac.cn/0
Unable to copy file 15.hpcsvr02.OU to
hpcsvr02.ihep.ac.cn:/afs/ihep.ac.cn/users/p/pemxz/jobs.o15
>>> error from copy
/bin/cp: cannot create regular file
`/afs/ihep.ac.cn/users/p/pemxz/jobs.o15': Permission denied
>>> end error output
Output retained on that
host in: /var/spool/pbs/undelivered/15.hpcsvr02.OU
Unable to copy file 15.hpcsvr02.ER to
hpcsvr02.ihep.ac.cn:/afs/ihep.ac.cn/users/p/pemxz/jobs.e15
>>> error from copy
/bin/cp: cannot create regular file
`/afs/ihep.ac.cn/users/p/pemxz/jobs.e15': Permission denied
>>> end error output
Output retained on that host in: /var/spool/pbs/undelivered/15.hpcsvr02.ER
comment = Job started on Fri Nov 18 at 20:57
I tried to start PBS/Torque as root AFTER got the root's token, the
problem pass away. But, should I always refresh geting root's token ?
It sounds like an irony.
We are in a little bit urgent need of that. Could you help with it?
Cheers,
Erming.
|