Pentaho

 View Only
Expand all | Collapse all

Error while executing shell script - cannot create temporary file

This thread has been viewed 10 times
  • 1.  Error while executing shell script - cannot create temporary file

    Posted 11 days ago

    Hi,

    I am trying to execute simple shell file, which has #!/bin/bash
    echo "Hello World", but I am getting error - 

    ERROR (version 9.4.0.0-343, build 0.0 from 2022-11-08 07.50.27 by buildguy) : Unexpected error running shell [/frameworkdir/pentaho/testshell.sh] : java.lang.Exception: Unable to create temporary file to execute



    ------------------------------
    Others
    esspl
    ------------------------------


  • 2.  RE: Error while executing shell script - cannot create temporary file

    Posted 11 days ago

    Hi,

    generally job entry shell creates temporally file in temp directory (defined by sys. property java.io.tmpdir, as default on linux is /tmp). So you don't have write access to this directory.

    And pls provide full stack trace of error.



    ------------------------------
    Petr Prochazka
    Systems Engineer
    P.V.A. systems s.r.o.
    ------------------------------