[torqueusers] usecp doubt

Glen Beane glen.beane at gmail.com
Mon Dec 10 07:38:42 MST 2007


On Dec 10, 2007 9:39 AM, Arnau Bria <arnaubria at pic.es> wrote:
> Hi,
>
> We have set usecp in /var/spool/pbs/mom_priv/config like:
>
> $usecp *.pic.es:/nfs /nfs
>
> but seems torque is not doing so, cause I get some "unable to copy"
> error messages (related to anohter issue) that shows that it's trying to
> use scp instead of cp:
>
> [root at td248 undelivered]#  grep -i unable /var/log/messages*|grep 3416129
> /var/log/messages.1:Dec  6 23:45:18 td248 pbs_mom: req_cpyfile, Unable to copy file /var/spool/pbs/spool/3416129.pbs.OU to rfirpo at hostname:/nfs/magic-buffer02/rfirpo/data/CrabNebula/seqdata/00218548/logs
> /var/log/messages.1:Dec  6 23:45:22 td248 pbs_mom: req_cpyfile, Unable to copy file /var/spool/pbs/spool/3416129.pbs.ER to rfirpo at hostname:/nfs/magic-buffer02/rfirpo/data/CrabNebula/seqdata/00218548/logs
>
>
> Notice that it must copy .ER & .OU to /nfs/blah/blah.
>
> Is there any known bug about usecp? Am I misunderstanding its syntax?


I haven't looked at this code for a long time,  but I don't think that
it will understand wildcards

put the host exactly as it appears in the error message in the mom log


More information about the torqueusers mailing list