On Monday 23 July 2007 14:19, Francois Hornoy wrote:
> On 7/23/07, alexander.beck-ratzka <[EMAIL PROTECTED]> wrote:
> > On Monday 23 July 2007 11:18, Francois Hornoy wrote:
> > >  Hi Alexander,
> > >
> > >  I tried a simple example based on yours. It just stageIn a file,
> > > "/bin/cat" it (that's the job), and i stageOut the .out and .err files.
> > >
> > >  I keep having this error (see end of mail).
> > >
> > >  If i watch globusrun-ws -status -j job.id nad if i watch the
> > > "Execution Host", i can see that the StageIn step is good, the file
> > > 523.sh is well transferred. But then, it crashes.
> > >
> > >  Of course, if i do exactly the same thing without "-Ft SGE", it works
> > > perfectly.
> > >
> > >   Cheers,
> > >   Francois.
> > >
> > > 2007-07-23 11:10:53,427 INFO
> > > exec.StateMachine[RunQueueThread_5,logJobAccepted:3193] Job
> > > 9cd21054-38fc-11dc-b055-0017f23158ca accepted for local user 'globus'
> > > 2007-07-23 11:10:58,370 ERROR
> > > service.TransferWork[WorkThread-39,run:724] Terminal transfer error:
> > > Error deleting a file
> > >  "/opt/globus/523.out" [Caused by: Server refused performing the
> >
> > request.
> >
> > > Custom message: Server refused deleting file (error code 1) [Nested
> > > exception message:  Custom message: Unexpected reply: 500-Command fai
> >
> > led :
> > > System error in unlink: No such file or directory
> > > 500-A system call failed: No such file or directory
> > > 500 End.]]
> > > Error deleting a file
> > >  "/opt/globus/523.out"
> > > . Caused by
> > > org.globus.ftp.exception.ServerException: Server refused performing the
> > > request. Custom message: Server refused deleting file (error code 1)
> > > [Nested exception message:  Custom message: Unexpected reply: 500-Comm
> >
> > and
> >
> > > failed : System error in unlink: No such file or directory
> > > 500-A system call failed: No such file or directory
> > > 500 End.].  Nested exception is
> > > org.globus.ftp.exception.UnexpectedReplyCodeException:  Custom message:
> > > Unexpected reply: 500-Command failed : System error in unlink: No such
> >
> > file
> >
> > > or directory
> > > 500-A system call failed: No such file or directory
> > > 500 End.
> > >         at org.globus.ftp.vanilla.FTPControlChannel.execute(
> > > FTPControlChannel.java:328)
> > >         at org.globus.ftp.FTPClient.deleteFile(FTPClient.java:253)
> > >         at org.globus.transfer.reliable.service.DeleteClient.delete(
> > > DeleteClient.java:189)
> > >         at org.globus.transfer.reliable.service.TransferWork.run(
> > > TransferWork.java:688)
> > >         at org.globus.wsrf.impl.work.WorkManagerImpl$WorkWrapper.run(
> > > WorkManagerImpl.java:355)
> > >         at java.lang.Thread.run(Thread.java:595)
> > > 2007-07-23 11:10:58,628 ERROR
> > > service.TransferWork[WorkThread-40,run:724] Terminal transfer error:
> > > Error deleting a file
> > >  "/opt/globus/523.err" [Caused by: Server refused performing the
> >
> > request.
> >
> > > Custom message: Server refused deleting file (error code 1) [Nested
> > > exception message:  Custom message: Unexpected reply: 500-Command fai
> >
> > led :
> > > System error in unlink: No such file or directory
> > > 500-A system call failed: No such file or directory
> > > 500 End.]]
> > > Error deleting a file
> > >  "/opt/globus/523.err"
> >
> > It seems that you haven't a $GLOBUS_USER_HOME, this would explain some
> > problems. In the rsl file you have:
> >
> > ${GLOBUS_USER_HOME}/523.err 73 as stderr, and I don't believe that
> > $GLOBUS_USER_HOME is /opt/globus for a simple grid user... Do you see any
> > of
> > the poststage datasets, if you poststage them?
>
>  Actually, i'm mapped to the remote globus user so that points to
> /opt/globus/ . And as i said, 523.sh appears in /opt/globus some staging
> seems to work...
>
>  What do you mean by poststage datasets?
>

At the end of my rsl dataset I've a passage as:

#############################cut here######################
        <fileStageOut>
                <!-- stage out stdout -->
                <transfer>
                        
<sourceUrl>file:///${GLOBUS_USER_HOME}/523.out</sourceUrl>
                        
<destinationUrl>gsiftp://globus.submit.host/store/GEO600/tasks/523.out</destinationUrl>
                </transfer>
                <!-- stage out stderr -->
                <transfer>
                        
<sourceUrl>file:///${GLOBUS_USER_HOME}/523.err</sourceUrl>
                        
<destinationUrl>gsiftp://globus.submit.host/store/GEO600/tasks/523.err</destinationUrl>
                </transfer>
                <!-- stage out log -->
                <transfer>
                        
<sourceUrl>file:///${GLOBUS_USER_HOME}/GEO600/tasks/523.log</sourceUrl>
                        
<destinationUrl>gsiftp://globus.submit.host/store/GEO600/tasks/523.log</destinationUrl>
                </transfer>
                <!-- stage out task results -->
                <transfer>
                        
<sourceUrl>file:///${GLOBUS_USER_HOME}/GEO600/tasks/523.tar</sourceUrl>
                        
<destinationUrl>gsiftp://globus.submit.host/store/GEO600/tasks/523.tar</destinationUrl>
                </transfer>
        </fileStageOut>
#############################cut here######################

Here the postaging or filestageout is performed. The other section (cleanup) 
describes, which datasets should be deleted.

Okay, if you entering to SGE, you are getting another environment. Your output 
files will be probabaly located on worker node. I believe that SGE can't 
connect to /opt/globus. So the ouptut files won't be written! Contact your 
system administrator, ask him, which filesystem directories can be accessed 
by SGE jobs...

>  Is there any logfile or something else i can do to have some verbose
> debugging informations? Where is the "submit script" that fails?
>
>

Option "-debug" at the globusrun-ws call

Cheers

Alexander

Reply via email to