Hello!
I build Globus TK 4.2.1 on Solaris 10 (SPARC) and till now everything
worked fine. But if I try to submit a WS GRAM job using a job definition
file, the execution fails with the error message: "Invalid stdout
element. File map initialization failed."
Job definition:
<?xml version="1.0" encoding="UTF-8"?>
<job>
<executable>/bin/echo</executable>
<argument>Output</argument>
<stdout>${GLOBUS_USER_HOME}/stdout</stdout>
<stderr>${GLOBUS_USER_HOME}/stderr</stderr>
</job>
Job execution:
aus...@zone2:~ $ globusrun-ws -submit -f echo_job.xml
Submitting job...Done.
Job ID: uuid:4a9df2dc-6444-11df-ac26-010000006cc8
Termination time: 05/20/3010 19:17 GMT
Current job state: Failed
Destroying job...Done.
globusrun-ws: Job failed: Invalid stdout element. File map
initialization failed.
Globus container output:
2010-05-20T21:17:12.237+02:00 INFO
PersistentManagedExecutableJobResource.4aca2640-6444-11df-80ff-8db553e71ea8
[ServiceThread-58,start:761] Job 4aca2640-6444-11df-80ff-8db553e71ea8
with client submission-id 4a9df2dc-6444-11df-ac26-010000006cc8 accepted
for local user 'auser1'
2010-05-20T21:17:13.752+02:00 INFO handler.SubmitStateHandler
[pool-1-thread-5,process:172] Job 4aca2640-6444-11df-80ff-8db553e71ea8
submitted with local job ID '4bd68876-6444-11df-bc23-010000007edd:6912'
2010-05-20T21:17:17.191+02:00 INFO
handler.FinalizeTerminationStateHandler
[pool-1-thread-3,handleFailedState:100] Job
4aca2640-6444-11df-80ff-8db553e71ea8 failed. Fault #1: Description:
Invalid stdout element. File map initialization failed. Cause:
org.globus.exec.generated.ServiceLevelAgreementFaultType: Invalid stdout
element. File map initialization failed. caused by [0:
org.oasis.wsrf.faults.BaseFaultType: File map initialization failed. ]
The files stdout and stderr ARE created and stdout contains "Output".
The following works fine without an error.
aus...@zone2:~ $ globusrun-ws -submit -c /bin/touch /tmp/file
I really do not know what's wrong.
Some information about the environment:
- Using a Solaris Zone for Globus
- perl is installed in /usr/local/ with XML::Parser
- PATH is set to search /usr/local/bin before any other path (global in
/etc/profile)
- sudo is configured
globus ALL=(auser1) NOPASSWD:
/usr/local/globus-4.2.1/libexec/globus-gridmap-and-execute -g
/etc/grid-security/grid-mapfile
/usr/local/globus-4.2.1/libexec/globus-job-manager-script.pl *
globus ALL=(auser1) NOPASSWD:
/usr/local/globus-4.2.1/libexec/globus-gridmap-and-execute -g
/etc/grid-security/grid-mapfile
/usr/local/globus-4.2.1/libexec/globus-gram-local-proxy-tool *
Hope anyone could guide me out of the darkness ... ;)
Joerg Lenhardt