On Thu, Dec 15, 2005 at 11:27:20AM +0100 or thereabouts, Patrick Guio wrote:
> On Wed, 14 Dec 2005, Maarten Litmaath wrote:
>
>
> Hi Maarten,
>
> >>>>>Do you automount the same directories on CE and WN? If so, try using
> >>>>>the
> >>>>
> >>>>Yes,
> >>>>
> >>>>>"noac" option for /home. As a test you could mount different
> >>>>>directories
> >>>>>for dteam001 and see if that helps.
> >>>>
> >>>>
> >>>>Where and how should I set the "noac" option?
> >>>
> >>>In the /etc/auto.* file (or YP/NIS map) that describes how to mount
> >>>/home.
> >>>For example, it could be in /etc/auto.direct somewhat like this:
> >>>
> >>>/home -rw,intr,hard,noac grid.local:/export/home
>
>
> I tried but It didn't help, same problem.
>
> But as Leif Nixon repeated the $usecp does not work properly. I rearranged
> the internal and external $clienthost and $restricted and no I can see
> in the mom log that it is trying (without success though) to run /bin/cp
> instead of /usr/bin/scp.
Which build of pbs are you using? I forget if it was you I was
talking to about using the ROCKs supplied version?
Anyway does the build have a --enable-scp to stop it using the default
cp.
>
> pbs_mom;Fil;sys_copy;command: /bin/cp -r
> /home/dteam001/.lcgjm/globus-cache-export.uT8UV7/globus-cache-export.uT8UV7.gpg
> globus-cache-export.uT8UV7.gpg status=1 (copy request failed), try=1
>
> with try=1..4
>
> pbs_mom;Fil;globus-cache-export.uT8UV7.gpg;Unable to copy file
> globus-cache-export.uT8UV7.gpg from grid.bccs.uib.no
> pbs_mom;Fil;globus-cache-export.uT8UV7.gpg;/bin/cp: cannot create symbolic
> link `globus-cache-export.uT8UV7.gpg': Permission denied
> pbs_mom;Req;del_files;cannot stat globus-cache-export.uT8UV7.gpg
>
>
> It takes over 4 seconds for the 4 attempts (timelog) and using tail -f
> mom log in one window and being logged as user dteam001 on WNhost, I can
> check that the file indeed there when the command is run, I can in
> addition do the copy command manually successfully,
> When copied to globus-cache-export.uT8UV7.gpg I can ls the file.
> I don't undertsand either the "cannot stat
> globus-cache-export.uT8UV7.gpg".
> All the destination files are relative path and I start to wonder what is
> the path of the destination.
>
> Note that I have been doing this "realtime" debugging on 3 terms with scp
> and the behaviour is identical.
>
> Would there be a way to simulate just the copy operation from mom as a
> standalone operation ?
>
> >That is why I suggested giving the grid accounts different home directories
> >on CE and WN. Patrick, if you share home directories anyway, you do not
> >really need the lcgpbs job manager: the standard pbs job manager will work.
>
> I would definitely like to understand what is going wrong. This is quite
> frustrating to give up.
> Anyway how do proceed to set up such a standard pbs job manager with yaim?
>
> Cheers,
>
> Patrick
--
Steve Traylen
[log in to unmask]
http://www.gridpp.ac.uk/
|