On Tue, 13 Dec 2005, Leif Nixon wrote:
Hi Leif,
> Patrick Guio <[log in to unmask]> writes:
>
>> I just want to add a question which has not been answered yet.
>> In the mom log at /var/spool/pbs/mom_logs/<date> on the WN
>> I can see that the scp fails, for example:
>> pbs_mom;Fil;sys_copy;command: /usr/bin/scp -Br
>> [log in to unmask]:/home/dteam001/.lcgjm/globus-cache-export.M6NIm3/globus-cache-export.M6NIm3.gpg
>> globus-cache-export.M6NIm3.gpg status=1 (copy request failed), try=1
>>
>> Is this command run by root@WNhost or?
>
> No, stage-in and stage-out are run as the user.
Ok and it the scp is run on the WN?
> But note that this only says "copy request failed". This isn't
> *necessarily* a "permission denied" kind of error; it might mean that
> the source file is missing.
I have done some tests, logged on the CEhost as user dteam001 and checked that
indeed there is always a source file
~dteam001/.lcgjm/globus-cache-export.xxxxxx/globus-cache-export.xxxxxx.gpg
I cannot see (with last) that user dteam001 is logged on WNhost when doing this
operation. The dest file does not have an absloute path, where is it supposed
to be put ~dteam001, /var/spool/pbs/somewhere?
There might be a problem with directory access. On the WN, /home uses
automount:
# service autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=60 /home file /etc/auto.home
and in /etc/auto.home there are entries like
dteamsgm grid.local:/export/home/dteamsgm
dteam001 grid.local:/export/home/dteam001
The same on the CEhost
In addition in /etc/exportfs /export is exported
/export 10.0.0.0/255.0.0.0(rw)
In /var/spool/pbs/mom_priv/config there is currently
$usecp *:/home /home
Should there be /export instead?
> What does the log on the CE say at this point? The sshd logs should
> tell you if the authentication failed or not.
In /var/log/message and at the corresponding time of the scp failure there is
sshd[6181]: Accepted hostbased for dteam001 from 10.255.255.254 port 44841 ssh2
sshd(pam_unix)[6183]: session opened for user dteam001 by (uid=18118)
sshd(pam_unix)[6183]: session closed for user dteam001
Cheers,
Patrick
|